如何将默认目录恢复为原始目录 [英] How to get the default directory back to the original one

查看:206
本文介绍了如何将默认目录恢复为原始目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从几年前我与Azure注册以来,我使用的是我的Azure AD租户(usernameoutlook.onmicrosoft.com)。


然而,在某些时候,当
我添加了一个新订阅时,新目录(usernameoutlook 720 .onmicrosoft.com)。


从那时起,每当我进行新的订阅时,它首先被分配到目录,我需要切换到目录来移动它。这不是一个真正的伤害,但愚蠢的奇怪。有没有办法将与我的Microsoft
帐户(username@outlook.com)关联的目录更改回原来的目录?










$

解决方案

嗨seed.of.apricot,


这个过程最近发生了变化,非常简单。以下是更改订阅的默认Azure AD租户的方法:



步骤1:登录Azure门户网站





步骤6a:点击"更改"并等待大约10分钟以使更改生效



步骤6b:  重要步骤:  注意:更改默认Azure AD将从订阅
中删除所有订阅所有者,因此您必须重新添加订阅所有者,您可以使用在之前步骤中添加的"服务管理员"帐户,并添加新Azure AD中的任何Azure AD用户(例如 


https://blogs.msdn.microsoft.com/azureedu/2018/02/16/how-can-you-change -your-default-azure-ad-in-your-subscription /




Since I had signed up with Azure in a few years ago, I was using my Azure AD tenant (usernameoutlook.onmicrosoft.com).

However, at some point, a new directory (usernameoutlook720.onmicrosoft.com) was made when I added a new subscription.

Since then, whenever I make a new subscription it is assigned to the directory first and I need to switch to the directory to move it. It isn't an actual harm, but stupidly weird. Is there any way to change the directory that is associated with my Microsoft account (username@outlook.com) back to the original one?

解决方案

Hi seed.of.apricot,

The process for this recently changed and is pretty straightforward. Here is how you change the default Azure AD tenant for the subscription:

Step 1: Log into Azure portal at http://portal.azure.com

Step 2:  Click on ‘Subscriptions’

Step 3: Click on the subscription you want to change Azure AD on

Step 4: Click on ‘Change directory’

Step 5: Select the new target Azure AD you want to change to

Step 6a: Click ‘Change’ and wait about 10 minutes for the change to take hold

Step 6b: Important step: Note: changing your default Azure AD will remove any Subscription owners from the subscription so you will have to re-add Subscription owners and you can use the ‘Service administrator’ account you added in the previous steps and add in any Azure AD users from the new Azure AD (e.g. joe@contoso.edu) as Subscription owner

Step 7: Close all browsers to kill sessions and then log into http://portal.azure.com with NEW Azure AD credentials from new Azure AD default you switched to (e.g. joe@contoso.edu)

Step 8: Validate the new Azure AD is default – in the Azure portal go to ‘Azure Active Directory’ and the default Azure AD for that subscription should be the new one you have just switched to:

https://blogs.msdn.microsoft.com/azureedu/2018/02/16/how-can-you-change-your-default-azure-ad-in-your-subscription/


这篇关于如何将默认目录恢复为原始目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆