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 !
 
 

View solution in original post

It worked! 👍

 

Thanks for the help! 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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