Export (0) Print
Expand All

Remove-SPOSiteGroup

 

Applies to: Office 365, SharePoint Online

Topic Last Modified: 2015-03-09

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.

SharePoint Online Management Shell

 

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:
© 2015 Microsoft