We have two ways.

  1. Enabling or Disabling Multifactor Authentication (MFA) In Dynamics 365.
  2. Azure portal service.

1. Enabling or Disabling Multifactor Authentication (MFA)

Create Trial Instance and Login to Trail.

Open: https://admin.microsoft.com/

After accessing the provided URL, a screen will be displayed below.

Active users

Once you select "Multi-factor authentication," the screen displayed will show the following options.

If the feature is activated, you'll have the option to choose a user and subsequently deactivate it.

Multi-factor authentication

When the feature is deactivated, you'll be able to choose a user and subsequently enable it.

Bulk updates

2. Azure portal service

Security defaults