Forum Discussion
Ivan54
Oct 06, 2016Bronze Contributor
AAD PowerShell Commands not working (get-msol ...)
Could some please point out the error I'm doing? I'm trying to create classifications https://azure.microsoft.com/en-us/documentation/articles/active-directory-accessmanagement-groups-settings-cmdle...
- Oct 06, 2016These cmdlets are not supported in the Azure Active Directory Module for Windows PowerShell GA (v.1.1.166.0) which you have installed. Instead you can install V1.1.130.0 public preview and use it. See release notes from below link for more details.
http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185
SimonChalfont
Mar 23, 2017Brass Contributor
While we wait for the official documentation to be updated, I can recommend this blog post to which I was referred on a separate thread:
http://drewmadelung.com/managing-office-365-group-using-azure-ad-powershell-v2/
Hope it helps.
Craig Judd
Apr 25, 2018Copper Contributor
Just in case you didn't find the information to cull GROUP creation in Office 365.
Import-Module MSOnline
get-module MSOnlineService
Connect-MSOLService
Set-OwaMailboxPolicy -Identity OwaMailboxPolicy-Default -GroupCreationEnabled $false