Exporting data about MFA authenticators from Auth0 connection along

We have enabled MFA in our tenant with Phone Message (via SMS) and email. When a user enrols for MFA their authenticators are stored in Auth0 and are visible on the dashboard. We have a requirement to find out how many users have not registered to MFA, currently the only way is to export all the users using Mgmt API /api/v2/jobs/users-exports (or using extension), and then call API /api/v2/users/{user_id}/authentication-methods in a loop. This method is very intensive as we have 300K + users. We are looking for a better way to export this data (which is required on a periodic basis.
Also in our design, we did not want to store the authenticators in our DB to avoid duplication, and only mastered them in Auth0.

Hi @ashish.jamthe1,

You can use the List or Search Users endpoint, which already contains a multifactor property in every user object. This property contains a list of every user’s MFA, which you can process locally to minimize API calls.

If you have any other questions, feel free to reach out.

Have a good one,
Vlad