Home

Is it possible to disconnect a site from an O365 group?

%3CLINGO-SUB%20id%3D%22lingo-sub-323672%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-323672%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20interested%20in%20keeping%20a%20site%20collection%20that%20is%20connected%20to%20an%20Office%20365%20group%2C%20but%20I%20want%20to%20delete%20the%20group%20and%20%22disconnect%22%20it%20from%20the%20site%20(basically%20the%20opposite%20of%20what%20is%20possible%20when%20you%20%22groupify%22%20a%20team%20site).%20Does%20anyone%20know%20if%20this%20is%20a%20PowerShell%20command%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-323672%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-323946%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-323946%22%20slang%3D%22en-US%22%3EAFAIK%2C%20once%20you%20have%20a%20Group%20there%20is%20not%20way%20to%20disconnect%20the%20SharePoint%20Site%20from%20the%20Group%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-442832%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-442832%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3Bif%20you%20do%20find%20out%20how%20to%20do%20this%2C%20please%20let%20me%20know.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-445867%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-445867%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4163%22%20target%3D%22_blank%22%3E%40Andrew%20Warland%3C%2FA%3E%26nbsp%3BI%20would%20create%20a%20new%20team%20site%20and%20migrate%20the%20content%20between%20the%20sites.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-483286%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-483286%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20issue%20that%20we%20had%20was%20that%20we%20used%20the%20'connect%20to%20new%20Office%20365%20Group'%20and%20then%20forgot%20to%20use%20the%20correct%20naming%20convention%2C%20which%20was%20not%20an%20idea%20situation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20it%20is%20not%20possible%20to%20disconnect%20the%20site%20from%20the%20new%20group%20to%20do%20it%20again%2C%20we%20were%20able%20to%20fix%20the%20group%20(email%20address)%26nbsp%3Bname%20via%20these%20instructions%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FIs-there-a-way-to-change-O365-group-email-address-using%2Ftd-p%2F49872%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FIs-there-a-way-to-change-O365-group-email-address-using%2Ftd-p%2F49872%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-985045%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-985045%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4163%22%20target%3D%22_blank%22%3E%40Andrew%20Warland%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5068%22%20target%3D%22_blank%22%3E%40Bynum%20Hoekstra%3C%2FA%3E%26nbsp%3B%20I%20didn't%20try%20this.%20But%2C%20you%20can%20take%20a%20look%20at%20the%20command%20available%20in%20PowerShell.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fsharepoint-online%2Fremove-spositegroup%3Fview%3Dsharepoint-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fsharepoint-online%2Fremove-spositegroup%3Fview%3Dsharepoint-ps%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-Praveen.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-985361%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-985361%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F374922%22%20target%3D%22_blank%22%3E%40Praveen_Battula%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20link!%20I'll%20try%20to%20check%20it%20out%20sometime%20soon.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1022882%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1022882%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5068%22%20target%3D%22_blank%22%3E%40Bynum%20Hoekstra%3C%2FA%3E%26nbsp%3Bhave%20you%20been%20able%20to%20test%20the%20PS%20script%20to%20see%20if%20you're%20able%20to%20disassociate%20a%20team%20site%20from%20O365%20group%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1382056%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20disconnect%20a%20site%20from%20an%20O365%20group%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1382056%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20It%20seems%20that%20this%20command%20is%20for%20removing%20Site%20Groups%20(and%20not%20O365%20Groups)%2C%20as%20it's%20mentioned%20in%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Foffice-docs-powershell%2Fissues%2F4893%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%20issue%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I'm interested in keeping a site collection that is connected to an Office 365 group, but I want to delete the group and "disconnect" it from the site (basically the opposite of what is possible when you "groupify" a team site). Does anyone know if this is a PowerShell command?

8 Replies
Highlighted
AFAIK, once you have a Group there is not way to disconnect the SharePoint Site from the Group
Highlighted

@Juan Carlos González Martín if you do find out how to do this, please let me know. 

Highlighted

@Andrew Warland I would create a new team site and migrate the content between the sites.

Highlighted

The issue that we had was that we used the 'connect to new Office 365 Group' and then forgot to use the correct naming convention, which was not an idea situation.

 

As it is not possible to disconnect the site from the new group to do it again, we were able to fix the group (email address) name via these instructions:

https://techcommunity.microsoft.com/t5/Office-365-Groups/Is-there-a-way-to-change-O365-group-email-a...

Highlighted

@Andrew Warland @Bynum Hoekstra  I didn't try this. But, you can take a look at the command available in PowerShell. 

 

https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/remove-spositegroup?view=sharep...

 

-Praveen.

Highlighted

@Praveen_Battula Thanks for the link! I'll try to check it out sometime soon. 

Highlighted

@Bynum Hoekstra have you been able to test the PS script to see if you're able to disassociate a team site from O365 group?

Highlighted

Hi, It seems that this command is for removing Site Groups (and not O365 Groups), as it's mentioned in this issue.