Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/13/2024 04:31 AM
Hi,
We are trying to disable accounts in AzureAD using AzureAD type connector. The task is getting completed in Saviynt but accounts are not getting disabled in target.
This is the json we are using:
{
"call": [
{
"name": "call1",
"connection": "${connectionName}",
"url": "https://graph.microsoft.com/v1.0/users/${account.accountID}",
"httpMethod": "PATCH",
"httpParams": "{\"accountEnabled\": false}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201,
204,
205
]
}
}
]
}
Solved! Go to Solution.
09/13/2024 05:37 AM - edited 09/13/2024 05:38 AM
{
"call": [{
"name": "call1",
"connection": "${connectionName}",
"url": "https://graph.microsoft.com/v1.0/users/${account.accountID}",
"httpMethod": "PATCH",
"httpParams": "{\"accountEnabled\": false}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201,
204,
205
]
}
}]
}
Share logs in text format
09/13/2024 07:18 AM
Hi @rushikeshvartak ,
It worked. Thanks!