System Administration & Network Administration
azure-active-directory subscription
Updated Sat, 24 Sep 2022 08:30:26 GMT

Change directory for azure subscription back to default


My Azure subscription is associated with an MS Live account, which was later also included in the AD Directory of my old company, but although apparently disabled there when I left was still available in the list of Directories in Azure Portal. I have inadvertently switched to it and since then remain locked out of Azure Portal. The steps are:

  1. go to portal.azure.com
  2. enter account name / email
  3. enter password
  4. click Yes to Stay Signed in
  5. now I start getting the following screen with an error, the URL being microsoftonline.com and one of the parameters actually what I think is the name of the tenant of the old company

  6. This message blinks for about half a dozen times, interleaved with a white screen to login.live.com

  7. finally the "too many attempts message" appears and stuck there.

So I work my way though 5(!) Azure support teams passing it to each other by now, but no resolution yet. Is there any process that I could do on my side to switch back to whatever the default Directory for a Live/personal account in Azure Portal should be and log back in? I can log into the Account portal just fine.




Solution

If you want to log in your purpose tenant in the azure portal, you could use this url to log in: https://portal.azure.com/your-tenant-name. By this way, it will redirect you to your tenant and not to your now default tenant.





Comments (3)

  • +0 – Sounds great. But what is the tenant [name] for a MS Live account, which by definition is not a part of any corporate tenant, but would belong to some default generic tenant I suppose? — Jan 15, 2019 at 03:17  
  • +0 – The tenant name is your AD Directory that you want to back. — Jan 15, 2019 at 05:20  
  • +0 – Internally Microsoft calls the tenant for these MS Live accounts "Outlook tenant" because they are there with the "Outlook" accounts but that's all that I can find out, not it's name or ID. So the resolution was finally, in order for me to be able to use the url above, to create a fresh new "company" tenant, add my azure account to it and then switch to it when logging in from the default directory causing the problem by navigating to the above link after you've been signed in but before you are redirected to the portal itself, in a new tab while waiting for the Stay signed In dialog. Phew! — Jan 25, 2019 at 04:24