Sync one SaaS identity from its application
Read one identity from the application’s API now, its account then its groups, roles, licenses and organization units, and record what changed; an identity linked to no employee is linked to the employee of its email. A recorded change also queues the application’s background issues update. No other identity of the application is read: the application’s own sync still runs every hour.
The answer is the identity as the application holds it now, or identity: null when the application no longer holds the account, which Primo then archives. It shows whether the application applied a change made through provisionSaasIdentity, deprovisionSaasIdentity or an assign or unassign tool; recomputeSaasIdentityIssues then judges the identity’s issues again on what it read.
Answers 409 when the application does not read its identities through a connected API (manual provisioning, no integration, or the integration disconnected): its identities change only by hand. Answers 502, with the application’s error, when the API refused the read.