@JR-BejeweledOne so the issue is that since ComboboxEmployeeInfo.Selected.Mail can be blank, it throws an error which is more like a warning, that the function has an invalid value for parameter 'id'. All you need to do is this:
Set(varManagerDN, If(!IsBlank(ComboboxEmployeeInfo.Selected.Mail), Office365Users.ManagerV2(ComboboxEmployeeInfo.Selected.Mail).displayName));
Set(varManagerEmail, If(!IsBlank(ComboboxEmployeeInfo.Selected.Mail), Office365Users.ManagerV2(ComboboxEmployeeInfo.Selected.Mail).mail));
Set(varManagerTitle, If(!IsBlank(ComboboxEmployeeInfo.Selected.Mail), Office365Users.ManagerV2(ComboboxEmployeeInfo.Selected.Mail).jobTitle));
Let me know if this works.
---
If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions.
Thanks!
Hardit Bhatia
Microsoft Business Applications MVP
Microsoft Certified Trainer MCT
Blog | Twitter | LinkedIn | Facebook | YouTube | Email