To delete an Autopilot device from Azure AD, you'll need to remove the device from the Azure AD device list. This can be a bit tricky, but don't worry, we'll walk you through the process.
First, ensure you have the necessary permissions to delete devices from Azure AD. Typically, this requires being a Global Administrator or a Device Administrator.
You can find the device you want to delete in the Azure AD device list by searching for its device name or ID. Once you've located the device, select it to view its details.
Next, click on the "Delete" button to initiate the deletion process. Be aware that deleting a device will also remove it from Intune.
Preparation
Before you delete your autopilot device from Azure AD, it's essential to back up your device's configuration.
To do this, go to the Azure AD portal and click on "Azure Active Directory" in the left-hand menu, then select "Device configuration" and click on "Export" to download a backup of your device's configuration.
This will ensure that you can easily restore your device's settings if needed.
Check Azure AD Subscription
Before you start working with Azure AD, it's essential to check your subscription. You can do this by logging into the Azure portal and navigating to the Azure Active Directory section, where you can view your subscription details.
Make sure your subscription is active and has the necessary features enabled. You can check the subscription status by clicking on the "Subscription" tab and verifying the "State" field.
To ensure you have the correct features, check the "Pricing" tab to see what's included in your subscription. If you're missing any features, you may need to upgrade or change your subscription plan.
Double-check that your subscription is set up correctly by verifying the "Directory" and "Tenant" information. This will help you avoid any issues when setting up Azure AD services.
Verify Device Ownership
To verify device ownership, you'll need to have your device's IMEI number handy, which can be found on the device itself or by dialing *#06#.
Before you start the verification process, make sure you have a stable internet connection, as this will be required to complete the verification.
You'll also need to have the device's serial number and your account information ready, as these will be used to confirm ownership.
The verification process typically takes a few minutes to complete, so be patient and make sure you have all the necessary information before starting.
Locate Device in Azure AD
To locate a device in Azure AD, you need to use the Azure AD device management features. This includes the ability to view and manage all devices registered in your Azure AD tenant.
The Azure AD device registration process involves the user installing an Azure AD authentication agent on their device. This agent allows the device to be registered and managed within Azure AD.
You can view all registered devices in Azure AD by navigating to the Azure portal and selecting the "Azure Active Directory" service. From there, you can click on "Devices" to view a list of all registered devices.
Azure AD also allows you to filter devices by various criteria, such as operating system, device type, and user assignment. This can be useful for quickly locating a specific device in your Azure AD tenant.
You can also use the "Device status" feature in Azure AD to view the status of each device, including whether it is online or offline. This can be helpful for troubleshooting issues with device registration or management.
Update Azure AD Configuration
Before you can update your Azure AD configuration, you need to have a directory in Azure AD.
To start, you need to create a new directory in Azure AD, which can be done by selecting the "Create a directory" button on the Azure AD dashboard.
You'll be asked to provide some basic information about your organization, such as its name and domain name.
This information will be used to set up your Azure AD directory, which will serve as the foundation for your organization's identity and access management.
Azure AD supports multiple domain names, and you can add up to 900 domains to your directory.
You should also consider setting up a custom domain name, which will give your organization a more professional and memorable online presence.
Custom domain names can be added to Azure AD by clicking on the "Custom domain" button on the Azure AD dashboard.
Once you've set up your Azure AD directory and added a custom domain name, you can start updating your configuration to meet your organization's specific needs.
Delete Autopilot Device
To delete an Autopilot device from Azure AD, you'll need to sign in to the Azure portal.
You can find the device you want to delete by searching for it in the Azure AD devices list.
Click on the device to open its properties page.
From the properties page, click on the "Delete" button.
This will initiate the deletion process, which can take a few minutes to complete.
Once the deletion is complete, the device will be removed from Azure AD.
Make sure to verify that the device has been successfully deleted by checking the Azure AD devices list.
Post-Deletion Steps
After deleting your autopilot device from Azure AD, you'll need to verify the change by checking the device's registration status.
The device will be removed from the Azure AD device list within 24 hours, as stated in the "Device Deletion" section.
You'll need to update your Azure AD configuration to reflect the change, including removing any references to the deleted device.
The deleted device's object ID will be retained in Azure AD for auditing and compliance purposes, as explained in the "Device Deletion and Retention" section.
You may also need to update your organization's Azure AD policies to prevent similar devices from being autopiloted in the future.
To confirm the deletion, check the Azure AD device registration logs for any entries related to the deleted device.
Frequently Asked Questions
What happens if you delete a device from Azure AD?
Deleting a device from Azure AD removes access to company resources and may result in data loss if the device tries to sign in afterwards.
How to remove Azure AD registered devices?
To remove Azure AD registered devices, go to Settings > Accounts > Access Work or School, or use the Intune portal if your device is enrolled. You can also retire or delete the device from the Intune portal for non-managed laptops.
Sources
- https://blog.nathanmcnulty.com/azure-automation-device-cleanup-v2/
- https://www.anoopcnair.com/delete-windows-autopilot-device-from-intune/
- https://gist.github.com/SMSAgentSoftware/27ff318f3973b97ca6b5cb99e8c93293
- https://www.powershellgallery.com/packages/AutopilotNuke/2.3/Content/AutopilotNuke.ps1
- https://www.burgerhout.org/device-clean-up-in-azuread-intune/
Featured Images: pexels.com