Dynamic rules Tenants
Cross-tenant Dynamic Rules
Automations can be configured in the Shared Space. You can create conditions and actions using Programs, Certifications, and Organisation structures that are defined in Shared space, as well as courses, cohorts, and certificates that are shared, that is they do not belong to any tenant's category. When creating a rule in the Shared Space, only relevant conditions and actions are available. The usage of non-shared entities will be added in the future versions.
Cross-tenant rules are created in the Shared Space, like any other shared entity. Shared rules will be shown in the Dynamic Rules interface in all tenants, with a Shared Space badge. These rules can be only edited, enabled, disabled, or archived in Shared Space.
When tenant conditions (Users allocated to tenant or Users not allocated to tenant) or actions (Allocate to tenant) are configured in a dynamic rule in Shared Space, the tenant name will be hidden for users (usually tenant admins) who are not member of that selected tenant.

Dynamic rules and secondary tenants
The Move users to a different main tenant action only moves users whose main tenant is the rule’s tenant. It skips users who are only secondary members and marks their result in the dynamic rules report as Failed. This is expected behaviour: the rule has not failed; those users were simply not moved.
For example, if a user’s main membership is in Tenant M and they have a secondary membership in Tenant S, the Users allocated to tenant condition in a dynamic rule in Tenant S will match that user. The same applies if the user is allocated to a program in Tenant S and the dynamic rule uses the Users allocated to program condition.


In addition to selecting the New main tenant, the action lets you choose how to handle Existing tenant memberships:
- Remove all: Users will only belong to the new main tenant.
- Keep all: Users will remain in all the tenants they currently belong to.
- Keep all except the current main tenant: Users will remain in their other tenants, but will be removed from their current main tenant.
Dynamic rules created before version 5.3 that use the Allocate users to tenant action continue to work in the same way after the upgrade. These rules use the Remove all option.
The tenant-related behaviours described above, including both actions and conditions, are expected to change in the near future.