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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

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? 😀

Anonymous
Not applicable

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! 😛

ams1
Responsive Resident
Responsive Resident

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

Anonymous
Not applicable

Sounds intriguing, thanks ams1!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.