O365 groups missing - SharePoint Modern Team Site

Copper Contributor

Hello Everyone,

We have over 450+ team site in our SPO tenant and we started to noticed that most of these site does not have an O365 group associated/attached to it. Looks like O365 groups did not get created during the site creation.

>  The built in filter view in SPO admin page- active sites - shows that all the sites has O365 groups 
however cannot find them under groups in any admin page (SPO,Exchange groups, or in AzurePortal)

> Tried to create a new group via PS and i get this message
Connect-SPOService -Url $SPOAdminCenterUrl -Credential $O365Cred

$GroupDisplayName="Group Display Name"
$GroupAlias="GroupAlias"
Set-SPOSiteOffice365Group -Site $ModernSPOSite -DisplayName $GroupDisplayName -Alias $GroupAlias
====
Output
====
Set-SPOSiteOffice365Group : This site already has an O365 Group attached.
At line:5 char:1
+ Set-SPOSiteOffice365Group -Site https://modern.sharepoint.com/sites ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-SPOSiteOffice365Group], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.SetSPOOffice365Group

 

Any suggestion on how to get a report or list of all the site which does not have O365 groups associated to the Modern site

 

Thanks in advanced. 

3 Replies
You can actually create a modern SP team site without a office 365 group, but that doesn’t seem to be applicable here since it says it belongs to a group?
Have you tried to search for office 365 groups in the office 365 admin portal - groups?
Powershell: get-unifiedgroup with the exchange ps module connected!

How did the sites get created? Via SP?

@adam deltinger  The site was creating via SP 
these deleted groups are not listed under O365 admin portal- groups, nor in the azure portal under deleted groups. Will try this Powershell: get-unifiedgroup with the exchange ps module connected! and let you know. 
Thanks for your time 🙂 

Have you been able to fix this? I'm having the same issue. The site is attached to a group that doesn't exist anymore. And I can't change the site because is already linked.

Thanks.