The connection settings determines how to connect to the Exchange Online organization.

Service Principal (Certificate)

This is the recommended authentication method.

Service Principal (Client Secret)

This method uses a client secret (password) for security - which is easier to share however is less secure than the certificate method.

Credentials (Deprecated)

This method uses a username and password and has been deprecated and is not recommended.

To scan interactivity instead using multi-factor authentication use the Microsoft 365 Agent UI.