When using MSOffice365Protocol as the protocol, during authentication it always fails with error
Unable to fetch auth token. Error: (invalid_client) AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.
The issue was found to be the following
class MSOffice365Protocol(Protocol):
_protocol_url = 'https://outlook.office.com/api/'
_oauth_scope_prefix = 'https://outlook.office.com/'
After changing it to the following, it seems to work fine
_protocol_url = 'https://outlook.office365.com/api/'
_oauth_scope_prefix = 'https://outlook.office365.com/'