Failed to Publish API

Jassim Al Rahma 1,571 Reputation points
2023-05-16T15:45:28.99+00:00

api_deploy.txt

Hi,

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..

THanks,

Jassim

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

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 66,056 Reputation points
    2023-05-16T17:19:11.1133333+00:00

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

    0 comments No comments

  2. Grmacjon-MSFT 18,451 Reputation points
    2023-05-17T19:56:04.57+00:00

    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.

    -Grace

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.