If you choose the server type as the Exchange Web Services (EWS) using
OAuth authentication, the Tenant ID and Client ID
fields are mandatory although the interface displays these
fields as optional because they can be skipped for Basic Authentication. The
recommended practice is to use OAuth authentication for enhanced security.
Configure online EWS for OAuth authentication