Switching from Basic Auth to Modern Auth

Copper Contributor

Hi Guys,

 

We are using custom powershell script to create users on O365 using basic auth, As Basic Auth is deprecating please any inputs or KBs.

 

Error we are getting at 

""
$script:EOSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $script:eo365creds -Authentication Basic -AllowRedirection

0 Replies