web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : CUqCBcXzlDZ7W3sLuno8+1
Power Automate - Using Flows
Answered

For a selected file trigger - returned encrypted user email

Like (1) ShareShare
ReportReport
Posted on 17 Sep 2019 12:32:59 by 153

I've created a Flow in which it uses the For a selected file trigger on a SharePoint Document Library.

 

It then tries to extract the email address of the user who triggered the Flow, however, the email address returned is encrypted!

 

Can anyone else replicate this?

 

Extract the email address of the user who triggered the FlowExtract the email address of the user who triggered the Flow...email address returned is encrypted!...email address returned is encrypted!

 

 

I have the same question (0)
  • gullettb Profile Picture
    11 on 15 Jul 2025 at 19:30:05
    For a selected file trigger - returned encrypted user email
    @OliverR-82 - I was experiencing this issue today and was able to resolve it quickly with the info you posted. Thank you!
  • OliverR-82 Profile Picture
    615 on 18 Oct 2022 at 12:28:30
    Re: For a selected file trigger - returned encrypted user email

    Thank you, this gave me the tip to look at decoding functions. The example you linked to is relevant when you're dealing with attachments. However, to decode the email address of the user who triggered a flow, you can do it slightly different:

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

    Hope this helps someone else in the future.

  • calebmfoster Profile Picture
    4 on 25 Feb 2021 at 20:33:08
    Re: For a selected file trigger - returned encrypted user email

    I think I've found a work around as of 2/25/21:

    How to avoid corrupt email attachment in Power Automate (tomriha.com)
    I believe the formula snippet could be applied to other parts of the email as well

    format:
    base64ToBinary([Attachments Content])
    
    note: [Attachments Content] is a dynamic content
    
    when using in a flow, it could look like this:
    base64ToBinary(items('Apply_to_each')?['contentBytes'])
     

     

  • kitUser Profile Picture
    27 on 30 Oct 2020 at 15:37:58
    Re: For a selected file trigger - returned encrypted user email

    I am currently experiencing this issue since yesterday, 10/29/2020. Anyone else having this issue? 

    Update: I was able to create a new flow as a work around for this issue. It is unfortunate to have to transfer all my actions to the new flow to resolve this issue. 

    email_encrypted1.PNG

    email_encrypted.PNG

     

    email_encrypted_query.PNG

    email_encrypted_query2.PNG

  • bpe383 Profile Picture
    2 on 18 Oct 2019 at 12:13:20
    Re: For a selected file trigger - returned encrypted user email

    It appears it's not fixed. Mine just started having this issue last week (10/11/2019)

     

    Any suggestions.

  • Verified answer
    v-alzhan-msft Profile Picture
    on 18 Sep 2019 at 05:10:51
    Re: For a selected file trigger - returned encrypted user email

    Hi @hubertlam ,

     

    I'm afraid that the issue is caused by microsoft and now the issue has been fixed.

    Since your problem has been solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

     

    Best regards,

    Alice       

     

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

  • hubertlam Profile Picture
    153 on 17 Sep 2019 at 13:55:07
    Re: For a selected file trigger - returned encrypted user email

    What the heck?!?! It's now working again.

     

    Someone has been tweaking the encoding behind the scenes!

  • hubertlam Profile Picture
    153 on 17 Sep 2019 at 12:54:22
    Re: For a selected file trigger - returned encrypted user email

    OK - just found out that this is Base64 encoding:

     

    image.png

     

     

    Anyone know how to decode from base64 back into plain text?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow
Loading complete