you are getting an authentication error. probably your deployment credentials are no longer valid.
Failed to Publish API
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
2 answers
Sort by: Most helpful
-
-
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