cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Org Browser Error

I created the Org Browser Power App adding a employee picture on the last screen. The app works fine but I have an error message of "The method 'UserPhoto' has an invalid value for parameter 'userID'. How can this be fixed?

6 REPLIES 6
Highlighted
Community Support
Community Support

Re: Org Browser Error

Hi @Suep,

 

Please take a try to change the formula as below:

Office365Users.UserPhoto(First(EmployeeProfile).Id)

Or

Office365Users.UserPhoto(First(EmployeeProfile).Mail)

See if doing this would help.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Org Browser Error

Michael,

Thank you for you reply. I have tried both of the functions on your reply and neither work. Any suggestions?

Highlighted
Community Support
Community Support

Re: Org Browser Error

Hi @Suep,

 

Would you please share the error messages in a screenshot?which data you are trying to work with?

the UserID for the Office365.Userphoto() should be the User principal name or email id.

Check the document below:

Office 365 Users

For the Userphoto function, please check:

Connector reference

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Org Browser Error

 

 

SheaORG error.JPG

Does this help? I'm wondering if it has anything to do with the users w/o pictures? 

Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Org Browser Error

 

 

SheaORG error.JPG

Does this help? I'm wondering if it has anything to do with the users w/o pictures? 

Highlighted
Community Support
Community Support

Re: Org Browser Error

Hi @Suep,

 

The Email used in the userPhoto should be within the same organization as yours.

The error message told that the Value input for the Office365Users.UserPhoto () is not right.

Please verify the Email Address or the corresponding UserId.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (3,484)