Before deleting a custom domain from Azure Active Directory (AAD), I first need to get a list of all users, groups, and applications that reference that custom domain. This can be done manually through the Azure portal
Is there a way to get this list through PowerShell? I see the PowerShell cmdlet Get-MsolDomain, but I do not see that this outputs this kind of information.