<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Policy Error “This operation isn’t supported in the Okta account management policy”

Okta Classic Engine
Okta Identity Engine
Administration

Overview

The following error occurs when attempting to add custom expressions that include device attributes (for example, device.profile.managed == True) to the Okta Account Management Policy:

 

This operation isn’t supported in the Okta account management policy

 

Applies To

  • Policy
  • Management and Monitoring
  • Account Management

Cause

The Okta Account Management Policy is specifically designed for managing user accounts and authenticator lifecycle operations. Its scope includes:
  • Authenticator enrollment and unenrollment
  • Password recovery
  • Account unlock

This policy’s custom expression capabilities are limited to the context of these account management functions. Conditions based on device state or attributes, such as whether a device is managed, are not supported within the Account Management Policy. Device assurance is fundamentally a condition for accessing applications or resources, not for managing the account itself.

Solution

Configurations must be applied within Authentication Policies (Sign-On Policies) for specific applications to enforce device assurance conditions, such as requiring users to sign in from a managed device.
 
Authentication Policies are the appropriate mechanism to:
  • Define access requirements based on device posture (for example, managed device, trusted device).
  • Control user access to applications based on various conditions evaluated at the time of a sign-in attempt.
By configuring device-based conditions in Authentication Policies, adherence to necessary device requirements for application access can be ensured. The Okta Account Management Policy remains dedicated to governing account lifecycle operations.
 
 
Loading
Okta Support - Okta Policy Error “This operation isn’t supported in the Okta account management policy”