Can I add Managed Identity to my ADO pipeline? Can I add Managed Identity to my ADO pipeline? curl curl

Can I add Managed Identity to my ADO pipeline?


My idea would be to have some ADO task which will add managed identity to a VM where the task is running. Once a pipeline (actually an agent) finishes all my tasks, then managed identity will be removed. Managed identity can be for example specified via service principal. Is this existing or is it possible at all?

Sorry but I'm afraid this is not supported. There's no such out-of-box task in Azure Devops (even in VS marketplace) to achieve this requirement (add/remove managed identity in VM).

Also, Managed identity can't be specified via service principal cause these two features are different technologies. For more details you can refer to this blog. So it's impossible to specify Managed Identity via Service Principal.

As one suggestion, you can make request for the feature (An official task to control Managed Identidy in one VM) you want on our UserVoice site, which is our main forum for product suggestions. After raising the suggestion, you can vote and add your comments there. The product team would provide the updates if they view it. Thank you for helping us build a better Azure DevOps.