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 / Generate hyperlink to ...
Power Automate
Unanswered

Generate hyperlink to Shared Mailbox Email and reference in planner task

(0) ShareShare
ReportReport
Posted on by 1,115

I am triggering a flow when a new email is arrived in a Shared mailbox and creating a planner task accordingly. I would like to generate a hyperlink to the email which triggered the flow and add it as a reference to the planner task. 

 

I have followed below wonderful article for Outlook personal mailbox and it worked like a charm but the same solution for Shared Mailbox isn't working. Can someone please help with the solution?

 

https://c11n.space/2020/01/attach-outlook-email-to-planner-tasks-via-power-automate/#:~:text=Microsoft%20Planner%20is%20a%20useful,an%20email%20into%20a%20task.&text=You%20often%20find%20yourself%20in,email%20into%20a%20Planner%20task. 

Categories:
I have the same question (0)
  • v-duann-msft Profile Picture
    on at

    Hi @RameshMukka 

     

    Thank you very much for posting.

     

    Accordingly to your description, you would like to create tasks based on received email in mailbox. It works fine for user mailbox but it failed with a shared mailbox.

     

    Actually, I tried two types of mailbox and it works with no problem.

    Here is my flow:

    v-duann-msft_0-1611825520802.png

     

     

    v-duann-msft_1-1611825520806.png

     

     

    My tasks are created successfully.

    v-duann-msft_2-1611825520810.png

     

     

     

    Please kindly check and reply me if any confusion.

     

    Hope the content above may help you.

     

    Thanks

    Anna

  • rameshmukka Profile Picture
    1,115 on at

    @v-duann-msft Thank you so much for looking into it.

     

    1. Can you show me your uriComponent Formula?

    2. Are you open email from planner without problem?

     

    Thanks,

    Ramesh

  • Verified answer
    v-duann-msft Profile Picture
    on at

    Hi @RameshMukka 

     

    Thank you very much for reply.

     

    According to your further queries, they all focus on ‘update task details’.

    1.Can you show me your uriComponent Formula?

     

    Yes, here is the details for my ‘update task details’ action.

    In ‘reference resource’ area, I input as below(you could refer the article you found before):

    • uriComponent(outputs('Create_a_task')?['body/id'])

    The whole expression in reference resource area is:

    v-duann-msft_0-1611907412334.png

     

     

    It comes from my email URL. That’s how I get this resource link:

    Open O365 mailbox on the web and select any of your emails.

    v-duann-msft_1-1611907412339.png

     

    Then I realize there is a fixed format for each email. In my case, the text between ‘id/’ and ‘%3D’ is the uri of this message.

    https://outlook.office.com/mail/inbox/id/AAQkAGI5ZDk5NjdlLTEzMWEtNGI5MC04MmMxLWFmNzg3ZWVmN2I3ZQAQAFPfwUmjCldIhhhu%2BCR10SA%3D

    2.Are you open email from planner without problem?

    Yes, I can open with no problem. I tested on it many times.

     

    Thanks

    Anna

  • Kristen5491 Profile Picture
    4 on at

    Help!! I am having this same problem.  I followed the directions posted in the solution and everything is working except the hyperlink to the email only links to the inbox, not the actual email.  I want the hyperlink to go to the email instead of the inbox.  I originally used the article that the first poster used and was able to do this with an individual mailbox, but as the first poster mentioned, it didn't work for a shared mailbox.  

     

    I followed the instructions here and everything is working beautifully except it does not link to the actual email, only the inbox.  Please help?!?!?

     

    Flow below, and my reference resource link:

     

    https://outlook.office.com/mail/inbox/id

    uriComponent(outputs('Create_a_task')?['body/id'])
    %3D

     

    Kristen5491_1-1645724125750.png

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard