Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Directory Delete Error

$
0
0

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.ActiveDirectory
Microsoft.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.ActiveDirectory
Microsoft.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




Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>