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

Office365Users.UserProfileV2 failed: { "statusCode": 404, "message": "Resource not found" } for guest users

Hi Everyone,

 

I'm having some troubles with the Office365Users connector.

I'm trying to retrieve information on a guest user by using its e-mail address with the UserProfileV2 function. The function returns a "Resource not found" error message, however, I was able obtain the user's ID via the MicrosoftPlanner connector and when I use it to search with the UserProfileV2 function it the returns the user profile with correct the e-mail address.

 

So basically this is the scenario:

UserProfileV2([o365_user_id]) -> OK

UserProfileV2([o365_user_email]) -> OK

UserProfileV2([guest_user_id]) -> OK

UserProfileV2([guest_user_email]) -> NOK

 

Could someone please confirm that this is an issue?

 

Thank you.

 

Best Regards,

Mario 

 

 

  

1 ACCEPTED SOLUTION

Accepted Solutions
rohsh354
Community Support
Community Support

Hello,

 

UPN for guest user has different format than the regular users.

 

Example: rohsh354_sample.com#EXT#@myorg.onmicrosoft.com
 
Screen1.png
 
This should work for guest user.
 
Hope this helps !
 
 

View solution in original post

2 REPLIES 2
rohsh354
Community Support
Community Support

Hello,

 

UPN for guest user has different format than the regular users.

 

Example: rohsh354_sample.com#EXT#@myorg.onmicrosoft.com
 
Screen1.png
 
This should work for guest user.
 
Hope this helps !
 
 

It worked! 👍

 

Thanks for the help! 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,481)