Skip to content

Commit e464366

Browse files
committed
Inherit az-cli login
1 parent e78c9b4 commit e464366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/azure-devops/convert_azurerm_service_connection_to_oidc.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ if (!(az extension list --query "[?name=='azure-devops'].version" -o tsv)) {
8484
az extension add -n azure-devops -y -o none
8585
}
8686
# Write-Output $accessToken | az devops login --organization $OrganizationUrl
87-
$env:AZURE_DEVOPS_EXT_PAT = $accessToken
88-
az devops configure --defaults organization=$OrganizationUrl
87+
# $env:AZURE_DEVOPS_EXT_PAT = $accessToken
88+
# az devops configure --defaults organization=$OrganizationUrl
8989
if ($lastexitcode -ne 0) {
9090
Write-Error "$($account.user.name) failed to log in to Azure DevOps organization '${OrganizationUrl}'"
9191
exit $lastexitcode

0 commit comments

Comments
 (0)