Hi Team,
I have azure subscription and Office 365 (Both are trial a/c). Now, my azure subscription is nearly to finish, so i want to remove all of my directory from azure. I run below cmdlet before i delete the domain, active directory.
$msolcred = get-credential
connect-msolservice -credential $msolcred
Get-MsolServicePrincipal | Remove-MsolServicePrincipal
Below service is still remaining on my active directory after i run above cmdlet.
Microsoft.Azure.ActiveDirectoryMicrosoft.Azure.GraphExplorer
Microsoft.Azure.ActiveDirectoryUX
Microsoft.Azure.Portal
Microsoft.Office365Portal
Microsoft.Azure.Workflow
Microsoft.SellerDashboard
Microsoft.Intune
Microsoft.ExchangeOnlineProtection
Microsoft.Lync
Microsoft.Exchange
Power BI
Microsoft.SharePoint
Some example said, should be remain below service only
Microsoft.Azure.ActiveDirectoryMicrosoft.Azure.ActiveDirectoryUX
Microsoft.Azure.GraphExplorer
Microsoft.Azure.Portal
Microsoft.Azure.GraphStore
Microsoft.Azure.SyncFabric
I do not have customer domain on my azure, i have *onmicrosoft.com only. But not able to delete the active directory. I got below message when i delete the directory.
Cannot delete 'Your Services'The following issue(s) prevent deletion of this directory:
•Directory has one or more subscriptions to Microsoft Online Services.
What kind of cmdlet need to run for this?
Regards,
Yukon
Make Simple & Easy