Bitbucket CI/CD pipeline deployment to Azure App Service fails (.Net 6 Blazor Server)

There is a working Linux-hosted Azure App Service with a created service principal. I would like to connect it with the Bitbucket repo.

For reference I use the following script: microsoft/azure-web-apps-deploy:1.0.4

https://bitbucket.org/microsoft/azure-web-apps-deploy/src/master/README.md

Everything is working except the last step:

Status: Downloaded newer image for mspipes/azure-web-apps-deploy:1.0.4 INFO: Signing in... az login --service-principal --username $AZURE_APP_ID --password $AZURE_PASSWORD --tenant $AZURE_TENANT_ID ERROR: No subscriptions were found for '$AZURE_APP_ID'. If this is expected, use '--allow-no-subscriptions' to have tenant level accesses INFO: Starting deployment to Azure app service... az webapp deployment source config-zip --resource-group webcdlm-prod-rg-brazilsouth --name bscdlm --src web.zip ERROR: Please run 'az login' to setup the account.

Can you tell me how to pass the "use '--allow-no-subscriptions'" parameter, because I can't see any options. Or is there anything I can update in the Azure App Service or service principal?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum