cancel
Showing results for 
Search instead for 
Did you mean: 
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

Accepted Solutions
Super User II
Super User II

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
Super User II
Super User II

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

Anonymous
Not applicable

You were completely right. Appreciate it!

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.