This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello folks,
I am trying to execute a Power BI report which keeps on throwing the error:
When I go to dataset settings page I can see the warning icon below (Cherwell is one of the Rest API name that this report is using as a data source):

When I click on 'Edit Credentials' and 'Sign in'
Error goes away and the report works absolutely fine.
So the problem is with the Rest API I have to verify the credentials again and again in sometime otherwise the report keeps on throwing error above.
Could someone pls advise how to resolve this issue permanently?
Thanks
Solved! Go to Solution.
You create a custom connector for that.
Handling authentication for Power Query connectors - Power Query | Microsoft Learn
Thanks will try that.
You can't. Token expiration is part of the security setup.
Thanks for replying so what should I do in this scenario to make sure refresh token never expires?
Is there any such setting in power bi specifically that I can try pls.
There is no setting. Tokens expire.
Thanks for replying @lbendlin .
So are there any used case where the setting has been configured to auto renew the token once it expires?
I could see an M code example below but I have no idea how should I go ahead with this 😞
You create a custom connector for that.
Handling authentication for Power Query connectors - Power Query | Microsoft Learn
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 48 | |
| 34 | |
| 27 | |
| 21 | |
| 20 |