Skip to content

Commit cf688fe

Browse files
authored
Adress Windows token parsing issue (#68)
* Remove 'az devops login'
1 parent 7fff30c commit cf688fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/azure-devops/convert_azurerm_service_connection_to_oidc.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ if (!(az extension list --query "[?name=='azure-devops'].version" -o tsv)) {
8383
Write-Host "Adding Azure CLI extension 'azure-devops'..."
8484
az extension add -n azure-devops -y -o none
8585
}
86-
$accessToken | az devops login --organization $OrganizationUrl
8786
if ($lastexitcode -ne 0) {
8887
Write-Error "$($account.user.name) failed to log in to Azure DevOps organization '${OrganizationUrl}'"
8988
exit $lastexitcode

0 commit comments

Comments
 (0)