tenantGroup: tenantSearch
Namespace: microsoft.graph.managedTenants
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Searches for the specified managed tenants across tenant groups.
Permissions
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | ManagedTenants.Read.All, ManagedTenants.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Not supported. |
HTTP request
POST /tenantRelationships/managedTenants/tenantGroups/tenantSearch
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. |
Content-Type | application/json. Required. |
Request body
In the request body, supply JSON representation of the parameters.
The following table shows the parameters that can be used with this action.
Parameter | Type | Description |
---|---|---|
tenantId | String | The Azure Active Directory tenant identifier for the managed tenant. |
Response
If successful, this action returns a 200 OK
response code and a microsoft.graph.managedTenants.tenantGroup collection in the response body.
Examples
Request
POST https://graph.microsoft.com/beta/tenantRelationships/managedTenants/tenantGroups/tenantSearch
Content-Type: application/json
{
"tenantId": "String"
}
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#tenantGroups",
"value": [
{
"id": "2e6a0c9f-986d-480e-ad4b-bdfddc047aba",
"displayName": "Default",
"allTenantsIncluded": true,
"tenantIds": [],
"managementIntents": [
{
"managementIntentId": "586895ab-8a59-4b79-be25-b06949a819bb",
"managementIntentDisplayName": "Default Baseline",
"managementTemplates": [
{
"managementTemplateId": "e5834405-43d2-4815-867d-3dd600308d1c",
"displayName": "Baseline - Block Legacy Authentication",
"category": "identity"
},
{
"managementTemplateId": "12524106-036f-457f-b7a6-b003509d29c8",
"displayName": "Baseline - Require MFA for Admins",
"category": "identity"
},
{
"managementTemplateId": "21230aa5-d5a9-4403-b179-baf2de242aca",
"displayName": "Baseline - Require MFA for end users",
"category": "identity"
},
{
"managementTemplateId": "e2cadc41-a08f-45e7-8eb1-942d224dfb9a",
"displayName": "Baseline - Enroll devices in MEM",
"category": "devices"
},
{
"managementTemplateId": "31d57d29-2d54-4074-84bd-51c008c2e6b2",
"displayName": "Baseline - Setup Compliance Policy for Windows 10 devices",
"category": "devices"
},
{
"managementTemplateId": "b2d6d189-ea31-4cf8-b75e-41210c583127",
"displayName": "Baseline - Setup Microsoft Defender Antivirus Policy for Windows 10 devices",
"category": "devices"
}
]
}
],
"managementActions": []
}
]
}
Feedback
Submit and view feedback for