Stay organized with collections
Save and categorize content based on your preferences.
This article shows you how to list your existing Managed Service for Microsoft Active Directory domains,
get information about them, and delete domains you no longer need.
Getting domain info
You can query for more information about a specific domain, including its
current state. This is especially useful when creating a new domain.
The domain's configuration is being updated. The domain is still usable.
This status is only used for user-initiated changes to the domain.
DELETING
The domain is being deleted.
REPAIRING
The domain is being repaired and may be unusable.
Details can be found in the statusMessage field.
PERFORMING_MAINTENANCE
The domain is undergoing maintenance. The domain is still usable.
This status is only used for changes to the domain initiated by the service.
The status will not appear for any changes that have been initiated by users.
UNAVAILABLE
The domain is not serving requests.
Listing domains
Console
Open the Managed Microsoft AD page in the Google Cloud console.
It contains a list of all domains in the project.
Open the Managed Microsoft AD page
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Manage domains\n\nThis article shows you how to list your existing Managed Service for Microsoft Active Directory domains,\nget information about them, and delete domains you no longer need.\n\nGetting domain info\n-------------------\n\nYou can query for more information about a specific domain, including its\ncurrent state. This is especially useful when creating a new domain.\n\nTo get domain info: \n\n### Console\n\n1. Open the Managed Microsoft AD page in the Google Cloud console.\n\n\n [Open the Managed Microsoft AD page](https://console.cloud.google.com/security/cloud-ad)\n\n2. Select a domain from the list to see detailed info on it.\n\n### gcloud\n\nRun the following command, replacing \\[DOMAIN-NAME\\] with the name of your\ndomain (such as *ad.mycompany.com*): \n\n gcloud active-directory domains describe [DOMAIN-NAME]\n\nThe response is YAML describing the\n[domain](/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains). \n\n```\nadmin: setupadmin\nauthorizedNetworks:\n- projects/my-project/global/networks/my-vpc\ncreateTime: '2019-03-27T22:35:58.135726571Z'\nfqdn: ad.mycompany.com\nlocations:\n- us-west1\nname: projects/my-project/locations/global/domains/ad.mycompany.com\nreservedIpRange: 172.16.0.0/26\nstate: READY\nupdateTime: '2019-03-29T23:58:12.249298693Z'\n```\n\nPossible domain states include:\n\nListing domains\n---------------\n\n### Console\n\nOpen the Managed Microsoft AD page in the Google Cloud console.\nIt contains a list of all domains in the project.\n\n\n[Open the Managed Microsoft AD page](https://console.cloud.google.com/security/cloud-ad)\n\n### gcloud\n\nRun the following command: \n\n gcloud active-directory domains list\n\nThe response is a list of domains in the project: \n\n```\nDOMAIN_NAME DOMAIN_STATE RESERVED_IP_RANGE REGIONS LABELS ADMIN_NAME CREATE_TIME\ncorporate.company.com READY 172.16.0.0/26 [u'us-west1'] setupadmin 2019-01-01T22:00:00\npartners.company.com READY 192.168.0.0/26 [u'us-east1'] CustomAdminName 2019-02-01T22:00:00\n```\n\nDeleting a domain\n-----------------\n\n**Warning:** Deleting a domain is permanent. All data associated with the domain will be permanently lost (including users, groups, backups, etc). \n\n### Console\n\n1. Open the Managed Microsoft AD page in the Google Cloud console. \n\n [Open the Managed Microsoft AD page](https://console.cloud.google.com/security/cloud-ad)\n\n2. Select the domain to delete.\n\n3. Click the delete **Delete** button,\n and accept the confirmation prompt.\n\n### gcloud\n\nRun the following command, replacing \\[DOMAIN-NAME\\] with the\nname of your domain (such as *ad.mycompany.com*) \n\n gcloud active-directory domains delete [DOMAIN-NAME]"]]