Share via

Cannot access Azure DevOps organization from Logic App despite both of them belonging to the same tenant and me being the owner/administrator of the LogicApp/DevOps organization

Roy Zagers 1 Reputation point
2021-11-12T10:14:26.753+00:00

Currently I am trying to create a logic app that uses a DevOps build as a trigger. But I cannot select the DevOps organization containing the build. If I enter the organization as custom value I get the following error:
Could not retrieve values. Error code: '401', Message: 'TF400813: The user 'afca0a52-882c-4fa8-b71d-f6db2e36058b\r.zagers@optimagraphicdesign .nl' is not authorized to access this resource.
Azure DevOps ActivityId: d97a6099-f064-4d01-b444-509a65f3706e
Details: {"$id":"1","innerException":null,"message":"TF400813: The user 'afca0a52-882c-4fa8-b71d-f6db2e36058b\r.zagers@optimagraphicdesign .nl' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}
clientRequestId: B1AACDDD-415E-4BFB-BC68-B5745E791BE4'. More diagnostic information: x-ms-client-request-id is 'B1AACDDD-415E-4BFB-BC68-B5745E791BE4'.

Furthermore the following situation applies:

  1. I have got a work account, that has access to multiple tenants and subscriptions.
  2. My employer has its tenant along with several subscriptions of which I am a member
  3. My employer has also issued an MSN subscription to me with the $100 credit for purposes of personal training.
  4. I have created a separate tenant to which I have linked my MSN subscription. I am that tenant's administrator and its only user.
  5. I have also got a personal Azure DevOps organization which I have attached to my private tenant's AAD. I am its only user.
  6. As an Azure DevOps user I belong to the following groups: Project Administrator, for both projects I have got, and I Project Collection Administrators
  7. The Logic App was created in the MSN subscription and in the same tenant to which the DevOps organization subscribes

I do not have clue of what is going wrong, or what am overlooking right now, or how this could be solved. Any suggestions from people who have been here before will be appreciated.

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.

0 comments No comments

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 71,016 Reputation points Moderator
    2021-11-24T07:49:55.4+00:00

    @Roy Zagers Apology for the delay and inconvenience due to this issue. As per the backend logs, the error is coming from the DevOps end that the user is not authorized to perform the operation. I am not sure if you have resolved the issue if not then I will suggest you to open a support ticket with the devops team to verify the permission or you can post your query over here:
    https://stackoverflow.com/questions/tagged/devops
    https://developercommunity.visualstudio.com/spaces/21/index.html

    For DevOps connector you connector or know issue and limitation you can refer here.

    DevOps is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.