Failed to Publish API

Jassim Al Rahma 1,541 Reputation points



WhyI am suddenly not able to publish Web API to Microsoft Azure?

I am getting failed as you can see in the attached log.

Kindly help..



A set of technologies in the .NET Framework for building web applications and XML web services.
4,283 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,155 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce ( 59,051 Reputation points

    you are getting an authentication error. probably your deployment credentials are no longer valid.

    0 comments No comments

  2. Grmacjon-MSFT 17,136 Reputation points

    Hi @Jassim Al Rahma ,

    Like Bruce and AgaveJoe pointed out, this is a permission issue. Since you made a similar post recently I answered your question there.

    you can fix this error by making sure the account you're using to publish the ZIP file has the necessary permissions to deploy to the Azure Web App. You can do this by checking the deployment credentials for the Azure Web App in the Azure portal

    also if your subscription has expired and you no longer have access rights to Visual Studio, you must renew your subscription or add another account that has a subscription. To see more information about the license you are using, go to File > Account Settings and look at the license information on the right side of the dialog. If you have another subscription associated with a different account, add that account to the All Accounts list on the left side of the dialog box by selecting the Add an account link.


    0 comments No comments