2

I am already signed in to VS2022, so into Azure too, but while trying to publish an App I have the screen below:

enter image description here

It is ok from the top right that I am signed in already. So while am I getting this?

I even tried suggestions from this link: I signed out, and deleted %localappdata%.IdentityService folder, and signed in again. I got the same thing.

Please help.

acmoune
  • 2,981
  • 3
  • 24
  • 41

2 Answers2

1

As I have mentioned, sometimes it can be a temporary issue which is caused by many reasons.

It can also be a temporary network/Azure issue.

I can see that you have logged in to Azure using your Personal MailID. Make sure you have enough permissions to access the resources or able to Publish the Application.

Check your role in the Azure Portal.

In Visual Studio, Tools => Options, try to Re-Authenticate the existing Accounts.

  • And make sure you have selected the correct Azure Subscription.

enter image description here

  • If you still have issues in sign in, then we can use Import Profile option to Publish the App Service.
  • We can see it is not asking for any Visual Studio sign in .

enter image description here

  • First create an App Service with the required runtime stack, Download the Publish profile from Azure App Service.

enter image description here

  • Browse and upload the downloaded publish profile and continue. enter image description here

Refer similar issues addressed in SOThread.

Harshitha
  • 3,784
  • 2
  • 4
  • 9
0

Update Visual Studio, in VS go to help > check for updates

It was the only thing that helped in the end

Mikael Puusaari
  • 854
  • 1
  • 10
  • 14