Filter(Office365Users.SearchUser({searchTerm:""}), AccountEnabled = true)
To filter the People Picker in your Power Apps app to show only enabled users, follow these steps:
Add the Office 365 Users connector to your app.
Select the Combo Box for "Your Manager" and set its Items property to: