The result is an error in the test command of OAuth authentication for hybrid migration.
Test-OAuthConnectivity-Service EWS-TargetUri https://outlook.office365.com/ews/exchange.asmx -Mailbox sample01 -Verbose | Format-List
When I checked the error code "AADSTS700027" from the error contents, it seems that the reason is that the certificate key can not be found.
I imported the certificate I exported from the on-premises Exchange server into Exchange Online, but I found no problems with the certificate. It has not expired yet.
Test-OAuthConnectivity-Service EWS-TargetUri https://outlook.office365.com/ews/exchange.asmx -Mailbox sample01 -Verbose | Format-List
When I checked the error code "AADSTS700027" from the error contents, it seems that the reason is that the certificate key can not be found.
I imported the certificate I exported from the on-premises Exchange server into Exchange Online, but I found no problems with the certificate. It has not expired yet.