AAD Device Pending


#1 Capture the output from 'dsregcmd /status' on the cmd prompt and upload the result here

#2 Unregister the device by doing 'dsregcmd /reset' command in an elevated cmd prompt (Run as admin), then restart the PC. Try again if Teams can log in after 9 - 12 hours.

#3 Task Scheduler Library > Microsoft > Windows > Workplace Join, manually start the task "Automatic-Device-Join" then make sure certificates issued by “MS-Organization-Access” and “MS-Organization-P2P-Access [xxxx]” have been created in the local machine Personal certificate store, reboot PC

#4 The Last resort is to reset/format this machine

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

Last updated