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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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