Announcements
Hi!I need to put the manager in a label, but the command Office365Users.Manager(lbl_Id.Text).DisplayName gives an error:Office365Users.Manager failed: The method "manager" has an invalid value for parameter "userid"My friend commented that it is necessary to install an add-on.How do I do that?Thank you!
Are you trying to return the ID of the manager of the person using powerapps? if so try this:
Office365Users.Manager(Office365Users.UserProfile(User().Email).Id).DisplayName
An add-on is not necessary, but for this to work lbl_id.Text would need to contain the User Principal Name in Office 365 for the user. This is normally the same as the email address. I suspect you are using their Account name instead. For example the manger's display name for the current user running the application would be
Office365Users.Manager(user().Email).DisplayName
Under review
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 355 Most Valuable Professional
11manish 209 Super User 2026 Season 2
MS.Ragavendar 150 Super User 2026 Season 2