Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 17 | |
| 12 | |
| 8 | |
| 8 | |
| 5 |
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 25 | |
| 24 | |
| 24 |