Share via

Disconnect Office 365 group from SharePoint Site

Donald Hendrix 6 Reputation points
2022-06-07T17:35:26.62+00:00

Is there still no way to disconnect an O365 group from a SharePoint online site? I've looked online and all indications say no, but want to doublecheck before deleting and recreating.

thank you!

Microsoft 365 and Office | SharePoint | For business | Windows

2 answers

Sort by: Most helpful
  1. Daniel Cini 0 Reputation points
    2025-09-10T16:57:04.3133333+00:00

    I was recently able to disconnect a few Sharepoint sites from M365 groups by running the below command in a Sharepoint Online Powershell.

    Set-SPOSite -Identity <SiteURL> -ClearGroupId

    I didn't test any functionality of the site with the group disconnected as my intention was to replace the group which I was able to do with Set-SPOSiteOffice365Group as normal.

    0 comments No comments

  2. Xuyan Ding - MSFT 7,601 Reputation points
    2022-06-08T05:56:50.317+00:00

    Hi @Donald Hendrix ,

    Either way, we won't be able to disconnect the O365 group and the SharePoint site. The group must be deleted before the site is deleted, if you try to delete the O365 group, the entire site will also be deleted, this is by design.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.