delegatedAdminRelationships API Error

Arumugam Mahalingam 0 Reputation points
2024-06-19T04:32:01.17+00:00

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"
        }
    }
}
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,381 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
328 questions
{count} votes