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

Manual trigger: User email output is the encoded one not the email account

Hi,

When using manual trigger, the output "User email" is:

@{triggerOutputs()['headers']['x-ms-user-email-encoded']}

 

where I think it must give:

@{triggerOutputs()['headers']['x-ms-user-email']}

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi @Sherif-Abolsaud,

 

It is by design for encode the user info, the encode email could also use directly in some action, for example Get user action of Azure AD:

Screenshot 2020-09-28 161807.jpg

If you want to get the uncode email, you could decode it by expression. 

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Hi @Sherif-Abolsaud,

 

The dynamic content of User email default is encoded. The uncode email not appear in the dynamic list, but you could use the expression to get the uncode email.

triggerOutputs()['headers']['x-ms-user-email']

Screenshot 2020-09-28 133520.jpg

 

Screenshot 2020-09-28 133833.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted

Hi @v-litu-msft ,

I already did the same, but what is the use of encoded user email?!

This encoded field should be hidden from the dynamic list as many as other fields.

 

The dynamic list should include the usable fields only.

Highlighted

Hi @Sherif-Abolsaud,

 

It is by design for encode the user info, the encode email could also use directly in some action, for example Get user action of Azure AD:

Screenshot 2020-09-28 161807.jpg

If you want to get the uncode email, you could decode it by expression. 

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Users online (9,650)