Manage the directory for your Office 365 subscription in Azure
This article describes how to manage a directory that was created for an Office 365 subscription, using the Azure classic portal. You must be either the Service Administrator or a co-administrator of an Azure subscription to sign in to the Azure classic portal. If you don’t yet have an Azure subscription, you can sign up for a free 30-day trial today and deploy your first cloud solution in under 5 minutes, using this link. Be sure to use the work or school account that you use to sign in to Office 365.
After you complete the Azure subscription, you can sign in to the Azure classic portal and access Azure services. Click the Active Directory extension to manage the same directory that authenticates your Office 365 users.
If you do already have an Azure subscription, the process to manage an additional directory is also straightforward. For example, Michael Smith might have an Office 365 subscription for Contoso.com. He also has an Azure subscription that he signed up for by using his Microsoft account, firstname.lastname@example.org. In this case, he manages two directories.
|Display name||Contoso||Default Azure Active Directory (Azure AD) directory|
He wants to manage the user identities in the Contoso directory while he is signed in to Azure using his Microsoft account, so that he can enable Azure AD features such as multifactor authentication. The following diagram may help to illustrate the process.
In this case, the two directories are independent of each other.
In order for Michael Smith to manage both directories while he is signed in to Azure as email@example.com, he must complete the following steps:
These steps can be completed only when a user is signed in with a Microsoft account. If the user is signed in with a work or school account, the option to Use existing directory isn't available. A work or school account can be authenticated only by its home directory (that is, the directory where the work or school account is stored, and that the business or school owns).
- Sign in to the Azure classic portal as firstname.lastname@example.org.
- Click New > App services > Active Directory > Directory > Custom Create.
- Click Use existing directory and select the I am ready to be signed out now checkbox.
- Sign in to the Azure classic portal as global admin of Contoso.onmicrosoft.com (for example, email@example.com).
- When prompted to Use the Contoso directory with Azure?, click Continue.
- Click Sign out now.
- Sign in to the Azure classic portal as firstname.lastname@example.org. The Contoso directory and the Default directory appear in the Active Directory extension.
After completing these steps, email@example.com is a global administrator in the Contoso directory.
Now let’s suppose that Jane Doe needs administer websites and database resources that are associated with the Azure subscription for firstname.lastname@example.org. Before she can do that, Michael Smith needs to complete these additional steps:
- Sign in to the Azure classic portal using the Service Administrator account for the Azure subscription (in this example, email@example.com).
- Transfer the subscription to the Contoso directory: click Settings > Subscriptions > select the subscription > Edit Directory > select Contoso (Contoso.com). As part of the transfer, any work or school accounts that are co-administrators of the subscription are removed.
- Add Jane Doe as co-administrator of the subscription: click Settings > Administrators > select the subscription > Add > type JohnDoe@Contoso.com.
For more information about the relationship between subscriptions and directories, see How a subscription is associated with a directory.