we have moved some user mailboxes to o365 but some user and room mailboxes remain on-prem Exchange 2010 servers. Our EWS managed API application is currently using basic authentication with impersonation service account. we are changing it to use OAuth authentication. Will OAuth works in EX2010? can we use OAuth Token from Azure AD When making EWS requests to get room availability details or read user's calendar on- prem? how is impersonation handled in OAuth?
Thanks !