rfennell / AzurePipelines

A single Repo to contain the source for ALL my Azure DevOps Build/Release Extensions. The packages can be found in the Azure DevOps Marketplace
https://marketplace.visualstudio.com/search?term=fenn&target=VSTS&sortBy=Relevance
MIT License
340 stars 429 forks source link

DevTest Labs VM start/stop should support Azure Resource Manager using workload identity federation with openid connect #1858

Open rfennell opened 4 months ago

rfennell commented 4 months ago

Azure DevOps Extensions

DevTest Labs

Is your feature request related to a problem? Please describe.

DevTest Labs VM start/stop should works with Azure Resource Manager using Service Principles, but fails with null error if the service connection usesAzure Resource Manager using workload identity federation with openid connect

Describe the solution you'd like

Should support workload identity federation with openid connect

Describe alternatives you've considered

No response

Additional context

Workaround is to use the older service principle model, but Microsoft are encouraging people to move away from this to workload identity federation (with a single click to convert)

rfennell commented 4 months ago

These tasks are based on Microsoft tasks to create VMs https://github.com/Azure/azure-devtestlab. Any change should be done using the same pattern these related tasks use i.e. swap to Node from PowerShell