How do I do auth with Exchange Online Federated in command line with just a user and pass?

Hi,

We have an internal command line application. This command line application asks the user for their Exchange Online email and password. We have a Office 365 Federated set up and this application will be used outside of our company's corporate network.

We would like the user to be authenticated with Exchange Online with just the username and password. We cannot open a browser window for SSO OAuth token generation. It must all happen in command line (similar to how IMAP or POP authentication is done with just username and password).

Can I get some pointers on how to achieve this? Any sample code would also be really helpful.

Thanks!

TDG


  • Edited by Tarra D G 4 hours 30 minutes ago Added SSO keyword
August 29th, 2015 10:59pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics