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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

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.