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:
- Connect to Exchange Server (on-premises) - Power Platform | Microsoft Learn
- Hybrid Modern Authentication for Exchange on-premises - Power Platform | Microsoft Learn
However, we encountered an error while testing the connection. Attaching the error log we got while testing the connection with this mail.