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
| Capability | Support |
|---|---|
| Sync | Users and groups. Turn it off with Sync this directory. |
| Incremental sync | No |
| Account provisioning | Create, update, enable, disable, and delete user accounts |
| Managed Grant writes | Add and remove group membership (member_of) |
| Notifications | No |
| Custom operations | None |
Install and configure
- Open Admin > Integrations and select Install Integration. Owlie opens the connector catalog.
- Find Simulated Directory and select Install. Give the integration a label, choose whether to create sync jobs, and select Install again.
- 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
| Setting | Default | Range or format |
|---|---|---|
| Email domain | example.test | A lowercase domain name such as acme.example.test |
| Minimum users | 100 | 0–1000 |
| Initial groups | 10 | 0–100 |
| Group memberships per user | 2 | 0–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:
| Field | Type | Generation expression |
|---|---|---|
hireDate | Text | faker("date.between", "2026-01-01", "2026-12-31") |
hrStatus | Text | faker("helpers.arrayElement", ["Active", "Inactive"]) |
terminationDate | Text | record.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.
| Setting | Default | Range | What it does |
|---|---|---|---|
| Sync this directory | On | On or off | When off, no sync jobs run. Provisioning still works. |
| Page size | 100 | 1–1000 | The most records one list call returns. |
| Requests per second | 0 | 0–1000 | A limit shared by every caller of this directory. 0 means unlimited. |
| Latency (ms): Base latency (ms) | 0 | 0–5000 | Delay added to every call. |
| Latency (ms): Random extra latency | 0 | 0–5000 | Up to this much extra delay, chosen at random per call. |
| Random transient errors (%) | 0 | 0–100 | Share of calls that fail with a temporary error. |
| Random rate limiting (%) | 0 | 0–100 | Share of calls that are refused with a retry delay. With transient errors, at most 100 in total. |
| Retry-After for rate limiting (ms) | 1000 | 0–60000 | The 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
| Entity | In Simulated Directory | Identifier | Key attributes | Sync | Create | Update | Delete | Grants (as target) |
|---|---|---|---|---|---|---|---|---|
| User | A person's account, the account entity | Generated ID, or username | Username, email, first name, last name, department, title, employee ID | Yes | Yes | Yes | Yes | No |
| Group | A group of users | Generated ID | Name, description | Yes | No | No | No | member_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.
| Operation | What happens |
|---|---|
| Provision | Creates the account with a generated ID and adds any Grants. |
| Update | Changes the account's attributes. |
| Disable | Marks the account disabled. It stays in the directory. |
| Enable | Marks a disabled account enabled. |
| Revoke | Deletes 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.