Get crossTenantAccessPolicyConfigurationDefault
Namespace: microsoft.graph
Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Azure AD (isServiceDefault is true
) or may be customized in your tenant (isServiceDefault is false
).
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) | Policy.Read.All, Policy.ReadWrite.CrossTenantAccess |
Delegated (personal Microsoft account) | Not applicable |
Application | Policy.Read.All, Policy.ReadWrite.CrossTenantAccess |
HTTP request
GET /policies/crossTenantAccessPolicy/default
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 crossTenantAccessPolicyConfigurationDefault object in the response body.
Examples
Request
GET https://graph.microsoft.com/v1.0/policies/crossTenantAccessPolicy/default
Response
The following response object shows a default cross-tenant policy inherited from Azure AD, as identified by isServiceDefault set to true
.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"isServiceDefault": true,
"inboundTrust":
{
"isMfaAccepted": false,
"isCompliantDeviceAccepted": false,
"isHybridAzureADJoinedDeviceAccepted": false,
},
"b2bCollaborationOutbound":
{
"usersAndGroups":
{
"accessType": "allowed",
"targets": [
{
"target": "AllUsers",
"targetType": "user"
}
]
},
"applications":
{
"accessType": "allowed",
"targets": [
{
"target": "AllApplications",
"targetType": "application"
}
]
}
},
"b2bCollaborationInbound":
{
"usersAndGroups":
{
"accessType": "allowed",
"targets": [
{
"target": "AllUsers",
"targetType": "user"
}
]
},
"applications":
{
"accessType": "allowed",
"targets": [
{
"target": "AllApplications",
"targetType": "application"
}
]
}
},
"b2bDirectConnectOutbound":
{
"usersAndGroups":
{
"accessType": "blocked",
"targets": [
{
"target": "AllUsers",
"targetType": "user"
}
]
},
"applications":
{
"accessType": "blocked",
"targets": [
{
"target": "AllApplications",
"targetType": "application"
}
]
}
},
"b2bDirectConnectInbound":
{
"usersAndGroups":
{
"accessType": "blocked",
"targets": [
{
"target": "AllUsers",
"targetType": "user"
}
]
},
"applications":
{
"accessType": "blocked",
"targets": [
{
"target": "AllApplications",
"targetType": "application"
}
]
}
}
}
Feedback
Submit and view feedback for