OAuth2 for Office365 Fails to Obtain Access Token
Hi,
I'm struggling to get the EWS plugin to work for my 2FA enabled Office365 Mailbox and can't find any answers.
I followed this guide: https:/
I configured the Enterprise Application on my tenant, and although some of the steps in the guide don't fully map to where the settings are (I guess the Azure AD portal has been updated since the guide was written) I have found and set everything OK.
I configured the Evolution client and when I try to test it I do get prompted with a Microsoft 2FA windows as expected, and authorise it in my Authenticator app, but when the client tries to obtain the access token it fails.
I get a long message, but I think they key part of it is this:
"Failed to obtain access token from address" followed by https:/
"the request body must contain the following parameter: 'client_assertion' or 'client_secret'
It seems to be that the Office365 side is set right, but the EWS plugin is sending a malformed request.
FYI my day job is, among other unified communication platforms, an Office365 / Exchange admin so I am familiar with that side of things.
Anyone got any advice?
Thanks
Paul
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Paul Gregory
- Solved:
- Last query:
- Last reply: