User and group account maintenance is an important part of Office 365 administration. For Office 365 PowerShell, the Windows Azure Active Directory Module for Windows PowerShell has been available for years. This module contains cmdlets to connect and to manage user accounts, groups, and licenses.
More recently, the Azure Active Directory (AD) product team has been hard at work updating and releasing an Azure Active Directory V2 PowerShell module, which will eventually replace the Windows Azure Active Directory Module for Windows PowerShell when fully functional.
To help prepare for that eventuality, the following articles have been updated to use the Azure Active Directory V2 PowerShell module as an alternative:
- Connect to Office 365 PowerShell (also includes instructions to connect using multifactor authentication)
- Create user accounts with Office 365 PowerShell
- View user accounts with Office 365 PowerShell
- Block user accounts with Office 365 PowerShell
- Configure user account properties with Office 365 PowerShell
- Delete and restore user accounts with Office 365 PowerShell
Other Office 365 PowerShell articles, such as those that explain how to manage licenses, will be updated when the Azure Active Directory V2 PowerShell module supports Office 365 licenses and services.
In the meantime, you should start using the new Azure Active Directory V2 PowerShell module for your user and group account maintenance whenever you can.
To join the CAAB, become a member of the CAAB space in the Microsoft Tech Community and send a quick email to CAAB@microsoft.com to introduce yourself. Please feel free to include any information about your experience in creating cloud-based solutions with Microsoft products or areas of interest. Join now and add your voice to the cloud adoption discussion that is happening across Microsoft and the industry.