Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Identity Hub
    • All guides
    • Subscribing a user to notifications
      • Adding an SSH key
      • Deleting an SSH key
      • Enabling refresh tokens
      • Enabling the two-factor authentication requirement for Yandex accounts
        • Creating an MFA policy
        • Applying an MFA policy to users
        • Managing exceptions to MFA policies
        • Updating an MFA policy
        • Activating or deactivating an MFA policy
        • Deleting an MFA policy
        • Removing an MFA factor and resetting the verification date
    • Syncing users and groups with Active Directory
    • Billing management in Yandex Identity Hub
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • Yandex Identity Hub Sync Agent release notes

In this article:

  • Updating a list of exceptions
  • Viewing a list of exceptions
  1. Step-by-step guides
  2. Authentication
  3. Managing MFA
  4. Managing exceptions to MFA policies

Managing exceptions to MFA policies

Written by
Yandex Cloud
Updated at May 8, 2026
  • Updating a list of exceptions
  • Viewing a list of exceptions

Exceptions prevent an MFA policy from applying to individual users or user groups added to the policy's target group. For example, you can exclude robots or an admin group if the policy is assigned to the entire organization. If you later remove these users or groups from the list of exceptions, they will not need to reconfigure authentication.

Updating a list of exceptionsUpdating a list of exceptions

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub.

  2. In the left-hand panel, select Security settings.

  3. Navigate to the MFA policies tab and select the policy you need from the list. In the window that opens:

    1. Navigate to the Exclusions tab.

    2. To add a user or user group to the list of exceptions:

      1. Click  Add exclusion.
      2. In the window that opens, select the required user or user group.
      3. Click Add.
    3. To delete a user or group from the list of exceptions:

      1. In the list of users and groups, click and select Delete next to the user or user group.
      2. Confirm the deletion.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. View a list of users or groups subject to the MFA policy:

    yc organization-manager mfa-enforcement list-audience \
      --id <policy_ID>
    
  2. View the description of the CLI command for updating a list of exceptions to an MFA policy:

    yc organization-manager mfa-enforcement update-excluded-audience --help
    
  3. To add a user or user group to a list of MFA policy exceptions, run this command:

    yc organization-manager mfa-enforcement update-excluded-audience \
      --id <policy_ID> \
      --audience-delta subject-id=<subject_ID>,action=<action>
    

    Where:

    • --audience-delta: Parameter to edit the list of users/groups in the policy:
      • subject-id: User or group ID.
      • action: Action, action-add to add, action-remove to delete.

    You can specify multiple --audience-delta parameters to add or remove more than one object at a time.

    Result:

    mfa_enforcement_id: bpfjv8qeq4ii********
    effective_deltas:
      - action: ACTION_ADD
        subject_id: aje0j5mts02t********
    

Use the UpdateExcludedAudience REST API method for the MfaEnforcement resource or the MfaEnforcementService/UpdateExcludedAudience gRPC API call.

Viewing a list of exceptionsViewing a list of exceptions

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub.
  2. In the left-hand panel, select Security settings.
  3. Navigate to the MFA policies tab and select the policy you need from the list.
  4. In the window that opens, navigate to the Exclusions tab and view the list of users and groups excluded from the policy.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. View a list of users or groups subject to the MFA policy:

    yc organization-manager mfa-enforcement list-excluded-audience \
      --id <policy_ID>
    

    Result:

    +----------------------+---------------+
    |          ID          |     TYPE      |
    +----------------------+---------------+
    | aje0j5mts02t******** | federatedUser |
    +----------------------+---------------+
    

Use the ListExcludedAudience REST API method for the MfaEnforcement resource or the MfaEnforcementService/ListExcludedAudience gRPC API call.

See alsoSee also

  • Applying an MFA policy to users
  • Creating an MFA policy
  • Updating an MFA policy
  • Activating or deactivating an MFA policy
  • Deleting an MFA policy
  • Removing an MFA factor and resetting the verification date
  • Multi-factor authentication in Yandex Identity Hub

Was the article helpful?

Previous
Applying an MFA policy to users
Next
Updating an MFA policy
© 2026 Direct Cursus Technology L.L.C.