and more in a single search tool across platforms. Read the announcement here. |
02/07/2023 07:51 AM
Hi,
Service Now Application calls SAviynt REST api to create/update/enable/disable Service accounts in SAviynt.
We are trying remove existing owner and add new owner to Service Account using API and is not working. But from ARS owner change is working as expected. Why it is not working from API. Is there anything wrong in payload?
API Used: URL: https://*****.saviyntcloud.com/ECM/api/v5/createrequest
Payload:
{
Please help.
Thank you
Rashmi
02/07/2023 09:00 AM
When you say not working. Was the request is getting created or not? Also is there any error you are seeing ?
02/07/2023 11:01 PM
Hi SK,
No error as such. The request is generated and updateAccount Task is also generated. When we run AD provisioning job, the new owner information is not updated in AD. We could still see old owner information.
Thank you
Rashmi
02/07/2023 11:03 PM
Hi SK,
MApping in AD connector in CreateAccount Json.
"extensionAttribute10":"${ServiceAccountOwnerMap.get('USEROWNERS').get('1').collect{it.systemUserName.toString()}[0]}"
}
Thank you
Rashmi
02/08/2023 06:19 AM
Sorry I am confused you mentioned ServiceNOW service accounts but now you referring to AD accounts. Can you clarify on what is your target?
Also just want to confirm if owner on account is getting updated in Saviynt but not getting pushed/updated to target?
02/08/2023 11:12 PM
HI Sk,
Yes. owner on account is getting updated in Saviynt but not getting pushed/updated to target(AD).
02/07/2023 10:51 AM
Hi,
can you please elaborate on what error are you seeing in the response.
thanks
02/07/2023 07:37 PM
It should be lowercase https://documenter.getpostman.com/view/1797923/2s83mbojGM#2d567827-c239-4c21-aa53-29c06c398a48
02/08/2023 11:14 PM
Hi Rushi,
We tried lower case. The API response is successful when we use either lowercase or uppercase. Owner information is updated in Saviynt but not pushed to target which is AD.
02/09/2023 06:11 AM
What is your UPDATEACCOUNTJSON?
02/12/2023 10:37 PM
Hi SK,
MApping in AD connector in UPDATEACCOUNTJSON.
"extensionAttribute10":"${ServiceAccountOwnerMap.get('USEROWNERS').get('1').collect{it.systemUserName.toString()}[0]}"
}
Thank you
Rashmi
02/13/2023 10:17 PM - edited 02/13/2023 10:17 PM
Do you seen any field under request_Access_attrs named as USEROWNERS for request raised by api