MC217815 – We are happy to announce the public preview of a modern authentication unattended scripting option for use with Exchange Online PowerShell V2, which provides customers with the ability to run non-interactive scripts.
This message is associated with Microsoft 365 Roadmap ID 60528.
When this will happen
This feature is currently available in all environments.
How this will affect your organization
As previously announced (MC208814), basic authentication for Exchange Online Remote PowerShell will be retired in the second half of 2021. Customers who currently use Exchange Online PowerShell cmdlets in unattended scripts should adopt this new feature which uses AzureAD applications, certificates, and modern authentication.
What you need to do to prepare
Download version 2.0.3-preview or later of the EXO PowerShell V2 module, available via PowerShellGallery.
- You should update any scripts you use to connect to Exchange Online to use this new authentication method.
- Review how to use the Exchange Online PowerShell V2 module.