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:
- I have got a work account, that has access to multiple tenants and subscriptions.
- My employer has its tenant along with several subscriptions of which I am a member
- My employer has also issued an MSN subscription to me with the $100 credit for purposes of personal training.
- I have created a separate tenant to which I have linked my MSN subscription. I am that tenant's administrator and its only user.
- I have also got a personal Azure DevOps organization which I have attached to my private tenant's AAD. I am its only user.
- As an Azure DevOps user I belong to the following groups: Project Administrator, for both projects I have got, and I Project Collection Administrators
- 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.