Thanks for the replies, ive dumbed this connector down to a single entitlement with a single id/name pair in the entitlement schema, just to see if I could get provisioning to fire. Entitlements aggregate and get attached to accounts without issue.
But please note, provisioning works in our sandbox tenant with no issue. I am leaning towards an issue with this particular tenant.
Heres the spec file:
{
"name": "lhc-saas-nvoq",
"commands": [
"std:account:create",
"std:account:disable",
"std:account:enable",
"std:account:update",
"std:account:list",
"std:account:read",
"std:test-connection",
"std:entitlement:list",
"std:entitlement:read"
],
"sourceConfig": [
{
"type": "menu",
"label": "Configuration",
"items": [
{
"type": "section",
"sectionTitle": "Authentication",
"sectionHelpMessage": "Provide connection parameters to interact securely with the target application.",
"items": [
{
"key": "token",
"label": "Token",
"type": "secret"
},
{
"key": "baseUrl",
"label": "BaseUrl",
"type": "text"
},
{
"key": "tenant",
"label": "Tenant",
"type": "text"
},
{
"key": "plan",
"label": "Plan",
"type": "text"
},
{
"key": "rootOrgId",
"label": "Root OrgId",
"type": "text"
},
{
"key": "voiceJobDisciplines",
"label": "Voice JobDisciplines",
"type": "list",
"helpKey": "Add a list of Job Disciplines to provision nVoq.Voice (Desktop)"
},
{
"key": "idnUrl",
"label": "IdentityNow Url",
"type": "text",
"helpKey": "IdN API Url"
},
{
"key": "idnClientId",
"label": "IdentityNow ClientId",
"type": "text",
"helpKey": "IdentityNow ClientId"
},
{
"key": "idnClientSecret",
"label": "IdentityNow Client Secret",
"type": "secret",
"helpKey": "IdentityNow Client Secret"
}
]
}
]
}
],
"accountSchema": {
"displayAttribute": "username",
"identityAttribute": "email",
"attributes": [
{
"name": "uuid",
"type": "string",
"description": "Unique identifier for the user account"
},
{
"name": "username",
"type": "string",
"description": "Username for the user account"
},
{
"name": "firstName",
"type": "string",
"description": "First name of the user account"
},
{
"name": "lastName",
"type": "string",
"description": "Last name of the user account"
},
{
"name": "email",
"type": "string",
"description": "Email address associated with the user account"
},
{
"name": "enabled",
"type": "string",
"description": "Indicates if the account is enabled"
},
{
"name": "user_id",
"type": "string",
"description": "Secondary identifier for the user account"
},
{
"name": "groups",
"type": "group",
"managed": true,
"multi": true,
"entitlement": true,
"description": "List of product identifiers associated with the user account"
},
{
"name": "user_roles",
"type": "string",
"multi": true,
"entitlement": false,
"description": "List of Roles identifiers associated with the user account"
},
{
"name": "access",
"type": "string",
"description": "Access rights or permissions for the user account"
},
{
"name": "clientGroupOrgTree",
"type": "string",
"description": "Organizational hierarchy for the client group"
},
{
"name": "clientGroup",
"type": "string",
"description": "lowest level client group"
},
{
"name": "adminOrgTree",
"type": "string",
"description": "Organizational hierarchy for the admin group"
},
{
"name": "adminRole",
"type": "string",
"description": "Administrative role for the user account"
},
{
"name": "trial",
"type": "string",
"description": "trial"
},
{
"name": "plan",
"type": "string",
"description": "plan"
},
{
"name": "orderedProducts",
"type": "string",
"description": "orderedProducts"
}
]
},
"entitlementSchemas": [
{
"type": "group",
"displayAttribute": "name",
"identityAttribute": "id",
"attributes": [
{
"name": "id",
"type": "string",
"description": "Unique id"
},
{
"name": "name",
"type": "string",
"description": "name"
}
]
}
],
"accountCreateTemplate": {
"fields": [
{
"key": "username",
"label": "username",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "identificationNumber"
}
}
},
{
"key": "email",
"label": "email",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "email"
}
}
},
{
"key": "firstName",
"label": "firstName",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "firstName"
}
}
},
{
"key": "lastName",
"label": "lastName",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "lastName"
}
}
},
{
"key": "enabled",
"label": "enabled",
"type": "string",
"required": true,
"initialValue": {
"type": "static",
"attributes": {
"value": "true"
}
}
},
{
"key": "jobDiscipline",
"label": "jobDiscipline",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "jobDiscipline"
}
}
},
{
"key": "serviceLine",
"label": "serviceLine",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "serviceLine"
}
}
},
{
"key": "employeeId",
"label": "employeeId",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "identificationNumber"
}
}
}
]
}
}