Fix Teams Ownerless Team Report Is Incomplete after a Tenant Rename
🔍 WiseChecker

Fix Teams Ownerless Team Report Is Incomplete after a Tenant Rename

Your Teams admin center Ownerless Team report shows fewer teams than expected after you renamed your Microsoft 365 tenant. The report misses teams that still have an owner in the directory, even though the owner account appears inactive or unlicensed. This happens because the report filters on the tenant name stored in each team’s metadata, and a tenant rename does not update that metadata automatically. This article explains the root cause and gives you a step-by-step method to regenerate the report so it reflects your renamed tenant.

Key Takeaways: Regenerate Ownerless Team Report After Tenant Rename

  • Teams admin center > Teams > Manage teams > Export: Exports the full team list with owner IDs and team IDs for cross-checking.
  • PowerShell Get-Team and Get-TeamUser: Lists every team and its current owners, bypassing the tenant name filter that causes the incomplete report.
  • Microsoft 365 admin center > Settings > Org settings > Organization profile: Confirms the new tenant name that the report expects to see.

ADVERTISEMENT

Why the Ownerless Team Report Misses Teams After a Tenant Rename

The Ownerless Team report in the Teams admin center identifies teams that have no active owner in Microsoft Entra ID. The report relies on a background job that scans team metadata, including the tenant name that was recorded when each team was created. When you rename your tenant, the new name is applied to the organization profile, but existing team objects retain the old tenant name in their metadata fields.

The reporting service compares the tenant name in each team’s metadata against the current tenant name. Teams whose metadata still contains the old tenant name are skipped, even if they have no owner. The result is an incomplete report that undercounts ownerless teams.

Another factor is the owner check itself. The report considers an owner “active” only if the owner account has a valid license and is not blocked from sign-in. If the owner has been unlicensed or disabled, the team should appear in the report. But the tenant name mismatch prevents that team from being evaluated at all.

How the Tenant Name Is Stored in Team Metadata

Each team object in Microsoft Entra ID has a property called tenantId and a display name that includes the tenant domain. A tenant rename changes the primary domain and the organization display name. The tenantId GUID stays the same, but the display name and domain change. The Ownerless Team report uses the display name, not the GUID, to match teams to the current tenant. This mismatch is why the report becomes incomplete.

Steps to Regenerate the Ownerless Team Report After a Tenant Rename

Follow these steps to get a complete Ownerless Team report. You will need Teams admin permissions and the Teams PowerShell module.

  1. Confirm the new tenant name
    Sign in to the Microsoft 365 admin center at admin.microsoft.com. Go to Settings > Org settings > Organization profile. Note the organization name and the primary domain. This is the name the report expects to see in team metadata.
  2. Export the current team list from the Teams admin center
    Go to Teams admin center > Teams > Manage teams. Click Export. The CSV file contains every team, its ID, and its owner list. Save this file for comparison.
  3. Install and connect to the Teams PowerShell module
    Open Windows PowerShell as an administrator. Run Install-Module -Name MicrosoftTeams -Force -AllowClobber. Then run Connect-MicrosoftTeams and sign in with a Teams admin account.
  4. Retrieve all teams and their owners
    Run Get-Team | Select-Object GroupId, DisplayName to list every team. For each team, run Get-TeamUser -GroupId <GroupId> -Role Owner to list the owners. Write the results to a CSV file with Export-Csv.
  5. Identify teams with no owners in the PowerShell output
    Compare the PowerShell owner list against the Teams admin center export. Teams that appear in PowerShell with an empty owner list are ownerless. Add them to your report manually.
  6. Update the tenant name in team metadata
    There is no direct UI to update team metadata. Use the Microsoft Graph API to change the team display name and description. Run a Graph request to update each team’s displayName to include the new tenant name. This forces the metadata to refresh.
  7. Wait 24 hours and regenerate the Ownerless Team report
    The background job that builds the report runs daily. Wait at least 24 hours after the metadata update. Then go to Teams admin center > Teams > Ownerless teams and export the report again. Verify that the count matches your PowerShell output.

Using Microsoft Graph to Update Team Metadata

To update team metadata, use the Graph API endpoint PATCH /teams/{team-id}. Send a JSON body with the new displayName and description. You can script this in PowerShell with the Invoke-RestMethod cmdlet. This step is optional if you only need the report for auditing, but it ensures future reports are accurate.

ADVERTISEMENT

If the Ownerless Team Report Still Shows Missing Teams

Teams with an owner that is unlicensed or disabled

The report skips teams whose owner has a valid license but is blocked from sign-in. To include these teams, unblock the owner or assign a license. Go to Microsoft 365 admin center > Users > Active users, select the user, and manage their sign-in status and licenses. After the change, the background job will pick up the team in the next daily run.

Teams created in a different tenant before the rename

If your organization had a multi-tenant setup and teams were created under the old tenant name, those teams may never appear in the report. You must migrate those teams to the current tenant using Teams migration tools. After migration, the metadata is updated automatically.

Teams with a deleted owner account

When an owner account is deleted from Entra ID, the team still exists but the owner reference is orphaned. The report should flag these teams, but the tenant name mismatch can hide them. Use the PowerShell method above to find teams with no valid owner. Then assign a new owner via Add-TeamUser -GroupId <GroupId> -User <UPN> -Role Owner.

Ownerless Team Report: PowerShell vs Teams Admin Center

Item PowerShell (Get-Team, Get-TeamUser) Teams Admin Center (Ownerless Team Report)
Data source Direct Graph query of all teams Background job with tenant name filter
Effect of tenant rename Unaffected, uses GroupId Skips teams with old tenant name
Owner detection Lists owner UPNs even if unlicensed Only counts active licensed owners
Time to results Immediate Up to 24 hours
Best use Audit and manual correction Standard compliance reporting

Use PowerShell when you need an immediate, complete list. Use the admin center report for ongoing monitoring after the metadata is corrected.

You can now regenerate a complete Ownerless Team report after a tenant rename by combining the admin center export with PowerShell owner checks. Update team metadata via Microsoft Graph to prevent future mismatches. As a next step, schedule a monthly PowerShell script that compares the admin center report against the Graph data. This catches any teams that the background job might skip. For advanced control, use the Get-Team cmdlet with the -Filter parameter to narrow results by display name.

ADVERTISEMENT