Technical requirements
Since we're going to be working with Entra ID to retrieve user data, you'll need an account that has global administrator access to configure your Entra ID 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 under the Configuring prerequisites section.
Note: In addition to required permissions, you'll need to walk through a procedure to configure multifactor authentication in your tenant. Configuring multifactor authentication is outside the scope of this book. However, if you are interested in learning more about it or configuring it, you can visit: https://learn.microsoft.com/en-us/entra/identity/authentication...