Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

OAuth not recognizing Azure DevOps permissions via the 'Send HTTP Request to Azure DevOps step' (TF400813)

(0) ShareShare
ReportReport
Posted on by

I have a very simple manual flow to test out an API request I was working on for a much larger flow. I am a Project Collection Administrator, and have Third-party application access via OAuth enabled on my Azure DevOps Organization.

malibiranrc_1-1706168125032.png

 

I've tested this exact endpoint via Postman (via Basic Authentication with a Full Access PAT) and it seemed to work, but for some reason OAuth in PowerAutomate doesn't recognize my permissions.

 

When working on the steps the authentication seems to be working fine, it's just when the flow runs is the problem.

malibiranrc_2-1706168247202.png

malibiranrc_3-1706168286780.png

 

 

The Azure DevOps API endpoint is: /_apis/userentitlements?doNotSendInviteForNewUsers=true&api-version=4.1-preview.1

 

Note that I've replaced sensitive data with dummy info:

 

Request Body:

[

{

"from": "",

"op": 0,

"path": "",

"value": {

"accessLevel": {

"licensingSource": 1,

"accountLicenseType": "Stakeholder",

"msdnLicenseType": 0,

"licenseDisplayName": "Stakeholder",

"status": 0,

"statusMessage": "",

"assignmentSource": 1

},

"user": {

"principalName": "fakeuser@gmail.com",

"subjectKind": "user"

},

"projectEntitlements": [

{

"group": {

"groupType": "projectContributor"

},

"projectRef": {

"id": "ProjectId"

}

}

]

}

}

]

 

 

 

 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics