hi
i am trying to create a form , can I know how to auto populate the user's direct manger and it's manager direct officer?
I trying using
Office365Users.ManagerV2(User().Email).mail - it not working
Needs the User
RO (reporting officer)
first name, last name, email, department and title all the field are single line in SP list.
then RO direct manager call it AO
first name, last name, email, department and title all the field are single line in SP list.
kindly help to advise on this thank you
error show
i try this error too - DataCardValue5 is the User name who log to the screen.
If(
ApplicantForm.Mode = FormMode.New,
{
FirstName(RO): IfError(Office365Users.DirectReportsV2(DataCardValue5.Selected.Email), blank(), Office365Users.DirectReportsV2(DataCardValue5.Selected.Email).displayName
Claims: "i:0#.f|membership|"& Lower(varRO.email)
},
Parent.Default
)
Manager RO same field for RO Manager (AO)
Thanks will check with IT.
Does the account you are building this app with have a manager? This error indicates that it does not - anyone who uses the app and does not have a manager set on Azure Active Directory will get an error like that as it cannot look it up if it doesn't exist 🙂
MS.Ragavendar
27
mmbr1606
14
Super User 2025 Season 1
EE-04041031-0
11