Microsoft is phasing out the use of Remote PowerShell for Exchange Online, and will block its use next year. Remote PowerShell for Exchange Online will get blocked starting on June 1, 2023, per a ...
Microsoft has decided to effectively delay the deprecation of Remote PowerShell in Exchange Online in order to allow customers more time to migrate to the more secure REST-based v3 PowerShell module.