Microsoft's legacy Remote PowerShell protocol in the Security and Compliance PowerShell module will begin to be deprecated soon, starting from July 15, 2023 as a part of modernisation efforts.
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.