CIPP icon

CIPP

Interact with CIPP API

Actions129

Overview

This node operation sets the per-user Multi-Factor Authentication (MFA) state for a specified user within a tenant. It is useful for administrators who need to enforce, enable, or disable MFA on individual user accounts to enhance security. For example, an admin can enforce MFA for a user who handles sensitive data or disable MFA temporarily for troubleshooting purposes.

Use Case Examples

  1. Enforce MFA for a user by setting MFA state to 'Enforced'.
  2. Enable MFA for a user without enforcing it, allowing optional MFA use.
  3. Disable MFA for a user who is unable to use MFA temporarily.

Properties

Name Meaning
User ID The user ID or email address of the user for whom the MFA state is being set.
Tenant Filter The tenant ID or domain name to specify the tenant context for the operation.
MFA State The MFA state to set for the user. Options include 'Enforced', 'Enabled', and 'Disabled'.

Output

JSON

  • userId - The ID or email of the user whose MFA state was set.
  • tenantFilter - The tenant ID or domain name where the user resides.
  • mfaState - The MFA state that was applied to the user.
  • status - The result status of the MFA state update operation.

Dependencies

  • Requires an API key credential for authentication to the CIPP API.

Troubleshooting

  • Ensure the user ID and tenant filter are correctly specified; incorrect values may cause the operation to fail.
  • Verify that the API credentials have sufficient permissions to modify user MFA settings.
  • If SSL certificate validation errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Timeouts may occur if the server is slow to respond; adjust the timeout setting if necessary.

Discussion