Authentication Type

The authentication type is Credentials (Deprecated). This method is deprecated and not recommended.

It is recommended to use a service principal with a certificate, or login interactively using multi-factor authentication using the Microsoft 365 agent UI.


The username of the account to use for login.


The password of the user account.


The environment to connect to.

Organization Name

The name of the organization (tenant). The tenant identifier cannot be used as this in not compatible with the Exchange Online organization scan tasks.

Create Service Principal

Launches the Microsoft service principal creation tool. This will help automate the process of creating and configuring a service principal with a certificate.

For more information see the requirements section.