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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Convert Outlook E-Mail...
Power Automate
Unanswered

Convert Outlook E-Mail Message ID into SharePoint Hyperlink

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

i have a litte problem. I want to generate a powerautomate flow which save the Attachment of a Mail into a Document Libary in SharePoint (this was easy 🙂 an additional create a colum with a link to the e-mail objekt. The Problem is the hyperlink is not correct it muss be converted to html hyperlink.

 

My Flow:

flow-1.PNG

My SP Libary:

flow-2.PNG

And my problem:

flow-3.PNG

I think i need to convert the "Messeage ID" but i don´t no how it works... but i found this information... 

encodeUriComponentGibt eine Zeichenfolge zurück, die URL-unsichere Zeichen durch Escapezeichen ersetzt.

 

I hope somebody can help me... Thanks a lot.

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,928 Most Valuable Professional on at

    Hi @Huber 

     

    Try expression encodeUriComponent

     

    Thanks

  • Huber Profile Picture
    4 on at

    Hello,

     

    unfortunately only the end of the string is converted correctly. The characters - are not replaced by% 20, what can I do now?

     

    flow-5.PNG

     

    flow-6.PNG

     

    Thank you.

  • abm abm Profile Picture
    32,928 Most Valuable Professional on at

    Hi @Huber 

     

    Once you typed the expression click the Dynamic content and map the field, then click ok.

  • Huber Profile Picture
    4 on at

    Hello,

     

    the problem is that the message ID field cannot be built into the function. Do I have to convert it to a variable beforehand? Or what am I doing wrong here?

     

    flow-4.PNG

     

    Thanks a lot...

  • Krishna92 Profile Picture
    Microsoft Employee on at

    @Huber 

     

    Please try using Uricomponent() function and pass the hyper link value as a parameter to that function.

    UriComponent('Hyperlinkvalue')

     

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#uriComponent

    Please refer to above link for more information regarding the same.

     

    If this information helps you with resolution, please consider giving a thumbs up and mark the solution as resolved.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard