http://qs1969.pair.com?node_id=11119132


in reply to ADFS and EWS

The seige of alphabet soup confusion levied against tech people by microshaft never ceases to amaze me. don't know how you can work in this space and not walk away with brain damage. It's almost like the do it on purpose. <_<

It appears just from wading in this garbage for 5 minutes to me that you establish an oauth2 token via ADSF, then use that to connect to EWS. I assume you need to have exchange configured against ADFS already.

So it looks to me like a combination of various things that Perl supports via CPAN:

Good luck, idk how you put up with this unnecessary and never ending complication of permutations.

Replies are listed 'Best First'.
Re^2: ADFS and EWS
by The_Dj (Sexton) on Jul 10, 2020 at 13:42 UTC
    don't know how you can work in this space and not walk away with brain damage.

    Who said I didn't?

    Anyways; Yes. Something like that.
    But some bits are controlled by corporate, in another country (and another language, probably)

    I was hoping Email::Folder::Exchange::EWS would shortcut all the other alphabet-soup stuff, but it just gets 401 :'(
    I'll check those links.
    Thanks.
      >Who said I didn't?

      You're here, so that's ++ towards your sanity xD

      What you're missing now is the Authentication step. Once you clear security, that package should eliminate most of the soup.