Using AAD Managed identity to connect to DevOps API

Mark Middlemist 171 Reputation points
2020-04-20T13:27:55.567+00:00

Hi All

We are trying to integrate a part of our system with Azure DevOps, specifically logging Tasks (Bugs, Issues, etc) from our code.

The code is all running in Azure and as standard we use AAD service principles authenticated with Managed Identity to connect to secured entities.

Looking at the documentation around connection methods to the API seems to mean that we would need to stash credentials, probably a PAT at our end, but we would ideally like to keep consistent and use MSI.

If anyone could provide any guidance it would be much appreciated.

All the best

Mark Middlemist

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2020-07-10T18:34:36.44+00:00

    Onlye delegated (user but not app) permissions are supported by Azure AD DevOps API. You can keep using PAT's and protect them using Key Vault and Managed Identies.

    0 comments No comments

Your answer

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