Back to top

Move to Personal feature restricted by security policy

Last updated November 20th, 2024

Environment

  • Knox SDK
  • Devices running Android 13 and higher

Overview

After creating a work profile without activating the Knox Platform for Enterprise license key, device users may encounter the following error when using the Move to Personal feature to move a file on their devices:

Security policy restricts this action.

Cause

Previously, the Move to Personal and Move to Work Profile features were exclusive to the work profile (Premium).

Starting Android 13, work profile and work profile (Premium) are combined into a unified work profile with all the premium and basic features in one place. As a result, the Move to Personal and Move to Work Profile features are now part of this unified work profile and are restricted until a valid Knox Platform for Enterprise license key is activated.

Resolution

In order to allow moving files to the personal profile, you must activate a valid Knox Platform for Enterprise premium license and call the setRestriction() API with the following parameter:

Parameter Value
RESTRICTION_PROPERTY_MOVE_FILES_TO_OWNER True

Additional Reading

For more information on the unified work profile, see Work profile unification.

Is this page helpful?