Connect to Exchange Online with the Remote PowerShell V2 Module in C# (.NET Core 3.1)

Important

This article records procedures from 2021. Remote PowerShell for Exchange Online has been retired, so this connection method no longer works. Support for .NET Core 3.1 ended on December 13, 2022, and it no longer receives security updates or technical support. See the Exchange Team Blog on Remote PowerShell retirement, the Microsoft .NET lifecycle information, and the current Exchange Online PowerShell documentation. The sample below is a historical record; do not embed passwords in code.

Read more

Connect to Exchange Online with the Remote PowerShell V2 Module in C# (.NET Framework 4.7.2)

Important

This article records procedures from 2021. Remote PowerShell for Exchange Online has been retired, so the connection method using this V2 module is no longer available. See the Exchange Team Blog on Remote PowerShell retirement and the current Exchange Online PowerShell V3 module documentation. The sample below is a historical record; do not embed passwords in code.

Read more

View all posts