Technical requirements
Since we’re going to be working with Azure AD to retrieve user data, you’ll need an account that has global administrator access to configure your Azure AD and Microsoft 365 environments. If you’re following along using a trial tenant that you created, you should already have all of the required permissions. However, if you’re working on this in a production tenant where you don’t have the required rights, you’ll need to work with administrators who can configure the appropriate delegated permissions in the Configuring prerequisites section.
In addition to required permissions, you’ll need to walk through a procedure to configure MFA in your tenant. Configuring MFA is outside the scope of this book. However, if you are interested in learning more about it or configuring it, you can visit https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-getstarted.
While MFA doesn...