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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
cn4422
Helper V
Helper V

Refresh token has expired - various data sources

Hi,

 

in Power BI Desk my report works fine, but once I upload it and go into the online mode the following error message appears:

 

The refresh token has apparently expired. Go to the settings page of this dataset and re-enter the {CredentialType} login information for the {DatasourceType} data source.

 

I'm using several data sources in my report:

1. Direct Query via Dataverse Microsoft Dynamics 365 (CRM)
2. Windsor.ai (for data from Google, Meta, etc.)

3. Static Excel files for additional data

 

Login Information and everything works fine.

 

2025-02-06 15_57_00-Power BI.png

 

 

In the report, visuals using Dynamics 365 data won't work - the others work fine.

 

When I'm using the sources separately, e.g. only the Dynamics 365 or only Windsor.ai the reports work fine online.

So maybe it has something to do when combining those sources?

 

Any ideas on that?

 

Thanks for your help!

 

 

1 ACCEPTED SOLUTION
cn4422
Helper V
Helper V

I think the problem is that I apparently have two sources with direct queries in my report and therefore I need a gateway for it to work properly.

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-use-directquery

View solution in original post

3 REPLIES 3
cn4422
Helper V
Helper V

I think the problem is that I apparently have two sources with direct queries in my report and therefore I need a gateway for it to work properly.

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-use-directquery

Anonymous
Not applicable

Hi @cn4422 ,

As the error message indicates, I recommend that you go to the data setting and update(re-enter) your data credentials.

After you re-provide the dataset's credentials, if the issue still doesn't resolve, check whether the IP address of the machine has been added to the AS firewall and if there have been any recent changes to the data source that have caused changes in access to the data source.

Best Regards,

Lucy Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Anonymous thanks for your reply and your thoughts!

 

I have already re-entered the data credentials several times and I don't think that it's an IP address issue either - explanation follows below.

 

I have also created a report from fresh just for testing purposes.

The thing is, when I upload the report with Dynamics 365 data only, it works just fine, no problems.

But as soon as I add windsor.ai as a connector, the error message pops up.

Windsor.ai data alone also works fine...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.