Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting O365 using Modern Authentication #23

Open
KishorekumarElangovanSecurrency opened this issue Aug 12, 2022 · 1 comment
Open

Comments

@KishorekumarElangovanSecurrency

This is connecting the exchange using basic authentication. Since the basic authentication is going to be deprecated by microsoft for O365 in oct'22, is there an alternate way to connect to O365 using modern authentication? If yes is it possible to use it in this code? Or is it possible to use Connect-ExchangeOnline module?

@jonnords
Copy link
Contributor

Yes, you can replace the connection to EXO with a managed identity as an example. Simplest for now is likely to load the EXO modules and change the connection string for EXO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants