Unauthorized error while calling endpoint without admin role

dron
Tera Contributor

I have a rest message defined and consuming below api.

https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/queue?view=azure-devops-rest-7....

 

I am calling REST API using script include and when submitting request with admin role, it is working fine and returning 200 status code. When ITIL user is submitting request it is giving Unauthorized error. When I am providing admin role to user it is working fine. Could anyone please suggest which role I need to provide for accessing REST API endpoint.

7 REPLIES 7

203? Thats a first for me and had to look it up.  Its not exactly an error.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203

 

Can you check what was created by the web call to see if what was supposed to be created was?

 

 

son1
Tera Contributor

Hey, did you manage to fix the issue? Im facing the same 

Balaji Prusty
Tera Contributor

Hi Dron,


Do you know of any solution you have found for this? I am also facing the same issue.