Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/23/2024 08:50 PM
Hi,
I'm getting error while provision the D365 Account from Savyint. According to the log here is the error as follows:
"2024-05-21T11:00:02.688+00:00","ecm-worker","d365.D365ProvisioningService","quartzScheduler_Worker-9-z9dpp","ERROR","*** Error in assign access = AddAccessJSON cannot be null"
The AddAccessJSON field is not empty and we define the JSON code following the Savyint recommendation which articulated in this doc: https://docs.saviyntcloud.com/bundle/Dynamics365-v24x/page/Content/Understanding-the-Integration-bet...
Even, we modified the JSON code with more proper JSON formating. Here is the AddAccessJSON code as follows:
{ "call": [ { "name": "Roles", "connection": "userAuth", "url": "https://operations.dynamics.com/Data/SecurityUserRoles", "httpMethod": "POST", "httpParams": "{\"UserId\":\"${account.accountID}\",\"SecurityRoleIdentifier\":\"${entitlementValue.entitlementID}\",\"SecurityRoleName\":\"${entitlementValue.entitlement_value}\",\"AssignmentStatus\": \"Enabled\",\"AssignmentMode\": \"Manual\",\"UserLicenseType\": \"Activity\"}", "httpHeaders": { "Authorization": "${access_token}", "Accept": "application/json", "OData-Version": "4.0" }, "httpContentType": "application/json", "unsuccessResponses": { "statusCode": [ 400, 401 ] }, "successResponses": { "statusCode": [ 200, 201, 204 ] } }, { "name": "Organizations", "connection": "userAuth", "url": "https://operations.dynamics.com/Data/SecurityUserRoleOrganizations", "httpMethod": "POST", "httpParams": "{\"UserId\":\"${account.accountID}\",\"SecurityRoleIdentifier\":\"${requestAccessAttributes.SecurityRoleIdentifier}\",\"OrganizationType\": \"${entitlementValue.entclass}\",\"OrganizationId\": \"${entitlementValue.customproperty7}\",\"OperatingUnitType\": \"${entitlementValue.customproperty1}\"}", "httpHeaders": { "Authorization": "${access_token}", "Accept": "application/json", "OData-Version": "4.0" }, "httpContentType": "application/json", "unsuccessResponses": { "statusCode": [ 400, 401 ] }, "successResponses": { "statusCode": [ 200, 201, 204 ] } } ] }
What possible cause of the error?
Thank you.
Regards,
Syafii
05/23/2024 08:57 PM
Share connection Add Access Screenshot & Confirm Entitlement Type name is Role ?
05/24/2024 12:17 AM