Azure | Azure Training
Training: Instruction to develop new skills.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I made the fatal error of joining my personal email to Azure and now im trying to shutdown my email and im stuck in the ridiculous MS loop.
I would appreciate in some help to close this down :(
ive tried this -
WARNING: This will delete your enterprise application forever
//Login to Azure from Powershell
Login-AzAccount
//Ensure that you are connected to the correct Tenant
Get-AzContext
//Get your Enterprise Applications just to see the number
Get-AzAdServicePrincipal
//Use foreach to delete all of them
Get-AzAdServicePrincipal | ForEach-Object -Process {Remove-AzADServicePrincipal -ObjectId $_.Id}
//There could be some errors about undeletable Enterprise Apps, don't worry
//Check the list again
Get-AzAdServicePrincipal
//Enjoy that many are not there anymore. :-)
Training: Instruction to develop new skills.