cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Office365Users.UserProfileV2 with email parameter, The response is not in a JSON Format

Hi All,

 

As I know Office365Users.UserProfileV2 can use email as parameter and return id by using Office365Users.UserProfileV2 (email).id

 

But today I found that after I pass in the email in to Office365Users.UserProfileV2, it return

 

Office365Users.UserProfileV2 failed

 

code: 500

 

"The response is not in a JSON Format"

 

Anyone has some workaroung or solution for passing in email(NOT UPN) in Office365Users.UserProfileV2?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Regular Visitor

Hi All, Problem Solved. Thanks

View solution in original post

Nothing special, seems they have solved it Office365Users.UserProfileV2("YourEmail").id (if you would like to get your id)

View solution in original post

3 REPLIES 3
Regular Visitor

Hi All, Problem Solved. Thanks

View solution in original post

Would you mind posting the specifics of your solution?

Nothing special, seems they have solved it Office365Users.UserProfileV2("YourEmail").id (if you would like to get your id)

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,300)