Retirement of MSOnline PowerShell begins in April 2025. Learn about the timeline and required actions.
Updated Mar 13, 2025
Version 7.0Hi,
Hopefully, there's a similar cmdlet from Get-MgUser to collect all the Exchange mail/licensing errors from the user's 'Properties' like what the Get-MSOLUser had offered (ValidationStatus, Errors, IndirectLicenseErrors, DirSyncProvisioningErrors), which was very helpful in identifying the root cause of some of the mail access issues, (e.g., from lack of license, to duplicate account ID/name in the systems, to duplicate alias, among other related errors) which most of the general t-shoot tools doesn't pick these info up at all.
Unless I missed these Properties from the Get-MgUser cmdlet, or from other commands (Get-AzureADUser, Get-MailboxStatistics), please advise so.
Thank you,