Run Profiles¶
A Run Profile defines a synchronisation operation that can be executed against a Connected System. Each Run Profile specifies the type of operation (import, sync, or export) and, for an import, its page size and any partition or file it reads.
Run Profiles are the building blocks of Schedules: each step of a Schedule runs a Run Profile. A Run Profile can also be run directly, for a one-off operation.
Run types¶
A Run Profile is one of:
- Full Import
Read every object from the Connected System into its Connector Space; one it no longer returns is treated as deleted. - Delta Import
Read only the objects changed since the last import. Faster, and only where the connector supports change tracking. - Full Synchronisation
Evaluate every Connected System Object against the Synchronisation Rules, changed or not; produce projections, joins, Attribute Flows, and Pending Exports. Its preview action shows what it would do without running it; see Previewing a Full Synchronisation. - Delta Synchronisation
Evaluate objects changed since the last sync, and every object of an Object Type awaiting synchronisation. Faster. - Export
Flush Pending Exports out to the Connected System.
A synchronisation works through the Connected System's Object Types in dependency order, so people come before their groups and membership resolves as each group is processed. Where the schema does not name an attribute's target type (LDAP member and manager), a Full Synchronisation reads the types its values point at; a Delta Synchronisation assumes any. References within one type (managers, nested groups) can still need the Resolving cross-page references step. A member JIM never joins to a Metaverse Object (a contact, or an object outside every Synchronisation Rule's scope) is skipped; the rest of the membership flows, removals included. The service log records the order in a line starting Full Synchronisation type order: or Delta Synchronisation type order:.
Page size¶
How many objects an import asks the Connected System for at a time: the page of an LDAP paged search, a SQL query or a SCIM request. The default is 100. A larger page means fewer round trips to the Connected System and more memory held at once. The File Connector reads its file whole, so the setting does nothing there, and synchronisation is paged by the Sync.PageSize Service Setting instead.
Partition and file path¶
For a Connector that exposes partitions (the LDAP Connector) or reads files (the File Connector), an import Run Profile can read a single partition or file, so a Connected System can have several import Run Profiles of one run type, each reading a different one. With no File Path, an import reads the Connected System's own File Path. Export and synchronisation Run Profiles take neither.
A Run Profile that targets no partition reads every partition selected on the Connected System; one that targets a partition covers every object in it, deletion detection and limits included. Each partition keeps its own Delta Import watermark, so importing one never moves another's; a Delta Import reads its partitions in full when any has none (Import Watermarks).
When a targeted partition is deselected¶
Selecting partitions on the Connected System's Scope tab decides what JIM manages, for every Run Profile. A Run Profile that targets a deselected partition is inoperable: JIM refuses to run it, naming the Run Profile and the partition, rather than read scope you have withdrawn. The Run Profiles tab marks it Not selected, and the REST API and Get-JIMRunProfile return targetsDeselectedPartition, so you can find each one before a scheduled run reaches it:
Select the partition again, retarget the Run Profile, or delete it if the partition is retired.
Deselecting a partition or container changes what a Full Import considers deleted
A Full Import treats any object it does not find as deleted from the Connected System, which marks the corresponding Connected System Objects obsolete and, on the next synchronisation, disconnects them and recalls their contributed attribute values. Review the scope change before saving it.
Verification Mode (Full Import)¶
Full Import automatically skips loading and comparing objects whose content has not changed since the last import, using a stored content hash (see how Full Import detects unchanged objects). This is transparent and needs no configuration.
Verification Mode is an optional toggle on a Full Import Run Profile that temporarily disables this optimisation: every object is fully compared regardless of its stored hash, and JIM reports an error if a stored hash matched but the comparison still found a change. Use it to validate the optimisation after an upgrade, or to investigate a suspected discrepancy; leave it off for everyday imports, since it forgoes the performance benefit. The toggle only applies to Full Import Run Profiles; enabling it on any other run type is rejected.
Allow Object Type Changes (Full Import)¶
JIM recognises a Connected System Object by its External ID within one Object Type. When an object JIM already holds starts arriving under a different Object Type (an Object Type selection change, a schema refresh, or an edit in the directory), the import does not treat it as a new object: it refuses the change. The object's Run Profile execution item records an Object Type Changed error naming both Object Types, nothing is created, and the existing Connected System Object is kept exactly as it is, including through deletion detection, so nothing is disconnected or deprovisioned (unless an earlier import had already marked it obsolete, in which case the next synchronisation disconnects it as it would have anyway). The Activity completes with a warning, even when the refused objects are all it recorded. This applies to Full and Delta Imports alike, for every Connector that can tell an Object Type change from a new object: of the built-in Connectors, the LDAP Connector, whose External IDs are unique across the whole directory.
Allow Object Type Changes is how you tell JIM a change is intended. On a Full Import Run Profile that allows it, JIM imports each such object as a new Connected System Object of its new type, and deletion detection retires the old one: it is marked obsolete, and the next synchronisation disconnects it from its Metaverse Object under the usual Deletion Rules. Grace periods apply to that disconnection as to any other. Deletion limits do not hold the retirement back: the import returned the object, under its new type, so it is not a missing object, and holding the old one back would leave two Connected System Objects for one directory object. A replacement is only ever created alongside the retirement of what it replaces: where the old object cannot be retired (it is in a partition this Run Profile does not import, or its Object Type is deselected with an enabled Synchronisation Rule still bound to it), the new one is not created and the object is reported as an Object Type Changed error. The setting is only valid on a Full Import Run Profile, because a Full Import is the only run sure to return every object, and so sure to retire the old ones; enabling it on any other run type is rejected. For Connectors whose External IDs are only unique within an Object Type (SQL, File, SCIM 2.0 Client), an object under another Object Type is a different object, and the setting has no effect.
Leave it off on the Run Profiles your Schedules run. As with a mass change past a limit, the safer pattern is a second Full Import Run Profile with the setting on, run by hand once you have prepared for the change. When an object changes Object Type explains what causes a change and the order to do things in.
Safeguards¶
Export¶
An Export Run Profile can carry a limit on how many creates, updates and deletes a single run may attempt against the Connected System: Max creates, Max updates and Max deletes. Each is optional and independent; leave any of them blank for no limit, or set one to 0 to refuse that change type outright. The three limits are only valid on an Export Run Profile; setting one on any other run type is rejected.
A run that would exceed a limit attempts none of that change type. JIM counts how many of each change type are pending at the start of the run; if a type's count is more than its limit, JIM attempts none of that type at all this run and leaves every one of them exactly where they were: still Pending, untouched. There is no partial attempt: JIM never processes up to the limit and stops partway. Other change types are unaffected and continue normally, whether they carry their own limit or none. The Activity for a run that withheld anything completes as Complete with warning, naming the limit, how many were pending, and what to do next, and the Activity's exportCreatesWithheld / exportUpdatesWithheld / exportDeletesWithheld counters record exactly how many were withheld (see Activities). Resuming needs no action beyond raising or clearing the limit, or reducing what is pending, then running the Export Run Profile again.
To clear a limit, set it back to no value:
Recommended values: set Max deletes to a small share of the target Connected System's population (for example, a few percent) on any Export Run Profile writing to a production directory; a broken import filter or an unintended Synchronisation Rule change can then withhold the whole deprovisioning attempt and warn you, rather than working through the whole directory. Leave Max creates and Max updates blank until a new Connected System's initial load has finished, since that first export is legitimately a mass create; consider capping them afterwards for the same reason as deletes.
Letting a legitimate mass change through¶
A limit exists to stop a run nobody meant to be this big; it is not meant to be raised every time a genuine bulk operation comes along. If you know in advance that a run will legitimately exceed a limit (a planned bulk deprovisioning, a large onboarding batch), run a second Export Run Profile against the same Connected System with no limit set, and trigger it by hand rather than adding it to a Schedule. This gets the large, deliberate change through without touching the limited Run Profile that protects your regular scheduled runs. The same applies to an import's deletion limits: a second Full Import or Delta Import Run Profile with no deletion limit, run by hand, lets a deliberate bulk deletion through. For a Delta Import this is also how you let through deletions a limited run has withheld (see Delta Import).
Raising or clearing the limited Run Profile's own limit works too, but is the weaker option: it is easy to forget to put the limit back, and until you do, every run that Run Profile makes is unguarded. An unlimited Run Profile kept out of Schedules runs only when you choose.
Full Import¶
A Full Import Run Profile can carry a limit on how many Connected System Objects a single run's deletion detection may newly mark as deleted: Max detected deletions (a count) and Max detected deletions percent (labelled Max detected deletions (% of Connector Space) in the portal; a share, 0 to 100, of the Connected System Objects in the run's scope when it starts, not counting those already marked as deleted). Each is optional and independent; leave either blank for no limit, or set one to 0 to refuse to mark anything as deleted. Both are valid on a Full Import Run Profile and on a Delta Import Run Profile; setting either on any other run type is rejected.
A run that would exceed either limit marks nothing as deleted. JIM works out which Connected System Objects would newly be marked as deleted (excluding objects this run already saw, including those it saw under another Object Type and refused to change, objects retired by an Object Type change the Run Profile allows, and objects already marked from an earlier run); if that count is more than Max detected deletions, or more than Max detected deletions percent of the Connected System Objects in scope that are not already marked as deleted, JIM marks none of them: every one stays exactly as it was. Objects the import did see are still created and updated as normal. There is no partial marking. The Activity for a refused detection completes as Complete with warning, naming the limit, how many objects were found missing and what share that is, and what to do next, and the Activity's detectedDeletionsWithheld counter records exactly how many were withheld (see Activities). Resuming needs no action beyond raising or clearing the limit, or fixing the Connected System's scope or the connector's filters, then running the Full Import again.
A refused detection also means the run does not count as a successful Full Import for the post-clear reconciliation gate: the Connected System's last successful Full Import time is not stamped, so the stranded-value sweep stays shut until a Full Import passes.
Recommended values: set Max detected deletions percent to a small share (for example, 5 to 10%) on a Full Import Run Profile against a large Connected System; a broken filter or base DN dropping a plausible-looking fraction of the population is easier to catch as a share than as a raw count. For a small Connected System, where a single genuine departure is already a large share of it, prefer Max detected deletions as a count instead: a percentage limit trips (or fails to trip) on rounding rather than on anything meaningful once the population is only a handful of objects.
Delta Import¶
A Delta Import marks as deleted the objects the Connected System reports deleted since the last import; one that cannot read changes, and reads every object instead, also looks for missing objects, as a Full Import does. The same two limits, Max detected deletions and Max detected deletions percent, guard those deletions on a Delta Import Run Profile. They count the Connected System Objects the run would newly mark as deleted across every page it reads. A deletion the Connected System reports again for an object already marked, a deletion of an object JIM does not hold, and an object deleted and then re-added within the same run are not counted. The percentage is measured against the Connected System Objects in the run's scope that are not already marked as deleted, before it saves anything.
A run that would exceed either limit marks nothing as deleted. Every object it would have marked stays exactly as it was. Objects the run created and updated are still applied as normal. The Activity completes as Complete with warning, naming the limit, how many deletions were reported and what share that is, and its detectedDeletionsWithheld counter records how many were withheld (see Activities).
Unlike a Full Import, a Delta Import only reads each change once, so a withheld deletion must not be lost. A run that withholds its deletions keeps the change-tracking position it started from, and each following Delta Import reads the same deletions again and withholds them again, with the same warning, until you act on it:
- If the deletions are a mistake, fix them in the Connected System (restore the deleted objects). The next Delta Import then reads the restored objects too.
- If the deletions are intended, raise the limit, or run a second Delta Import Run Profile without these limits by hand (see Letting a legitimate mass change through). Reading the same partitions, it reads the same changes, because the change-tracking position belongs to the Connected System, or each partition, not the Run Profile.
- Alternatively, run a Full Import: its own deletion limits then apply.
Each Delta Import re-reads everything since that position until the deletions are let through or fixed, so act on the warning promptly.
Recommended values: set a limit on a Delta Import Run Profile that runs on a frequent Schedule against a Connected System that can delete objects in bulk, such as a directory where a whole OU can be deleted by mistake. A count of what a normal interval's leavers look like, with headroom, is usually easier to reason about than a percentage.
Disable a Run Profile¶
A disabled Run Profile cannot run: JIM refuses it everywhere a run can start, saying why, a run already queued included. A Schedule step that runs it fails with the reason, and the step's failure setting decides whether the Schedule carries on. The Run Profile keeps its settings.
Turn Enabled off or on in its edit dialog, or use Set-JIMRunProfile -Enabled. The Run Profiles tab marks it Disabled, with the reason, and the REST API and Get-JIMRunProfile return why:
Get-JIMRunProfile -ConnectedSystemId 1 | Where-Object { -not $_.Enabled } | Select-Object Name, DisabledReason, DisabledPartitionName
disabledReason is Manual when an administrator disabled it, or PartitionRemoved when a hierarchy refresh removed its partition. Enabling that one again needs a partition, or All selected partitions, in the same change.
Common workflows¶
Setting up Run Profiles for a new Connected System: create a Full Import, a Full Synchronisation and an Export at minimum, and bring the Connected System in with them in the order Initialising JIM sets out. Then add delta Run Profiles and run them from a Schedule, keeping the full ones for periodic ground-truth refreshes.
Running a one-off operation: run the Run Profile. It returns at once, and its Activity shows the run's progress and each object's outcome, in the portal or with Get-JIMActivity -Follow.
Manage Run Profiles¶
- JIM portal
Run Profiles tab on a Connected System in the admin UI - PowerShell
Run Profile cmdlets (Get-JIMRunProfile,New-JIMRunProfile,Start-JIMRunProfile, etc.) - REST API
Run Profile endpoints in the interactive API reference
Related¶
- Connected Systems: Run Profiles belong to a Connected System
- Schedules: automated execution of Run Profiles
- Activities: monitoring Run Profile execution
- Concepts: Synchronisation Pipeline: what each run type does in detail