Update

For the latest version of this code please visit msgraph-sdk-powershell-examples.

Deprecated Content

Retrieving all Azure AD Application Registrations without owners using the Microsoft Graph SDK for PowerShell and the Get-MgApplication cmdlet.

PowerShell Code

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