Skip to content

patlewis-MSFT/RemoveIntuneDevice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

RemoveIntuneDevice

Removes a device even if the user has been deleted

Version 1.0.4

The RemoveIntuneDevice.ps1 script enables you to retire and delete a device owned by the specified UPN.

This is particularly useful if a user has been deleted from AAD without first deleting the device from Intune. When this occurs you will see the device listed in the Azure Intune portal without an owner.

Prerequisites

Getting Started

After the prerequisites are installed or met, perform the following steps to use the script:

  1. Download the RemoveIntuneDevice.ps1 to your local Windows machine
  2. Run PowerShell from an elevated Administrator account
  3. Browse to the directory where you copied RemoveIntuneDevice.ps1
    • Type: .\RemoveIntuneDevice.ps1
  4. Follow the prompts for authentication and for the UPN of the owner or previous owner's device

Support

Report any issues or problems using the "Issues" tab. Support for this product is not offered by Microsoft Support.

About

Removes a device even if the user has been deleted

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages