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

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (7,168)