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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors