New-UnifiedGroup command does not create sharepoint site

Jon Kilner 61 Reputation points
2024-07-04T14:41:56.8166667+00:00

According to Microsoft, when you create an M365 group a raft of associated resources are created such as a SharePoint site, Mailbox etc https://learn.microsoft.com/en-us/microsoftteams/office-365-groups

If I create an M365 group through the Entra Admin Portal, this is the behaviour I see.

However, if I create a group though PowerShell e.g. New-UnifiedGroup -DisplayName "NewGroupTest" -Alias "NewGroupTest" -PrimarySmtpAddress NewGroupTest@domain.net -HiddenGroupMembershipEnabled:$True -Name "NewGroupTest" then an associated SharePoint isn't created.

Like the person posting here https://www.reddit.com/r/Office365/comments/qdr9fc/using_newunifiedgroup_for_365_group_creation/, I can't find anywhere to confirm this is expected behaviour.

Anyone know if this is expected and if so, point to a source that confirms it.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,222 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,154 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,363 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 99,431 Reputation points MVP
    2024-07-04T15:18:57.1066667+00:00

    That's the expected behavior. The SPO site for the Group will be provisioned "on demand", once any member tries to access it. If provisioning the site is a priority for you, use the PnP methods or Graph instead of Exchange PowerShell.

    0 comments No comments

0 additional answers

Sort by: Most helpful