Get managementAction
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.
Read the properties and relationships of a managementAction object.
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
GET /tenantRelationships/managedTenants/managementActions/{managementActionId}
Optional query parameters
This method supports the OData query parameters to help customize the response, including $apply
, $count
, $filter
, $orderBy
, $select
, $skip
, and $top
.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. |
Request body
Do not supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and a managementAction object in the response body.
Examples
Request
GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/managementActions/{managementActionId}
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#tenantRelationships/managedTenants/managementActions/$entity",
"id": "4274db74-99c4-40be-bbeb-da4351136be2",
"referenceTemplateId": "21230aa5-d5a9-4403-b179-baf2de242aca",
"displayName": "Baseline - Require MFA for end users",
"description": null,
"category": "identity",
"workloadActions": [
{
"actionId": "fcb7ace7-3ea6-4474-912a-00ee78554445",
"category": "automated",
"displayName": "ConditionalAccessPolicy",
"description": null,
"service": "AAD",
"settings": [
{
"valueType": "string",
"displayName": "DisplayName",
"overwriteAllowed": false,
"jsonValue": "\"Baseline - Require MFA for end users\""
},
{
"valueType": "string",
"displayName": "State",
"overwriteAllowed": false,
"jsonValue": "\"enabledForReportingButNotEnforced\""
},
{
"valueType": "stringCollection",
"displayName": "ClientAppTypes",
"overwriteAllowed": false,
"jsonValue": "[\"All\"]"
},
{
"valueType": "stringCollection",
"displayName": "IncludeApplications",
"overwriteAllowed": false,
"jsonValue": "[\"All\"]"
},
{
"valueType": "stringCollection",
"displayName": "IncludeUsers",
"overwriteAllowed": false,
"jsonValue": "[\"None\"]"
},
{
"valueType": "stringCollection",
"displayName": "IncludeLocations",
"overwriteAllowed": false,
"jsonValue": "[\"All\"]"
},
{
"valueType": "string",
"displayName": "GrantControls.Operator",
"overwriteAllowed": false,
"jsonValue": "\"OR\""
},
{
"valueType": "stringCollection",
"displayName": "GrantControls.BuiltInControls",
"overwriteAllowed": false,
"jsonValue": "[\"mfa\"]"
}
]
}
]
}
Feedback
Submit and view feedback for