skip to Main Content

Azure – wrong Az.Acoounts version being used

I have these tasks in a pipeline I'm using that is failing because it is using Az.Accounts version earlier than 2.19.0 (2.17.0) - task: PowerShell@2 displayName: 'Install Az.Accounts' inputs: pwsh: true targetType: 'inline' script: 'Install-Module -Name Az.Accounts -RequiredVersion 2.19.0 -Repository…

VIEW QUESTION

zero new lines while I do sonarscan on pull request using azure pipeline for my dot net code

- script: | git config --global http.https://dev.azure.com/<company>/.extraheader "AUTHORIZATION: bearer $(System.AccessToken)" # Now fetch the PR source branch using the token git fetch origin $(System.PullRequest.SourceBranch):$(System.PullRequest.SourceBranch) git checkout $(System.PullRequest.SourceBranch) displayName: 'Fetch and Checkout PR Source Branch' env: # This exposes the system…

VIEW QUESTION

Azure Container Apps: Azure Container Registry Authentication Issue

I've been trying to deploy a docker image that's already pushed in our azure container registry. I'm receiving the following error: /usr/bin/az containerapp update -n <appName> -g <resourceGroupName> -i <containerRegistry>.azurecr.io/<repository>:20240430.13 --replace-env-vars ASPNETCORE_ENVIRONMENT=Acceptance ERROR: (InvalidParameterValueInContainerTemplate) The following field(s) are either invalid…

VIEW QUESTION
Back To Top
Search