Hi ISC community,
I’m trying to run this API call against an Identities Entra account: submit-reload-account | SailPoint Developer Community
Question: Does anyone know how I can retrieve an identities Entra account ID within a workflow & then use it as a variable to execute the call above?
Hurdle: I am able to see the required Entra Account ID as part of a Get Accounts action; however, the identity has multiple accounts which are not nested in specific arrays so it is difficult to target the only one I need. For example, there are x4 “id” results - but I only need the ID relating to the Entra Account: ‘3949c362fd994020ac853b17de3c1353’ (the others are included at the end of this post for context).
Potential Workaround I am considering creating a new identity attribute which populates based on the account ID I need, this would make it much easier to target; however, I feel like this should be doable without having to create identity attributes to find their account ID within a workflow.
Appreciate any help you can give,
Cheers,
Sean
Here’s an example of the multiple id’s the Get Account action retrieves, I only need the one that has the Entra account: **3949c362fd994020ac853b17de3c1353
},
"authoritative": false,
"cloudLifecycleState": "active",
"connectionType": "direct",
"created": "2024-07-26T13:11:24.332Z",
"description": null,
"disabled": false,
"features": "PROVISIONING, AUTHENTICATE, SYNC_PROVISIONING, ENABLE, PASSWORD, SEARCH",
"hasEntitlements": true,
"id": "3949c362fd994020ac853b17de3c1353",
"identity": {
"id": "305e3303b4af455fa14e29ea7b52bfee",
"name": "Holly Waples",
"type": "IDENTITY"
},
{
"attributes": null,
"authoritative": false,
"cloudLifecycleState": "active",
"connectionType": null,
"created": "2024-06-24T13:09:26.117Z",
"description": null,
"disabled": false,
"features": "DISCOVER_SCHEMA, ENABLE, PROVISIONING, SYNC_PROVISIONING, PASSWORD, NO_RANDOM_ACCESS",
"hasEntitlements": false,
"id": "a426e65c58e34171bbb616f1016783af",
"identity": {
"id": "305e3303b4af455fa14e29ea7b52bfee",
"name": "Holly Waples",
"type": "IDENTITY"
},
},
"authoritative": false,
"cloudLifecycleState": "active",
"connectionType": "direct",
"created": "2024-07-26T05:16:28.014Z",
"description": null,
"disabled": false,
"features": "UNLOCK, PREFER_UUID, CURRENT_PASSWORD, GROUPS_HAVE_MEMBERS, SEARCH, MANAGER_LOOKUP, GROUP_PROVISIONING, UNSTRUCTURED_TARGETS, PROVISIONING, NO_GROUP_PERMISSIONS_PROVISIONING, NO_PERMISSIONS_PROVISIONING, PASSWORD, AUTHENTICATE, SYNC_PROVISIONING, ENABLE",
"hasEntitlements": true,
"id": "11616cef02d940bfa2ee82e1a7b58356",
"identity": {
"id": "305e3303b4af455fa14e29ea7b52bfee",
"name": "Holly Waples",
"type": "IDENTITY"
},
},
"authoritative": true,
"cloudLifecycleState": "active",
"connectionType": "direct",
"created": "2024-06-24T13:09:26.058Z",
"description": null,
"disabled": false,
"features": "PROVISIONING, GROUP_PROVISIONING, ENABLE, DISCOVER_SCHEMA, UNLOCK, DIRECT_PERMISSIONS, SYNC_PROVISIONING",
"hasEntitlements": false,
"id": "2558d5c67770461b82d5578e53aa02f0",
"identity": {
"id": "305e3303b4af455fa14e29ea7b52bfee",
"name": "Holly Waples",
"type": "IDENTITY"
},