Service Principal (Client Secret)
The authentication type.
The unique identifier of application associated with the service principal in GUID format.
The client secret to use for the connection.
The Exchange environment to connect to - by default this is the standard Microsoft 365 environment.
The Exchange organization to connect to.