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 Authentic...
Power Automate
Answered

HTTP Request Authentication with Azure DevOps Services REST API 6.0

(0) ShareShare
ReportReport
Posted on by 13

Hi,

I have a rookie authentication problem that I cannot figure out:

I have access to a DevOps organization and project. I would like to use Power Automate to export the workitem history from there, via the API. I am using the following API call in a HTTP step in my flow: https://dev.azure.com/{organization}/{project}/_apis/wit/reporting/workItemRevisions

 

The HTTP step fails with Error 302 - "Object moved to <URL>" - I believe that the issue is with the authentication field. I have no idea what authentication to choose and what to put in the various fields I have 0 experience with this. When I paste the same API URL into my browser I can see the JSON output without problems. To DevOps itself I am logged in with my corporate MS account (I tried to use the email+password combo for Basic authentication but it did not work either).

 

I am not really sure where to go from there, so if anyone could help explain how I can set this up I would be very grateful! I have no idea what authentication type to choose and how to get the required credentials.

Best regards,

 

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

    Hi @dnl_mlstn,

     

    There is a specific Send an HTTP request to Azure DevOps action which you can use instead of the HTTP action:

    https://docs.microsoft.com/en-us/connectors/visualstudioteamservices/#send-an-http-request-to-azure-devops

     

    sendanhttprequesttoazuredevops_getrevisions.png

     

    With this action you don't have to worry about configuring authentication. Obviously the user which is used for the connection still needs enough permission on the project though 😁

  • dnl_mlstn Profile Picture
    13 on at

    Ahhhh thank you! Savior!!!

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
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard