Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
djm7
Helper I
Helper I

change account in settings > Data Source Credentials

I am trying to change the account for a semantic file to a service account from my account.

 

I get the following error.

 

Failed to update data source credentials: AnalysisServices: The specified Power BI workspace is not found. 

 

You need to use SSL (HTTPS) when you use OAuth 2.0 authentication.

 

Some of my semantic files can be changed and others can't

1 ACCEPTED SOLUTION
v-saisrao-msft
Community Support
Community Support

Hi @djm7,
Thank you for reaching out to the Microsoft Fabric Forum Community.

Thank you @Deku, for your insights.

The issue you're encountering is likely due to hosting semantic models in My Workspace, which is a personal workspace tied to your individual account. This setup is not suitable for service accounts, as they cannot reliably access or manage resources within another user's personal workspace—hence the "workspace not found" error when attempting to update credentials.  

Additionally, the error referencing OAuth 2.0 and SSL indicates that the Analysis Services connection is using an insecure (HTTP) endpoint, which is not supported with OAuth authentication. I recommend moving the semantic models to a shared Power BI workspace where you can assign the service account a Contributor or Admin role.  

Also, ensure that the Analysis Services connection string uses HTTPS, and verify that the data gateway is properly configured if you're connecting to on-premises sources. This approach will allow the service account to manage credentials as expected and aligns with Power BI best practices for enterprise deployments.

 

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you. 

View solution in original post

8 REPLIES 8
v-saisrao-msft
Community Support
Community Support

Hi @djm7,

 

We haven’t heard back from you regarding your issue. If it has been resolved, please mark the helpful response as the solution and give a ‘Kudos’ to assist others. If you still need support, let us know.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @djm7,
Thank you for reaching out to the Microsoft Fabric Forum Community.

Thank you @Deku, for your insights.

The issue you're encountering is likely due to hosting semantic models in My Workspace, which is a personal workspace tied to your individual account. This setup is not suitable for service accounts, as they cannot reliably access or manage resources within another user's personal workspace—hence the "workspace not found" error when attempting to update credentials.  

Additionally, the error referencing OAuth 2.0 and SSL indicates that the Analysis Services connection is using an insecure (HTTP) endpoint, which is not supported with OAuth authentication. I recommend moving the semantic models to a shared Power BI workspace where you can assign the service account a Contributor or Admin role.  

Also, ensure that the Analysis Services connection string uses HTTPS, and verify that the data gateway is properly configured if you're connecting to on-premises sources. This approach will allow the service account to manage credentials as expected and aligns with Power BI best practices for enterprise deployments.

 

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you. 

djm7
Helper I
Helper I

the service account is an admin on the production folder where the primary report is located

Hi @djm7,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

Hi @djm7,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

djm7
Helper I
Helper I

all of my test semantic models are in My Workspace.  Some of the semantic model can be changed to the service account and others can't.

Deku
Community Champion
Community Champion

From the error it like you may be using the analysis services connector? Are those other models in a different workspace? Does the account have access to these?


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Deku
Community Champion
Community Champion

The service principal or account would need to be at least contributor in the workspace 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.