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

Community site session details

Session Id :
Power Automate - Building Flows
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

 

I have the same question (0)
  • Expiscornovus Profile Picture
    33,175 Most Valuable Professional on at
    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

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 544 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 482 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 287

Last 30 days Overall leaderboard