Groups without owner
A group without an owner has nobody accountable for its membership, its settings or its lifecycle, so access granted through it drifts unattended. You can list every such group in Microsoft 365 with a read-only Microsoft Graph PowerShell script and then assign owners or retire the group.
Why it matters
Group owners are the people allowed to manage a group; Microsoft Learn documents them as a group's owners in the Graph API (List group owners). Lifecycle features also lean on them: with the Microsoft 365 group expiration policy, renewal notifications go to the group's owners, so an ownerless group has nobody to answer them (Microsoft 365 group expiration policy). The result is groups that keep granting access to teams, sites and files long after anyone remembers why they exist.
Find it yourself
This script is read-only: it only calls Get-MgGroup and Get-MgGroupOwner and changes nothing in your tenant. It needs the delegated Group.Read.All permission.
Connect-MgGraph -Scopes "Group.Read.All" -NoWelcome
$groups = Get-MgGroup -All -Property Id,DisplayName,GroupTypes,Mail,CreatedDateTime
$ownerless = foreach ($g in $groups) {
$owners = Get-MgGroupOwner -GroupId $g.Id -All
if (-not $owners) {
[pscustomobject]@{
DisplayName = $g.DisplayName
Id = $g.Id
Mail = $g.Mail
Type = if ($g.GroupTypes -contains 'Unified') { 'Microsoft 365' } else { 'Security / distribution' }
Created = $g.CreatedDateTime
}
}
}
$ownerless | Sort-Object Created | Format-Table -AutoSize
Disconnect-MgGraphRead the result
Each row is a group that returned no owner. Start with the Type column: Microsoft 365 groups usually sit behind a Team or SharePoint site, so they are the most likely to expose content. Then check Created to separate long-forgotten groups from recent ones that simply never got an owner. Groups that are mail-enabled or used in access assignments deserve attention before purely informal ones.
What to do next
For each group, decide whether it is still needed. If it is, assign an accountable owner (a named person, ideally a team lead rather than an administrator account). If it is not, review its members and linked resources and then remove it through your normal change process. Where it fits, turn on the group expiration policy so owners are asked to renew groups regularly (documentation). Re-run the script afterwards to confirm the list is shorter.
See it continuously
ConfigCobra's Inventory & Insights includes a built-in risk view for groups without owner, so you do not have to rerun a script by hand. Findings link to the inventory objects they concern, the relation graph shows membership and ownership, and you can export the list as CSV. Inventory is available on Microsoft 365, Azure, Google Cloud and AWS, with a per-cloud and an "All clouds" view. Start with the 14-day free trial.
Go further
- Inventory & InsightsEvery user, app, device and resource in one inventory, with built-in risk views
- Identity & Access GovernanceFind inactive users, guests, admins and risky apps
- Microsoft 365CIS v7.0.0 · 160 controls · read-only Microsoft Graph
- Users inactive 90 daysMicrosoft 365 insight
- Users who never signed inMicrosoft 365 insight
- Users with no MFA registeredMicrosoft 365 insight
- External mail forwardingMicrosoft 365 insight
See it for your whole tenant, continuously
Inventory & Insights lists these risks with built-in views and CSV export, read-only.