Export (0) Print
Expand All

Remove-SPOSiteGroup

 

Applies to: SharePoint Online, Office 365

Topic Last Modified: 2013-12-18

Removes a SharePoint Online group from a site collection.

Remove-SPOSiteGroup [-Site] <SpoSitePipeBind> [-Identity] <String>

Use the Remove-SPOSiteGroup cmdlet to remove a group from a site collection by specifying the name of the group in the Identity parameter.

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

 

Parameter Required Type Description

Site

Required

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

Specifies the site collection to remove the group from.

Identity

Required

System.String

Specifies the name of the group to remove.

--------EXAMPLE--------

Remove-SPOSiteGroup -Site https://contoso.sharepoint.com/sites/marketing -Identity GroupToRemove

This example removes a group named GroupToRemove from the site collection https://contoso.sharepoint.com/sites/marketing.

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