Learn how to get the manager of a user easily in Power Apps with the Office 365 Users connector. This is a standard (free) connector that lets you return all kinds of data about your users. I'll walk you through how to use it in Power Apps to return a user's manager and how to pre-populate a person or group field in SharePoint in your Power Apps form with that manager information.
watch?v=B4hW_pRIgvM