Yandex Cloud
Search
Contact UsTry 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 April 27, 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. If you later remove these users or groups from the exceptions list, they will not need to reconfigure authentication.

Updating a list of exceptionsUpdating a list of exceptions

CLI

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 set a different folder for any specific command using the --folder-name or --folder-id options.

  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********
    

Viewing a list of exceptionsViewing a list of exceptions

CLI

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 set a different folder for any specific command using the --folder-name or --folder-id options.

  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 |
    +----------------------+---------------+
    

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.