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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
atharsana
Regular Visitor

Authentication error when trying to get dynamic refresh token using Power Query

Hi Community, 

I am connecting my data through Web(using advanced section) in PowerBi. The data can be fetched using the Bearer type access token generated from postman. Since the Access token is valid only for short period of time, I have used a query to have the refresh token dynamic. 

atharsana_0-1709298986173.png

But on applying the query, it throws a error like cannot authenticate with credentials provided, despite the credentials given are correct. Also it says the data can only be fetched by Anonymous method.

atharsana_1-1709299236835.png

Help me to overcome this error
Thankyou



1 REPLY 1
Anonymous
Not applicable

Hi @atharsana 

 

What is your data source? 

Maybe you can try other types of Authentication, like windows or organizational account.
If the above one can't help you, could you please provide more detailed description of your connection flow.

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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