Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SAML with EWS APIs

I have configured a ADFS server which has relying party trust configured to office 365. I am able to authenticate users in the O365 using ADFS server. Is it possible to use SAML token issued by this ADFS server and fetch calendar or mail details using EWS exchange APIs?

like image 543
pranjaljain Avatar asked Feb 24 '15 09:02

pranjaljain


People also ask

Is EWS being deprecated?

In September 2021, we announced that effective October 1, 2022, we will begin disabling Basic authentication for Outlook, EWS, RPS, POP, IMAP, and EAS protocols in Exchange Online.

What is EWS API?

Exchange Web Services (EWS) is a cross-platform API that enables applications to access mailbox items such as email messages, meetings, and contacts from Exchange Online, Exchange Online as part of Office 365, or on-premises versions of Exchange starting with Exchange Server 2007.

Does EWS support modern authentication?

Modern Auth (OAuth authentication) for EWS is only available in Exchange Online as part of Office 365. EWS applications using OAuth requires the "Full access to users' mailbox" permission to work. Full Mailbox Access is, therefore, the only permission type that can be granted for EWS Applications.


1 Answers

Have you DirSynced ADFS and O365 (which uses Azure Active Directory)?

If so, did you have a look at the Office 365 REST APIs?

Code samples

Just a thought!

like image 109
rbrayb Avatar answered Oct 04 '22 22:10

rbrayb