Registred pending

%3CLINGO-SUB%20id%3D%22lingo-sub-2144609%22%20slang%3D%22en-US%22%3ERegistred%20pending%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144609%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20few%20Windows%2010%20PC%20are%20pending%20status%20in%20the%20Azure%20portal.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20no%20longer%20have%20those%20PCs%20in%20operation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20i%20remove%20that%20device%20from%20Azure%20Portal%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20safe%20to%20just%20delete%20them%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2144609%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

I have few Windows 10 PC are pending status in the Azure portal.

 

We no longer have those PCs in operation.

 

How do i remove that device from Azure Portal?

 

Is it safe to just delete them?

 

1 Reply
Hi
The best practice is to disable devices first then wait for a grace period and finally proceed to deletion. If you are absolutely sure you can delete them without the grace period .
A typical routine consists of the following steps:

Connect to Azure Active Directory using the Connect-AzureAD cmdlet
Get the list of devices
Disable the device using the Set-AzureADDevice cmdlet (disable by using -AccountEnabled option).
Wait for the grace period of however many days you choose before deleting the device.
Remove the device using the Remove-AzureADDevice cmdlet.
Complete reference here : https://docs.microsoft.com/en-us/azure/active-directory/devices/manage-stale-devices