Hello everyone.
I've recently build a little updated version of an old people picker, but I am having some trouble.
I have a Combo Box with the following code in
Items: Office365Users.SearchUserV2({top:999}).value
When picking an Employee, I want the employees 365 picture showed in a gallery box, which I have done with the following code:
Office365Users.UserPhotoV2(ComboBox1.Selected.UserPrincipalName)
The Error occurs when initializing the app, as there is no selected value for the gallery to show, and therefore throws the following:
Office365Users.UserPhotoV2 failed: The method 'UserPhotoV2' has en invalid value for parameter 'id'
How do I get the gallery to not show an Error when no user has been selected?