Announcements
I get this error in a field where I am trying to populate the current user manager's details.
If(!IsBlank(Office365Users.MyProfile().Id),(Office365Users.Manager(Office365Users.MyProfile().Id).GivenName & " " & Office365Users.Manager(Office365Users.MyProfile().Id).Surname))
Hi @KDAI ,
Please try:
With( { MyManager:IfError(Office365Users.Manager(User().Email),{GivenName:"You don't have any manager",Surname:""}) }, MyManager.GivenName & " " & MyManager.Surname )
Best Regards,
Bof
did not work it gives me error saying expected 1
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.
11manish 354 Super User 2026 Season 2
M Bilal Khan 330
Mohsin Ali 232