Reference documentation and code samples for the Managed Service for Microsoft Active Directory v1 API class ManagedIdentitiesService.
API Overview
The managedidentites.googleapis.com service implements the Google Cloud
Managed Identites API for identity services
(e.g. Microsoft Active Directory).
The Managed Identities service provides methods to manage
(create/read/update/delete) domains, reset managed identities admin password,
add/remove domain controllers in GCP regions and add/remove VPC peering.
Data Model
The Managed Identities service exposes the following resources:
Locations as global, named as follows:
projects/{project_id}/locations/global.
Domains, named as follows:
/projects/{project_id}/locations/global/domain/{domain_name}.
The {domain_name} refers to fully qualified domain name in the customer
project e.g. mydomain.myorganization.com, with the following restrictions:
Must contain only lowercase letters, numbers, periods and hyphens.
Must start with a letter.
Must contain between 2-64 characters.
Must end with a number or a letter.
Must not start with period.
First segement length (mydomain form example above) shouldn't exceed
15 chars.
public static void BindService(ServiceBinderBase serviceBinder, ManagedIdentitiesService.ManagedIdentitiesServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eManagedIdentitiesService\u003c/code\u003e class within the Google Cloud Managed Identities v1 API, focusing on managing Microsoft Active Directory services.\u003c/p\u003e\n"],["\u003cp\u003eThe API enables the management of domains, including creation, reading, updating, and deletion, as well as resetting admin passwords and modifying domain controller and VPC peering configurations.\u003c/p\u003e\n"],["\u003cp\u003eDomain names must adhere to specific formatting rules, such as lowercase characters, lengths between 2-64, and other defined constraints for the domain name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eManagedIdentitiesService\u003c/code\u003e class offers methods like \u003ccode\u003eBindService\u003c/code\u003e for registering service definitions and binding service methods, which are essential for implementing server-side logic.\u003c/p\u003e\n"],["\u003cp\u003eSeveral versions of the API are available, ranging from version 2.2.0 to the latest version 3.3.0.\u003c/p\u003e\n"]]],[],null,["# Managed Service for Microsoft Active Directory v1 API - Class ManagedIdentitiesService (3.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/latest/Google.Cloud.ManagedIdentities.V1.ManagedIdentitiesService)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.2.0/Google.Cloud.ManagedIdentities.V1.ManagedIdentitiesService)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.1.0/Google.Cloud.ManagedIdentities.V1.ManagedIdentitiesService)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.0.0/Google.Cloud.ManagedIdentities.V1.ManagedIdentitiesService)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/2.3.0/Google.Cloud.ManagedIdentities.V1.ManagedIdentitiesService)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/2.2.0/Google.Cloud.ManagedIdentities.V1.ManagedIdentitiesService) \n\n public static class ManagedIdentitiesService\n\nReference documentation and code samples for the Managed Service for Microsoft Active Directory v1 API class ManagedIdentitiesService.\n\nAPI Overview\n\nThe `managedidentites.googleapis.com` service implements the Google Cloud\nManaged Identites API for identity services\n(e.g. Microsoft Active Directory).\n\nThe Managed Identities service provides methods to manage\n(create/read/update/delete) domains, reset managed identities admin password,\nadd/remove domain controllers in GCP regions and add/remove VPC peering.\n\nData Model\n\nThe Managed Identities service exposes the following resources:\n\n- Locations as global, named as follows:\n `projects/{project_id}/locations/global`.\n\n- Domains, named as follows:\n `/projects/{project_id}/locations/global/domain/{domain_name}`.\n\nThe `{domain_name}` refers to fully qualified domain name in the customer\nproject e.g. mydomain.myorganization.com, with the following restrictions:\n\n- Must contain only lowercase letters, numbers, periods and hyphens.\n- Must start with a letter.\n- Must contain between 2-64 characters.\n- Must end with a number or a letter.\n- Must not start with period.\n- First segement length (mydomain form example above) shouldn't exceed 15 chars.\n- The last segment cannot be fully numeric.\n- Must be unique within the customer project. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ManagedIdentitiesService \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.ManagedIdentities.V1](/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/latest/Google.Cloud.ManagedIdentities.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ManagedIdentities.V1.dll\n\nMethods\n-------\n\n### BindService(ManagedIdentitiesServiceBase)\n\n public static ServerServiceDefinition BindService(ManagedIdentitiesService.ManagedIdentitiesServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, ManagedIdentitiesServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, ManagedIdentitiesService.ManagedIdentitiesServiceBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]