We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.