Jul 19 2019 02:44 PM
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.
Jul 19 2019 03:02 PM
Jul 23 2019 09:41 AM
@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 🙂
Sep 19 2024 02:08 PM