Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/23/2024 08:06 AM
Hello,
We have a customer requirement to update organization owner as manager to Azure AD guest accounts from saviynt.
We tried below JSON but no luck, CP10 stored the value of owner userprincipalname
{
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://graph.microsoft.com/v1.0/users/${account.accountID}/manager/\\$ref",
"httpMethod": "PUT",
"httpParams": "{\"@odata.id\":\"https://graph.microsoft.com/v1.0/users/${usersManagerObj?.customproperty10}\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [200, 201, 204, 205]
}
}
]
}
can anyone suggest alternative way to achieve this?
FYI, we are in 23.9
Regards,
Chandan Gowda
09/23/2024 08:08 AM
09/23/2024 09:46 AM
I tried smoke test to see the result,
09/23/2024 09:48 AM
Share logs
09/23/2024 10:12 AM
{"headers":null,"message":{"error":{"code":"BadRequest","message":"The request URI is not valid. Since the segment 'users' refers to a collection, this must be the last segment in the request URI or it must be followed by an function or action that can be bound to it otherwise all intermediate segments must refer to a single resource."}},"statusCode":400,"description":null,"status":"Failed"},