I've created a an App Service using the Azure portal and wanted to download the Publish Profile (to import that into Visual Studio). But the download button is disabled. Any suggestions?
My Scenario:- I'm using Visual Studio 2022 community edition. I was trying to publish the website to the 'Azure App Service' but it was throwing 'connected to the remote computer but could not authorize the remote server returned an error 401 unauthorized' error. I realized that it was due to the publish profile and when i went to the azure portal i saw that 'Download publish profile' was disabled.
Fix:- Below are the steps that solved the issue for me.
Somehow there might be a glitch when new webapp is created.
If anyone is looking for a February 2024 version of the solution to this nonsense, it might have updated as recently they did some changes around kudu deployment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With