Powershell. Gets Entra/Azure AD account details from a provided email address
Given an email address, filters the list of accounts in Azure AD by checking the Mail and UPN fields
Currently uses the Beta cmdlets, for the V2 Microsoft API
Parameters
The email address you are searching for. This should be the primary email, or the UPN
Examples
Get-EntraUserDetails -Email elaine.benes@jpetermancatalog.com