AAD Device Pending
Last updated
Last updated
https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/pending-devices
Get-MgDevice -All -Filter "TrustType eq 'ServerAd'" | Where-Object{($
.ProfileType -ne "RegisteredDevice") -and (-not $
.AlternativeSecurityIds)} | select-object -Property AccountEnabled, Id, DeviceId, DisplayName, OperatingSystem, OperatingSystemVersion, TrustType | export-csv pendingdevicelist-summary.csv -NoTypeInformation