Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
We are getting below error message while create a new delegatedAdminRelationship object
POST : https://graph.microsoft.com/v1.0/tenantRelationships/delegatedAdminRelationships
{
"displayName": "admin relationship",
"duration": "P730D",
"customer": {
"tenantId": "*************",
"displayName": "******"
},
"accessDetails": {
"unifiedRoles": [
{
"roleDefinitionId": "******************************"
}
]
},
"autoExtendDuration": "P180D"
}
{
"error": {
"code": "unexpectedError",
"message": "An unexpected error occurred in the server.",
"innerError": {
"date": "2024-06-19T04:24:22",
"request-id": "14f1ec59-2aea-4045-8735-0f15f09542a8",
"client-request-id": "14f1ec59-2aea-4045-8735-0f15f09542a8"
}
}
}