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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Regular 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?



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

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors