Can't add Exchange license in Azure AD Connect for Office 365

Applies to: Exchange Online

Symptoms


You receive an error message when you try to add an Exchange license in Azure Active Directory (Azure AD) for Microsoft Office 365. 

Resolution


There are two Windows Azure Active Directory modules to administer Azure AD through PowerShell. Both are supported currently. 

This issue can occur under different circumstances.