web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP Request to Azure ...
Power Automate
Unanswered

HTTP Request to Azure Dev Ops Always Returns Unautorized

(0) ShareShare
ReportReport
Posted on by 33

Hi I have a flow in which I'm trying to run an API call against Azure Dev Ops and I keep getting a 401 unauthorized response error back even though I know I have access to this. 

 

Documentation referenced: https://learn.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/user-entitlement-summary/get?view=azure-devops-rest-7.1

 

BriH_0-1719256916153.png

 

Things I've tried to resolve this issue

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,737 Most Valuable Professional on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard