cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hojo3
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
hojo3
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
hojo3
Regular Visitor

Hi All, Problem Solved. Thanks

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)

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,711)