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
derekgould
Frequent Visitor

Invalid credentials in dataset

We have several reports that are embedded in a React application. The data is coming from SQL Server via a custom API. The API requires credentials, which are saved with each data source. Credentials are Basic, and username and password are provided.

Periodically, the dataset will stop refreshing. On further inspection, we find one or more of the data sources will show an error on refresh, and indicate that the credentials are invalid. When we look at it, the credentials are now showing Anonymous, and no username/password. There doesn't seem to be any consistency as to why or when this occurs, which makes it all the more frustrating.

 

Any idea as to why this is happening, or -- better yet -- how to prevent it?

 

TIA

1 REPLY 1
collinq
Super User
Super User

HI @derekgould ,

 

Often, the credentials resetting is based on a token expiring and/or the password changing.  Since you are using a custom API that might have something to do with it too.  In looking at other incidents similar to this the answer always seems to be "create a ticket" so if you don't think it is an expiring token, then please create a ticket with Microsoft.  AND, please update us here with the result to help us all for next time.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




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.

May 2025 Monthly Update

Fabric Community Update - May 2025

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