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
troyjsullivan
Frequent Visitor

Rest API with Bearer Token issue applying with Anonymous Auth

Able to connect to Cherwell REST API via power query using Bearer Token with Anonymous Auth Selected showing json data OK. When selecting close and apply failing to authenticate.

NB: Tested with both Get Data Invoke added and removed.

 

troyjsullivan_0-1674684581644.png

troyjsullivan_3-1674684958519.png

troyjsullivan_1-1674684710407.png

 

troyjsullivan_2-1674684880771.png

 

 

4 REPLIES 4
ams1
Responsive Resident
Responsive Resident

The data you're seeing might be old and the token might have expired - did you press the Refresh Preview button?

 

BTW: It would be nice to be able to put the Authorization token in the Credentials instead of hardcoding it in the query, right? 😀

Thanks ams1, tis a very wierd one. Running the same query for several other tables has the same behaviour in that the data displaying in the power query editor then auth error on both Refresh Preview along with Close & Apply.  So true regarding the credentials! 😛

Well, regarding using the Credentials manager for header Authorization there might be a quick-and-dirty-ish way, stay tooned. 😉

Sounds intriguing, thanks ams1!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors