Forum Discussion

jcgonzalezmartin's avatar
Apr 29, 2017

Is it possible to create Office 365 Groups with Azure AD PowerShell Module (2.0.0.98)?

It seems it's not possible an for now you can only create Security Groups...am I correct? cc VasilMichev TonyRedmond
  • TonyRedmond's avatar
    Apr 29, 2017

    You have to use the New-AzureADMSGroup cmdlet to create a new Office 365 Group. This is a variation of New-AzureADGroup that uses the Microsoft Graph to create the group.

     

    [PS] C:\> New-AzureADMSGroup -Description “A Group for Juan to play with” -DisplayName “Juan's Office 365 Group” -MailEnabled $true -SecurityEnabled $true -MailNickname “JuanGroup” -GroupTypes “Unified” 

     

    But I would always run New-UnifiedGroup to create an Office 365 Group... 

Resources