Cross-tenant access
Settings > Tenant > Cross-tenant access decides which other tenants may give your users access to their tenant. Administrators of an allowed tenant can look up one of your users by the exact user name or e-mail address and add that user to their tenant with their own groups. Every tenant starts with an empty list: no other tenant may look up your users.
Who sees the page: administrators of your tenant with the roles UserManagement and TenantManagement. Other users see no card in the Tenant category; when they open the address directly, the page shows No permission.
What allowing a tenant means
- Administrators of an allowed tenant can add one of your users at a time, only with that user's exact user name or e-mail, and give that user groups of their tenant.
- Your users keep signing in to your tenant with your sign-in rules; they then switch into the other tenant.
- Allowed tenants never see a list of your users, and no tenant can see which tenants you allow.
- Removing a tenant stops new lookups and additions at once. Users that tenant already added lose access at their next switch into it; a session that is already open stays valid until its token expires (exchanged tokens are short-lived). Their access entries in the other tenant stay until its administrators remove them.
- Every change of the list is recorded in your tenant's event log (
Identity.CrossTenantGrantPermissionsChanged).
Allowing a tenant
- Click Allow tenant (in the header, or in the empty state when no tenant is allowed yet).
- Type the Tenant id exactly as the other tenant's administrator gives it to you, then click Allow (or press Enter). Esc cancels.
The tenant id is not checked for existence — there is no lookup of tenants, so nothing about other tenants is revealed.
The dialog refuses an empty id, your own tenant, an id that is already allowed and an id with other characters than
letters, digits, - and _ (at most 64). The id is stored in lower case. The change is saved at once; a notification
confirms it.
Stopping a tenant
Click the trash icon Stop allowing in the row. A confirmation names the tenant and the effect; in a production tenant you type the tenant id to confirm. Cancel changes nothing. After the confirmation the tenant disappears from the list and is refused from its next request on.
Messages
| Message | Meaning |
|---|---|
| No tenant may look up your users | The list is empty — the default. |
| No permission | Your account lacks UserManagement or TenantManagement in this tenant. |
| Not available on this server yet | The identity service of this environment does not offer the setting yet. |
| The list could not be saved. | Nothing was changed; try again. |
| The list was changed by someone else. | Another administrator changed the list after you opened it, so your change was not saved: the page shows the current list, names the tenants added or removed meanwhile and keeps your change for Allow … now / Remove … now. |
More
- Adding a user of an allowed tenant, from the other side: Cross-tenant users.
- Background: Cross-tenant authentication in the Technology Guide.