Exchange Online Basic Authentication Depreciation

Hi Community,

Version - 8.0

As I have received the notification that basic authentication will be disabled and sync to Exchange online wont be possible, so I was wondering what could be the alternative here.

We are connecting to exchange online using PowerShell custom script with basic authentication.

New -PSSession -ConfigurationName Microsoft.Exchange -ConnectionURI https://xyz.com/powershell -Credential -Authentication Basic -SessionOption

Thanks.

Parents
  • $AppId = "[GUID]"
    $Organization = "acme.onmicrosoft.com"
    $ThumbPrint = Get-Content "C:\Certificate\ThumbPrint.txt"
    $Certificate = Get-ChildItem "Cert:\LocalMachine\My\$($ThumbPrint)"
    $ExchangeOnline = Connect-ExchangeOnline -AppId $AppId -Certificate $Certificate -Organization $Organization

    You need to create an AppId in your Azure-tenant and import the certificate to the Identity Manager-server. Then you can use the above code.

Reply
  • $AppId = "[GUID]"
    $Organization = "acme.onmicrosoft.com"
    $ThumbPrint = Get-Content "C:\Certificate\ThumbPrint.txt"
    $Certificate = Get-ChildItem "Cert:\LocalMachine\My\$($ThumbPrint)"
    $ExchangeOnline = Connect-ExchangeOnline -AppId $AppId -Certificate $Certificate -Organization $Organization

    You need to create an AppId in your Azure-tenant and import the certificate to the Identity Manager-server. Then you can use the above code.

Children
No Data