Skip to main content

Simulated Directory

Simulated Directory is a directory of fake users and groups that Owlie hosts for you. Use it to try sync, provisioning, and access Grants without connecting a real system, for example while you learn Owlie or rehearse a policy. It appears in the connector catalog under the testing category, and you install it like any other connector. There is nothing to sign in to and no credentials to create.

Each installation is its own directory. Installations in the same tenant can generate accounts for the same fictional people using person fields, while their accounts and app-specific changes remain separate. Installing again creates a fresh directory.

Capabilities​

CapabilitySupport
SyncUsers and groups. Turn it off with Sync this directory.
Incremental syncNo
Account provisioningCreate, update, enable, disable, and delete user accounts
Managed Grant writesAdd and remove group membership (member_of)
NotificationsNo
Custom operationsNone

Install and configure​

  1. Open Admin > Integrations and select Install Integration. Owlie opens the connector catalog.
  2. Find Simulated Directory and select Install. Give the integration a label, choose whether to create sync jobs, and select Install again.
  3. The integration opens as not connected. Select Set up connection (the Connection tab), review the settings below, and select Save & Test Connection. The test asks the directory what it holds and connects the integration. Save Config saves the settings without testing.

The first user sync generates enough accounts to reach Minimum users. Provisioning before that creates only the accounts requested. Connection testing does not create users.

Each installation generates repeatable sample data. Later syncs read the same stored records. For example, sync 50 users, provision 5 more, then raise the minimum to 200: the next sync retains all 55 and generates another 145. Lowering the minimum never deletes accounts.

Directory settings​

SettingDefaultRange or format
Email domainexample.testA lowercase domain name such as acme.example.test
Minimum users1000–1000
Initial groups100–100
Group memberships per user20–10, and no more than the number of groups

Only Initial groups is fixed after the directory exists. Install a fresh directory to change that count. Other directory settings apply to newly generated accounts and leave existing records unchanged. An account deleted from the simulated directory can be replaced by a new account on the next sync if the total falls below the minimum. Removing an identity from Owlie alone leaves its simulated source account intact.

Account fields and generated values​

Open Account > Edit Schema to add text, number, integer or boolean fields. Keep the built-in id, username and enabled fields. Add up to 64 fields in total.

In the schema table’s Generated value (OXL) column, enter an OXL expression for each field you want to generate, then select Save Schema. Blank expressions use a schema default or the built-in sample value, where one exists. Optional fields can return null. Existing accounts stay unchanged when you edit these expressions.

For an HR source, add fields such as these:

FieldTypeGeneration expression
hireDateTextfaker("date.between", "2026-01-01", "2026-12-31")
hrStatusTextfaker("helpers.arrayElement", ["Active", "Inactive"])
terminationDateTextrecord.hrStatus == "Inactive" ? "2027-01-01" : null

Use the sync job's attribute mappings to map hireDate to hire_date, terminationDate to end_date, and hrStatus to employment_status (for example, lookup(hrStatus, { "Active": "ACTIVE", "Inactive": "TERMINATED" }, null)). These are HR facts, and account enabled/disabled state remains separate.

Expressions can use identityNumber, emailDomain, and record.field to reference another field. For example, lower(record.firstName) + "." + string(identityNumber) creates a numbered username. References determine evaluation order. Circular references cannot be saved.

Supported Faker calls are person.firstName, person.lastName, person.jobTitle, company.name, location.city, location.countryCode, datatype.boolean, number.int, helpers.arrayElement, and date.between. Pass minimum and maximum numbers to number.int, an array of up to 100 choices to helpers.arrayElement, and two dates to date.between. Other methods take no extra arguments. Expressions are limited to 1,000 characters. Arbitrary Faker templates and methods are unavailable.

Normal provisioning writes can set and update your custom account fields. Generation expressions run only for generated users, and provisioned accounts use the supplied values and schema defaults.

Runtime settings​

You can change these at any time, and the change applies to the next call.

SettingDefaultRangeWhat it does
Sync this directoryOnOn or offWhen off, no sync jobs run. Provisioning still works.
Page size1001–1000The most records one list call returns.
Requests per second00–1000A limit shared by every caller of this directory. 0 means unlimited.
Latency (ms): Base latency (ms)00–5000Delay added to every call.
Latency (ms): Random extra latency00–5000Up to this much extra delay, chosen at random per call.
Random transient errors (%)00–100Share of calls that fail with a temporary error.
Random rate limiting (%)00–100Share of calls that are refused with a retry delay. With transient errors, at most 100 in total.
Retry-After for rate limiting (ms)10000–60000The retry delay sent with a rate-limit refusal.

These settings exist so you can see how sync and provisioning behave when a system is slow or unreliable. For example, set Requests per second to 5 and run a sync of 1,000 users. Owlie waits out short refusals on its own, and the sync takes longer. Set Random transient errors (%) to 20 and the same sync retries the calls that fail.

Behavior under pressure:

  • Rate limit. A call above Requests per second is refused with a retry delay. Owlie waits for delays of up to 2 seconds in total per call and then retries. A longer wait surfaces as the error "The simulated directory is rate limiting requests."
  • Random rate limiting is never absorbed. Each affected call fails with that same error and the retry delay you set.
  • Random transient errors fail with "The simulated directory is not available right now."

A call that fails this way changes nothing in the directory.

Entities​

EntityIn Simulated DirectoryIdentifierKey attributesSyncCreateUpdateDeleteGrants (as target)
UserA person's account, the account entityGenerated ID, or usernameUsername, email, first name, last name, department, title, employee IDYesYesYesYesNo
GroupA group of usersGenerated IDName, descriptionYesNoNoNomember_of

The directory generates each account's ID when Owlie creates the account. Groups are read-only. Membership is the one Grant kind: member_of connects a user to a group, and Owlie can add and remove it. Groups cannot contain other groups.

Matching people across simulated apps​

Use person.firstName, person.lastName, person.displayName, person.email, person.username, person.login, or person.employeeId in generated-value expressions. person.sex is the seeded male/female value used for the names, and person.picture is a matching profile portrait URL hosted on Owlie’s production CDN. Map the photo field to the identity’s picture attribute when syncing HR. The same person number in the same tenant produces the same names and identifiers. Keep the email domain the same across installations to match by email. For example, map HR's email, Google's primaryEmail, Entra's mail, and Salesforce's Email to person.email. Other expressions can reference those fields through record.field.

Sync HR to identities, then sync each app to assigned resources using its email field as the matching expression. App-specific Faker values remain independent. No shared directory storage is created, and edits to one account never edit another app's account. Existing accounts stay unchanged when expressions change. Provisioning or deletion can make the directories contain different person numbers. Missing people can therefore appear as unmatched accounts.

The expression editor previews ordinary OXL against editable sample person data. It does not reproduce a tenant's seeded person.

Sync​

Sync reads users and groups. Owlie matches each user to an Owlie identity by email. A match updates the identity, and no match creates one. The first name, last name, title, and department come across with the email. A disabled account counts as inactive.

Provisioning​

By default, Owlie creates an account with the identity's email as the username and email, plus the identity's first and last name.

OperationWhat happens
ProvisionCreates the account with a generated ID and adds any Grants.
UpdateChanges the account's attributes.
DisableMarks the account disabled. It stays in the directory.
EnableMarks a disabled account enabled.
RevokeDeletes the account and removes its group memberships.

Revoking access deletes the account by default. If you would rather keep the account and only disable it, change the revoke behavior in the resource's provisioning profile.

Adding a membership that already exists, or removing one that does not, is reported as already done rather than as a failure. Adding someone to a group that does not exist fails.

Limits and cleanup​

A directory holds at most 1,000 users and 10,000 memberships. Creating an account past either limit fails with "The simulated directory holds at most 1000 users." or "The simulated directory holds at most 10000 memberships."

Select Delete integration to delete the integration. This also deletes its simulated directory and everything in it.

Simulated Directory cannot be forked into a custom connector. Each installation has its own editable account schema. Owlie says so ("Simulated Directory can't be copied and customized. Install it again for another independent instance.") and suggests installing it again when you want a second directory.

Changelog​

Simulated Directory is at connector version 1. Owlie displays its changelog in the integration catalog.