Can't login in to Azure on Visual Studio 2022 due to work account

Gary Frewin 25 Reputation points

Hi Folks,

I have a private / personal 0365 subscription on which I signed up to Azure. I used this for developing hobby projects in VS2022 community edition.

I just pressed the publish option in VS and selected azure as a target. It then asks me to log in with my azure login, which I do... and for some reason it then takes me to my old organisations authentication page?!?

I don't even know why there would be any connection between my personal email and this organisation, which I don't work for anymore. When I view directories on Azure, they also have an entry there.

How can I completely sever this connection so that I can login on VS using my personal account?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,674 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 20,741 Reputation points Microsoft Employee

    Hi @Gary Frewin , thanks for the question. Regardless of the reason this is occurring, I can help you out. Just send an email to with subject "ATTN: James Hamil" and attach the subscription ID of the tenant you currently have access to. We can get this resolved on our end for you.

    If this answer helped you please mark it as "Verified" so other users can reference it.

    Thank you,


    0 comments No comments