I hope this message finds you well. The situation we encountered and the online solution we discovered are shown below. We encountered the following problem when attempting to set up the server profile. We encountered an Exchange Online error while moving the PowerApps solution to the client UAT environment because all their mailboxes are on-premises in the Exchange 2019 Hybrid Environment. This caused the solution migration to stop. We have found a potential solution on the Microsoft site that might address our issues:
We recently created a server profile under the email settings for our on-premises Exchange Server using HMA (Hybrid Modern Authentication). However, we encountered an error while testing the connection. Attaching the error log we got while testing the connection with this mail.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.