OPS / SCRIPT DETAILS
Script details
Creates a normalized migration-focused identity and recipient dataset by correlating Microsoft Graph user data with Exchange Online recipient metadata without duplicating every workload report. Review these details before generating or running the script.
microsoft-365migrationidentitymappingentraexchangeexport
What it works with
Module: Microsoft.Graph.Authentication · Microsoft.Graph.Users · ExchangeOnlineManagement
Context: PowerShell 7.6+ · Microsoft Graph · Exchange Online
Compatibility: PowerShell 7.6+ is used so current ExchangeOnlineManagement 3.10.x and Microsoft Graph can run in one supported PowerShell 7 session.
Permissions and impact
Permissions: User.Read.All · Read-only recipient visibility
Risk: Low
Execution impact: Read-only. Reads administrative data and does not intentionally change the target environment.
Parameters
- CSV output path - Use a new absolute Windows CSV path. Protect the report because it contains tenant identity metadata. (Required)
- Include shared mailboxes - Adds Exchange Online shared mailboxes that are not already represented by a Graph user row. (Optional)
- Include guest users - Include Entra guest identities in the normalized source dataset. (Optional)
Output
Output: CSV with ObjectId, ObjectType, UserType, DisplayName, UPN, PrimarySmtpAddress, Aliases, AccountEnabled, Licensed, LicenseCount, RecipientType, SourceKey, MappingStatus, Status and Error.
This template is available in the free library and is generated locally in your browser.
Example use
Creates a normalized migration-focused identity and recipient dataset by correlating Microsoft Graph user data with Exchange Online recipient metadata without duplicating every workload report.
Enter the required values in the Builder, review the generated script and confirm the output before running it.