Re: HTTP Request to Azure Dev Ops Always Returns Unautorized
Hi @BriH,
This is a known limitation of this action, not all resources/scopes from the Azure DevOps REST API are allowed to be used in this action. Have a look at the list of scopes in the docs:
https://learn.microsoft.com/en-us/connectors/visualstudioteamservices/#known-issues-and-limitations
It looks like the one your are using (vso.memberentitlementmanagement) is not listed in the allowed scopes. As a workaround you can use a HTTP action with a personal access token instead (PAT).
3. Action Send an HTTP request to Azure DevOps has a limited set of scopes which control what resources can be accessed by the action and what operations the action is allowed to perform on those resources.
Scopes:
- vso.agentpools_manage
- vso.build_execute
- vso.chat_manage
- vso.code_manage
- vso.code_status
- vso.connected_server
- vso.dashboards_manage
- vso.entitlements
- vso.extension.data_write
- vso.extension_manage
- vso.identity
- vso.loadtest_write
- vso.packaging_manage
- vso.project_manage
- vso.release_manage
- vso.test_write
- vso.work_write