Export (0) Print
Expand All

New-SPOSiteGroup

 

Applies to: SharePoint Online, Office 365

Topic Last Modified: 2013-12-18

Creates a new group in a SharePoint Online site collection.

New-SPOSiteGroup [-Site] <SpoSitePipeBind> [-Group] <String> [-PermissionLevels] <String[]>

A SharePoint 2013 group is a set of individual users. SharePoint 2013 groups enable you to manage sets of users instead of individual users.

You must be a SharePoint Online global administrator and a site collection administrator to run the cmdlet.

 

Parameter Required Type Description

Site

Required

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

Specifies the site collection to add the group to.

Group

Required

System.String

Specifies the name of the group to add.

PermissionLevels

Required

System.String[]

Specifies the permission levels to grant to the newly created group. It can be any permission level that exists on the site collection on which the group is being created.

NoteNote:
Permission levels are defined by SharePoint Online administrators in the SharePoint Online Administration Center.

--------EXAMPLE 1--------

New-SPOSiteGroup -Site https://contoso.sharepoint.com/sites/siteA -Group "Project Leads" -PermissionLevels "Full Control"

This example creates a group named Project Leads with the Full Control permission level on the site collection https://contoso.sharepoint.com/sites/siteA.

--------EXAMPLE 2--------

New-SPOSiteGroup -Site https://contoso.sharepoint.com/sites/marketing -Group "NewGroupName" -PermissionLevels "Design"

This example creates a group named NewGroupName with the Design permission level on the site collection https://contoso.sharepoint.com/sites/marketing.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft