Connecting to Office 365 with the AzureAD Module You’ll find tasks such as managing users, groups and license administration still exists in the MSOnline module. All new functionality is in the AzureAD module but there still is some overlap with the MSOnline module. You’ll use Azure Active Directory PowerShell for Graph with the module name AzureAD and Azure Active Directory module for Windows PowerShell with the module name of MSOnline.ĪzureAD and MSOnline both allow you to work with Office 365 services using PowerShell so why two? AzureAD is the successor to MSOnline and from what I can gather will replace MSOnline at some point. When working with Office 365 using PowerShell, you’ll probably have to use two different modules. To run through any of the examples in this tutorial, please be sure you have the following ahead of time:
Connecting to Office 365 with the AzureAD Module.