Which IIQ version are you inquiring about?
8.1
Share all details about your problem, including any error messages you may have received.
Hello everyone!
I’m new to SailPoint and currently working on configuring my first custom WebService connector for the company I work for.
I have already completed the initial configuration, mapped all the schemas, and created functional operations for Test Connection, Account Aggregation, and Group Aggregation, all of which are working as expected.
At the moment, I’m working on developing a simple Create Account operation. All the information I need to send to the API exists in SailPoint’s user records. To handle this, I created a Provisioning Policy that returns the required information from the user and inserts it into the body of the API request. I configured the body as raw JSON, containing the following data:
{
"email": "$plan.email$",
"profileId": $plan.profileId$",
"firstname": "$plan.firstname$",
"lastname": "$plan.lastname$",
"documentNumber": "$plan.documentNumber$",
"type": "$plan.type$",
"employeeId": "$plan.employeeId$",
"status": "$plan.status$"
}
The only two required fields for the destination API are email
and profileId
.
However, I keep encountering the following error message every time I try to create an account using Manage User Access:
Exception occurred while performing ‘Create’ operation on identity ‘[email protected]’: {“message”:“Expected a value of type
objectId
forprofileId
but receivedundefined
.”,“messageVariables”: {}}
I’ve tried various approaches, but everything seems correct when I inspect the Provisioning Plan. Unfortunately, I’m stuck on this issue and running out of options.
As I mentioned earlier, I’m very new to SailPoint, and this is the first custom connector I’ve developed on my own. I apologize if this problem turns out to be a simple one. I would greatly appreciate any guidance or suggestions to resolve it.
Please share any other relevant files that may be required (for example, logs).
Provisioning Plan:
<ProvisioningPlan nativeIdentity="200123" targetIntegration="JANIS" trackingId="e35acc51d7e748fbb83ed3063e60e55e">
<AccountRequest application="JANIS" assignmentIds="60bbb75b48554f928eed61d7866e4435" nativeIdentity="[email protected]" op="Create">
<Attributes>
<Map>
<entry key="comments" value="Teste"/>
</Map>
</Attributes>
<AttributeRequest name="profileId" op="Add" value="609165f883c5850008aabfbe"/>
<AttributeRequest name="firstname" op="Set" value="ZACARIAS"/>
<AttributeRequest name="lastname" op="Set" value="DOS SANTOS GOMES"/>
<AttributeRequest name="documentNumber" op="Set" value="000.000.000-00"/>
<AttributeRequest name="type" op="Set" value="regular"/>
<AttributeRequest name="employeeId" op="Set" value="200123"/>
<AttributeRequest name="status" op="Set" value="active"/>
</AccountRequest>
<Attributes>
<Map>
<entry key="identityRequestId" value="0000014126"/>
<entry key="requester" value="901514792"/>
<entry key="source" value="LCM"/>
</Map>
</Attributes>
</ProvisioningPlan>