What it works with
Module: Microsoft.Graph.Authentication · Microsoft.Graph.Identity.DirectoryManagement
Context: PowerShell 7 · Microsoft Graph
Compatibility: PowerShell 7 with the current Microsoft Graph PowerShell SDK is recommended.
Exports Microsoft Entra directory objects that reference a selected domain so administrators can identify dependencies before a domain move or tenant-to-tenant migration.
Free browser generation · Review before running · No tenant access by Opselith
Exports Microsoft Entra directory objects that reference a selected domain so administrators can identify dependencies before a domain move or tenant-to-tenant migration.
Configure Export Microsoft 365 domain dependency report in the Builder, review the generated PowerShell and run it in your own environment.
Use this before moving or detaching a custom domain to identify Entra directory objects that Graph reports as referencing that domain.
Exports Microsoft Entra directory objects that reference a selected domain so administrators can identify dependencies before a domain move or tenant-to-tenant migration. Review these details before generating or running the script.
Module: Microsoft.Graph.Authentication · Microsoft.Graph.Identity.DirectoryManagement
Context: PowerShell 7 · Microsoft Graph
Compatibility: PowerShell 7 with the current Microsoft Graph PowerShell SDK is recommended.
Permissions: Domain.Read.All · Global Reader or Domain Name Administrator
Risk: Low
Execution impact: Read-only. Reads administrative data and does not intentionally change the target environment.
Output: CSV with Domain, IsVerified, IsDefault, IsInitial, SupportedServices, DependencyCountForDomain, ObjectId, ObjectType, DisplayOrIdentifier, ResolutionStatus, DependencyStatus, Status and Error.
This template is available in the free library and is generated locally in your browser.
Exports Microsoft Entra directory objects that reference a selected domain so administrators can identify dependencies before a domain move or tenant-to-tenant migration.
Enter the required values in the Builder, review the generated script and confirm the output before running it.