Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Getting error No signature of method error for Add access task for MS CRM

mansoorahmed1
New Contributor III
New Contributor III

 

Im trying to provision access to CRM application. While doing so Im getting the below error in the task.

Error:
Error in processWebservicegroovy.lang.MissingMethodException: No signature of method: com.saviynt.provisoning.rest.RestUtilService.getDynamicBindString() is applicable for argument types: (java.util.LinkedHashMap, java.util.HashMap) values: [[@odata.id:ausgrid-test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})], ...]
Possible solutions: getDynamicBindString(java.lang.String, java.util.Map)

Below is my add access JSON

{
"call":
[
{
"name": "BURoles",
"connection": "acctAuth",
"url":"test.crm6.dynamics.com/api/data/v9.0/systemusers%28${account.accountID}%29/systemuserroles_association/%24ref", "httpMethod": "POST",
"httpParams": {
"@odata.id":"test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})"
},
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "*/*"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
204
]
}
}
]}

Below are the logs for the same:

Validating tasks for Securitysystem - CRM
accountName = ***** , taskType = 1 accountkey = 101302
Inside isServiceAccount
isServiceAccount: false
ProvisioningAccessToAccountTarget
Calling Rest provisionAccountsAccess with Sec System - CRM and tasklist - [s****:[com.saviynt.ecm.task.ArsTasks : 1911]]
Provisioning Access to Account for Rest
initializing Provisioning connection
in reinitializeAddAndRemoveAccessJson
addAccessJSON: [call:[[name:BURoles, connection:acctAuth, url:test.crm6.dynamics.com/api/data/v9.0/systemusers%28${account.accountID}%29/systemuserroles_association/%24ref, httpMethod:POST, httpParams:[@odata.id:test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})], httpHeaders:[Authorization:${access_token}, Accept:*/*], httpContentType:application/json, successResponses:[statusCode:[200, 204]]]]]
arsTasks?.requestAccessKey: com.saviynt.ecm.workflow.Request_Access : 1433
Adding entitlement  Claims to user ****
arsTasks.entitlement_valueKey: Claims
arsTasks.entitlement_valueKey.entitlementID: f0908238-47d4-49d2-ad9f-bc4cbd233e3e
accounts: *****
accounts.accountID: d63f4686-a5ef-e911-a811-000d3a7925ba
Enter getStandardBindingVariable
Exit getStandardBindingVariable
params.memento.addAccessJSON : [call:[[name:BURoles, connection:acctAuth, url:test.crm6.dynamics.com/api/data/v9.0/systemusers%28${account.accountID}%29/systemuserroles_association/%24ref, httpMethod:POST, httpParams:[@odata.id:test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})], httpHeaders:[Authorization:${access_token}, Accept:*/*], httpContentType:application/json, successResponses:[statusCode:[200, 204]]]]]
currentEntitlementJsonMap : [call:[[name:BURoles, connection:acctAuth, url:test.crm6.dynamics.com/api/data/v9.0/systemusers%28${account.accountID}%29/systemuserroles_association/%24ref, httpMethod:POST, httpParams:[@odata.id:test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})], httpHeaders:[Authorization:${access_token}, Accept:*/*], httpContentType:application/json, successResponses:[statusCode:[200, 204]]]]] | entitlementname: BURoles
currentEntitlementJsonMap : [call:[[name:BURoles, connection:acctAuth, url:test.crm6.dynamics.com/api/data/v9.0/systemusers%28${account.accountID}%29/systemuserroles_association/%24ref, httpMethod:POST, httpParams:[@odata.id:test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})], httpHeaders:[Authorization:${access_token}, Accept:*/*], httpContentType:application/json, successResponses:[statusCode:[200, 204]]]]]
params.memento.addAccessJSON: [call:[[name:BURoles, connection:acctAuth, url:test.crm6.dynamics.com/api/data/v9.0/systemusers%28${account.accountID}%29/systemuserroles_association/%24ref, httpMethod:POST, httpParams:[@odata.id:test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})], httpHeaders:[Authorization:${access_token}, Accept:*/*], httpContentType:application/json, successResponses:[statusCode:[200, 204]]]]]
Total Call: 1
connection: acctAuth
Error in processWebservicegroovy.lang.MissingMethodException: No signature of method: com.saviynt.provisoning.rest.RestUtilService.getDynamicBindString() is applicable for argument types: (java.util.LinkedHashMap, java.util.HashMap) values: [[@odata.id:test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})], ...]
Possible solutions: getDynamicBindString(java.lang.String, java.util.Map)
Enter encryptHeaders
Exit encryptHeaders
Task Response: {BURoles":{"message":"No signature of method: com.saviynt.provisoning.rest.RestUtilService.getDynamicBindString() is applicable for argument types: (java.util.LinkedHashMap  java.util.HashMap) values: [[@odata.id:test.crm6.dynamics.com/api/data/v9.0/roles(${entitlementValue.entitlementID})]
Result: false
Inside updateProvisioningTries..
Inside removeSingleDropDownAccountEntAddTaskAndPushTaskRollBackMapToSavinyt...
Entering provisionAccesstoAccountSaviynt
{****@**.com=[]}
ExistingAccount
accountID before merge = d63f4686-a5ef-e911-a811-000d3a7925ba
accountID after merge = d63f4686-a5ef-e911-a811-000d3a7925ba
completedFFRoleRequestAccessKeys for provisioning - []
Config for ARSTASKCOMPNEWPWDcom.saviynt.ecm.utility.domain.EcmConfig : ARSTASKCOMPNEWPWD

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Urls starts with https ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

mansoorahmed1
New Contributor III
New Contributor III

Yes, I removed it to past the details here .

instead of ${entitlementValue.entitlementID} use ${entitlementValuesObj.entitlementID}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.