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

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
Microsoft
Microsoft

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (74,791)