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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
v-zhengdxu-msft
Community Support
Community Support

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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