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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

RestAPI returns 401

I can log to the web UI with http://..../Reports authenticating with my AD creds.

 

However If I try to run this on postman (Using basic auth with my ad creds) it returns 401. Is there something I need to enable or set in order to use the api?

http://..../Reports/api/v2.0

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

What do you see in the www-authenticate header of the 401 reply in postman? If you see NTLM I think this means that you have WindowsAuth configured for your server and it's basically telling you that the basic auth was rejected and it wants you to use NTLM.

 

Postman has beta support for NTLM auth, I was able to use this to put in my username/password and get a valid response.

View solution in original post

2 REPLIES 2
d_gosbell
Super User
Super User

What do you see in the www-authenticate header of the 401 reply in postman? If you see NTLM I think this means that you have WindowsAuth configured for your server and it's basically telling you that the basic auth was rejected and it wants you to use NTLM.

 

Postman has beta support for NTLM auth, I was able to use this to put in my username/password and get a valid response.

Anonymous
Not applicable

You were completely right. Appreciate it!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.