none
Integrated windows authentication via EWS on Office 365. RRS feed

  • Question

  • Anyone know if there's a way to get my custom .net app to auto authenticate to office 365 mailboxes like it does with on premises exchange mailboxes? I use the current windows credentials in my app to authentication to the local exchange fine. However, in Office 365 I have to explicitly specify the users email and password. Is there a setting on offfice 365 that would allow this. I think it's also called Anonymous authentication...  

    I tried with the EWSEditor test tool also and it's default windows credentials feature fails for office 365 also.

    https://ewseditor.codeplex.com/

    Any suggestions would be great!

    Wednesday, May 13, 2015 9:46 PM

All replies

  • Anyone know if there's a way to get my custom .net app to auto authenticate to office 365 mailboxes like it does with on premises exchange mailboxes via EWS? I use the current windows credentials in my app to authentication to the local exchange fine. However, in Office 365 I have to explicitly specify the users email and password. Is there a setting on offfice 365 that would allow this. 

    I tried with the EWSEditor test tool also and it's default windows credentials feature fails for office 365 also.

    https://ewseditor.codeplex.com/

    Any suggestions would be great!

    Thursday, May 14, 2015 3:53 PM
  • I'm assuming you're using EWS since you mentioned EWSEditor. You cannot use your Windows credentials, you must authenticate with Basic or OAuth.
    Thursday, May 14, 2015 4:35 PM
    Moderator
  • Yes, EWS.  Even if my AD is on premises I would still need to use OAuth?
    Thursday, May 14, 2015 6:44 PM