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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.