Export and import policies

Policies can be exported as an encrypted file and imported into another organization, including on another Relution server. The export is useful for aligning policies between organizations or for migrating an organization manually (see Migrate an organization →).


Prerequisites

The following prerequisites apply to export and import:

  • The export requires read permission for policies, the import requires permission to create policies.
  • Every policy to be exported has a published version.
  • If the policies require Android Enterprise or Apps and Books (VPP in the portal), both are set up in the target organization before the import. Otherwise, the import fails.

Export policies

The export takes place in the organization in which the policies were created:

  1. Open the policy overview under Devices → Policies.
  2. Select the desired policies. Multiple policies are exported into a single file.
  3. In the 3-dot menu, select Export policies.
  4. Enter a code in the Encryption key field.
  5. Click Start export to create the file.
  6. Download the file via the link shown.

The result shows for each policy whether the export was successful. The file has the extension .rexp and can only be downloaded in the organization in which the export was created. The link copied via the copy icon contains this organization and therefore also works if a global administrator has switched to another organization in the meantime.

The following applies to the export:

  • Only the published version is exported. Drafts and older versions are not included.
  • Only policies of the current organization are exported. Global policies or policies shared by a meta organization (From Global, From Meta) are exported in the organization in which they were created.
  • The file also contains the stored passwords and keys of the configurations, e.g. Wi-Fi passwords. It is therefore encrypted with the Encryption key. The Wi-Fi and proxy passwords of the tvOS Wi-Fi configuration are excluded; they are entered again after the import.
  • Some configurations are not exported, see Configurations not exported.
The Encryption key is required again for the import and cannot be recovered. Without it, the file cannot be imported.

Import policies

The import takes place in the target organization:

  1. Open the policy overview under Devices → Policies.
  2. In the 3-dot menu, select Import policies.
  3. Enter the Encryption key specified during the export.
  4. Upload the .rexp file.

If the dialog reports “The import has failed”, check the encryption key and the file. Unencrypted export files from older Relution versions can still be imported.


Check and publish policies after the import

Imported policies are created as new, local policies and are not yet active on any device. Check the following points before use:

  1. Publish the draft: Each policy is available as a draft in version 1. It is only distributed to devices after it has been published with Publish (see Policy Versioning →).
  2. Assign the policy: Links to device groups are not transferred, and automatic assignment is switched off. Assign the policy to the device groups in the target organization again.
  3. Check references: References to apps, certificate templates, images, Relution Shield servers or permissions point to objects of the source organization and are not found in the target organization. Open the affected configurations and select the objects of the target organization again.
  4. Add missing configurations: Configurations that are not exported are omitted without notice. Create them again in the target organization.
  5. Check off-times: Only whether off-time is enabled for the policy is transferred. The off-time periods themselves are transferred separately (see Off-Time Configuration →).

Configurations not exported

Configurations that reference uploaded files, apps or certificates are not included in the export.

These configurations are never exported:

  • Apple: Apple Configurator 2 configuration, app compliance, certificates, wallpaper, font, web clip, managed media, education configuration, single sign-on, extensible single sign-on, account setup (macOS)
  • Android: app compliance, compliance enforcement, certificates, wallpaper, access point name (APN) configuration, preferred activities
  • Windows: app compliance, App Control, certificates, VPN
  • ChromeOS: app compliance
  • Linux: certificates, Wi-Fi, Salt state

These configurations are only exported if no certificate is selected:

  • Apple: Wi-Fi (identity certificate or trusted certificates), email and Exchange (S/MIME or identity certificate), web content filter (Payload Certificate), VPN
  • Android (Legacy): Wi-Fi, VPN and Exchange (identity or signing certificate)
  • Windows: Wi-Fi

How helpful was this article?