How to export users along with their multifactor information

I’m trying to search the number of users who have MFA enrolled on our Auth0 tenant. Could not find anywhere in the docs how can i search for that. can you please guide me?

Hi @narges.fallahi,

Thanks for reaching out to the Auth0 Community!

To search for the users who have enrolled in MFA, you will need to use the Management API v2 Get user endpoint and filter for the multifactor property in the user object. The multifactor property defines the list of multi-factor providers the user has enrolled.

Below is an example you should look for in the response:

  // redacted for brevity
  "multifactor": [
  "multifactor_last_modified": "2021-08-29T19:00:05.069Z",
  // redacted for brevity

As for exporting your users, you will have to specify the multifactor field to retrieve this information in the user export file.

I hope this helps!

Please let me know how this goes for you.

Thank you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.