skip to Main Content

"ERROR: TF401444: Please sign-in at least once…" in AzureCLI@2 task

I am using below YAML pipeline to create a PR via Azure CLI script:- - task: AzureCLI@2 inputs: azureSubscription: '${{ parameters.serviceConnection }}' scriptType: 'ps' scriptLocation: 'inlineScript' inlineScript: | # Set organization, project, and repository details $organization="https://dev.azure.com/MyOrg" $project="MyProject" $repository="MyRepo" $targetBranch =…

VIEW QUESTION
Back To Top
Search