This is a subcode from my MicrosoftEntra_AzureAD respiratory.
The Deprovision User Account script will delete the user's account from Microsoft Entra. The script will:
- Repeat steps 1 to 8 from the User Account Provision script.
- Loop through the CSV filecontaining the UPN.
- Delete each user account.
- Log into the log file.