Change or Link Azure Subscription to O365 Tenant

 Introduction
 
I had a situation where I had first signed up for a free O365 dev tenant, then many months later got a hold of an Azure subscription through MSDN. As my O365 dev tenant already had Azure (Azure Active directory) as a part of it, I wanted to use the other Azure Resources from the MSDN version on the dev tenant. This blog details the steps to achieve this.
 
Solution  
 
First... 
  • Let spacetech.onmicrosoft.com be the O365 dev tenant that you want to use
  • Let the default active directory in Azure from the MSDN subscription be from outlook.com
 
Step 1:  
  • Open the Azure Active Directory which belongs to the spacetech tenant. 
  • Add the outlook.com account used for MSDN admin as a guest user in AAD and provide the account Global Admin Rights.
  • Wait 15 - 20 mins.
 
Step 2:
  • Login to portal.azure.com using the outlook account.
  • On the screen here, select subscriptions. All the MSDN and other subscriptions purchased would be visible here.
  • Click on the name of the subscription you would like to link to the O365 Tenant.
  • You should now see a page which shows the details of the subscription, here click on Change Directory as indicated in the diagram below.
          
  • You will see a screen extend on the right-hand side of the page which will show the current directory you are linked to. You will see an option to change the directory as a dropdown list. Expand the dropdown and you should now see the name of your tenant listed here, select that and click Change.
          
  • The Azure subscription shall now be linked to your O365 tenant,  it will take 15 - 20 mins but after that, you will be able to provide the users from your O365 tenant access on Azure resources.
  • Open the Azure subscription and provide admin rights to the admin user from your O365 tenant. 
The connection is now complete.