AAD Device Pending
https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/pending-devices
![](https://docs.jianny.net/~gitbook/image?url=https%3A%2F%2F2627915664-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FC5L8BFhTKgXFngIiQkEm%252Fuploads%252FFly1MKQLM1OyERcJEAZH%252Fimage.png%3Falt%3Dmedia%26token%3D93a8cab4-7b16-4d0a-9819-0b0bef75e719&width=768&dpr=4&quality=100&sign=320c73a&sv=1)
#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
![](https://docs.jianny.net/~gitbook/image?url=https%3A%2F%2F2627915664-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FC5L8BFhTKgXFngIiQkEm%252Fuploads%252FTNTvai0CV24kTZkrL3Nr%252Fimage.png%3Falt%3Dmedia%26token%3D0d89608d-8c76-4ee0-a5e5-255b95bb614b&width=768&dpr=4&quality=100&sign=18ddc02d&sv=1)
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