Cannot Publish to Azure from Visual Studio with my Personal Account

Tanzim Shaikh 121 Reputation points
2022-11-08T09:48:21.24+00:00

I am trying to learn from Microsoft site and one of the steps says that Publish to the Azure on the web and login as a Coincerge subscription. I am stuck and cannot continue with the lessons. However I do not know what does it mean but after investigating, in one of the articles it was mentioned that check your Azure Settings and switch the directory which shall solve the problem.

When I login to the Azure Portal with my Personal account and go to Settings -> Directories + subscriptions, I do not see any thing to switch. However when I click on My Information, I see the following errors:

258170-myinfo.png

258223-errornotify1.png

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Pablo Gabriel Mederos Caballero 1 Reputation point
    2022-11-08T11:32:16.29+00:00

    Hi there!

    Tell me, is your Azure account the same as your Visual Studio account?
    If not, you can try to solve this by accessing the site https://my.visualstudio.com, in the "Subscriptions" section, and finally use the Alternate Account, to use your Azure account to authorize your visual studio account to use Azure services.

    Another approach may be to use your Azure account directly in Visual Studio.

    Pls, sorry for my english.

    262654-258284-sin-titulo.png

    0 comments No comments

  2. Tanzim Shaikh 121 Reputation points
    2022-11-08T12:45:29.107+00:00

    @PabloMederosCaballero-2785
    I do not have any alternative account in my VS subscription.

    However, I resolved my problem by logging out and logging in again.
    Actually, when I enabled my learning Sandbox from the Microsoft site, I was not able to log in to the Azure Portal and all I see was the error. However, when I tried the logging out and logging in again, it showed me the text (something like) "Learn Sandbox" below my log-in name.

    Thank you so much for your time and efforts.
    I hope this can be help to someone newbie like me.

    0 comments No comments