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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors