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

Guest user email address

Hi, 

I'm trying to set up a flow to send an email to Assigned To user. This works fine with a user in the organisation however when assigning a guest user, the email field comes back as null. I believe this may be down to having existing contacts for the guest users and there being a conflict with having the same SMTP address against two objects in AzureAD. 

 

Annotation 2019-11-14 153928.png

 

Just wondering if anyone had any ideas on how else to pull an email address from the assigned to field.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
DaveAtl
Regular Visitor

For reference, 

 

Found a forum post about getting information from Azure AD with an expression from the Guest user claim.

 

replace(triggerBody()?['AssignedTo']?['Claims'], 'i:0#.f|membership|', ''
 
Then using the Get User action, I was able to pull the mail attribute and use that in the email action.
 

View solution in original post

1 REPLY 1
DaveAtl
Regular Visitor

For reference, 

 

Found a forum post about getting information from Azure AD with an expression from the Guest user claim.

 

replace(triggerBody()?['AssignedTo']?['Claims'], 'i:0#.f|membership|', ''
 
Then using the Get User action, I was able to pull the mail attribute and use that in the email action.
 

View solution in original post

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,436)