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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
agarwala
Helper I
Helper I

Getting Refresh Token Expired Error in Power BI Service

Hello folks,

 

I am trying to execute a Power BI report which keeps on throwing the error:

agarwala_0-1731712191163.png

 

 

 

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):

agarwala_1-1731707204341.png

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

 

 

1 ACCEPTED SOLUTION
6 REPLIES 6
agarwala
Helper I
Helper I

Thanks will try that.

lbendlin
Super User
Super User

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 😞

 

agarwala_0-1731897008742.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.