Open
Description
Hi, during our NAA migration and moving to Graph from EWS for our addins, we encoutered limitations regarding Contact list expansion using Graph and maybe more. So we probably need to somehow continue using EWS.
I want to cross check that setting an Authorization
header with the new msal token will work for makeEwsRequestAsync()
when legacy token are deprecated, like:
return new Promise((resolve, reject) => {
Office.context.mailbox.makeEwsRequestAsync(ewsPayload, (asyncResult: Office.AsyncResult<string>) => {
...
},
{
headers: {
Authorization: `Bearer ${token}`, // MSAL token
},
}
);
});
So, my questions are:
- Will the request above continue to work with Authorization overridden by that header when legacy token are deprecated, or it will continue to internally use legacy token?
- If not, should I directly post to EWS with that header in my own request?
- Is turning the legacy tokens OFF in a tenant enough to test this end-to-end?
Thank you
Activity