Reporting on the state of users using devices joined, compliant and unmanaged at the time of their request to access a specific application.

Sample Output

UserPrincipalName                 DeviceName TrustType                  IsCompliant
-----------------                 ---------- ---------                  -----------
joe.bloggs@domain.com             Computer1  Hybrid Azure AD Joined     False
...
  1. Returns those users with a device Azure AD Joined and Compliant
  2. Returns those users with a device Azure AD Joined but Non-Compliant
  3. Returns those users using unmanaged devices
  4. Returns users using unmanaged devices with no other Azure AD Joined device

Based upon a 30 day history.

PowerShell Code

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

Updated: