Forum Discussion
VibhorM
Apr 10, 2019Copper Contributor
Calling Exchange Online PowerShell Cmdlets from C# With Modern Authentication
Hi Currently We can calling Exchange Online Commandlets With the below code : WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("https://outlook.office365.com/PowerShell-LiveID")...
VibhorM
Mar 12, 2020Copper Contributor
Hello Us9898 ,
We are using Exchange Online Remote PowerShell Module , to invoke cmdlets using modern authentication.
https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell?view=exchange-ps#connect-to-exchange-online-powershell-by-using-mfa