I am trying to create an automated deployment for my web app service via Azure DevOps using the "Azure CLI" task with the following script:
az webapp deployment slot auto-swap --name samplesite-web --resource-group samplesite-rg --slot staging
I get the following error: "Auth Scheme PublishProfile is not supported" In a previous step, I successfully deployed my site to the "staging" slot using a publish profile. So why doesn't this work? I am able to swap from Azure Portal without an error.
Btw, the same CLI script works when run from my local pc.