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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
fbarao
Regular Visitor

Editing Credentials - Invalid Token

Hello,
I've been working with data extracted from Dynamics 365 Online for a while now using a corporate account and, out of the blue, it started to take a very long time to establish a connection with the databanks and then I am getting the following message for all my different databanks (all from different companies):

 

"The service has returned an invalid token.  Get in touch with your admin if the issue persists"

 

I have been in contact with all the companies and nothing was changed, when I change computers it works perfectly fine and my colleages also keep working without a hitch with those credentials.

I trying everything, form cleaning the cache to uinstalling PBI Desktop to no avail and it just prevents me from doing my work.

Is there anything I can do since I really don't want to have to format my computer.
Thank you all in advance

3 REPLIES 3
fbarao
Regular Visitor

Hello @amitchandak, thanks for the prompt reply!
Done that and still got the same situation 😥

 

amitchandak
Super User
Super User

@fbarao , In power bi desktop, Under home Tab-> Transform Data -> Data source credential -> Clear permission and try again with credential

 

On power BI service, Click on three dots of the dataset, and click on settings. and then edit data source credentials

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I seem to be having the same issue.  Tried your suggestion and it didn't work. 

 

I suspect its something deeper than the application.  Anything done online through the browser is fine, its something after logging in.  The spinny wheel hangs for a couple of minutes before the "Invalid Token" appears.

 

Restarting the laptop works for a hour or two before it reoccures.  Any solutions would be very helpful.

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.