cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SoB
Advocate II
Advocate II

UserPhoto and UserPhotoV2 error

Office365Users.UserPhotoV2 failed: The method 'UserPhotoV2' has an invalid value for parameter 'id'

 

Office365Users.UserPhotoV2 failed: The method 'UserPhoto' has an invalid value for parameter 'id'

 

Getting this error everytime during Runtime.

 

I am able to view the profile photos of otherusers but still get this error.

 

My Code:

Office365Users.UserPhotoV2(ThisItem.About_Resource)

 

12 REPLIES 12
yashag2255
Dual Super User II
Dual Super User II

Hey @SoB 

 

Glad that it worked!! Please let us know if you continue to face any issue. 

 

If this question/ query is resolved, please mark as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hi @yashag2255  I am getting this error message.

 

I am using:            Office365Users.UserPhotoV2(varUser.Email)

the image is populating correctly, but still getting error message - Office365Users.UserPhotoV2 failed: The method 'UserPhotoV2' has an invalid value for parameter 'id'.

 

Could you help me with this?

Thanks!

I got the same error as @garrettl said, anyone can help?

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (77,801)