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 / Permissions Required T...
Power Automate
Unanswered

Permissions Required To Run APIs against Azure Devops

(0) ShareShare
ReportReport
Posted on by 1,796 Moderator

I'm trying to run some APIs via the Send_an_HTTP_request_to_Azure_DevOps action, but I get a response back that it failed saying I don't have permission to access the resource. Within devops I can create a manually just fine, so I assume the APIs need a different level of permission. It's a private project and I have stakeholder access to devops currently. 

 

the API

 

{
"host": {
"connectionReferenceName": "shared_visualstudioteamservices",
"operationId": "HttpRequest"
},
"parameters": {
"account": "aaaaaa",
"parameters/Method": "POST",
"parameters/Uri": "bbbbbbbbbbb/_apis/wit/workitems/$Task?api-version=7.1-preview.3",
"parameters/Body": " {\n \"op\": \"add\",\n \"path\": \"/fields/System.Title\",\n \"from\": null,\n \"value\": \"Sample task\"\n }"
}
}

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @srduval 

    Not all apis are available in this out of box action.

    So, I suggest you create a Personal Access Token in azure devops and use http action in flow to call the api.

     

    SudeepGhatakNZ_0-1714947783681.png

     

     

     

  • srduval Profile Picture
    1,796 Moderator on at

    Thanks I'm curious what isn't supported via that API action, I thought that Send API does the same thing as the HTTP that you're suggesting except in this case it handles the authentication automatically.

     

    Anyway the actual source of my problem was the setting in Devops to allow 3rd party access was swtiched off. Turning that setting on allowed all the out of the box actions to function as expected. No additional API or access tokens needed thankfully. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard