Getting All Azure AD Users with a particular on-premises extension attribute using the Microsoft Graph SDK for PowerShell.

PowerShell Code

Note: This code requires the Microsoft Graph SDK for PowerShell.