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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.