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 :
Power Automate - Building Flows
Unanswered

Issue with Generated Outlook Links Using Message ID in Power Automate

(0) ShareShare
ReportReport
Posted on by 8

Hi everyone,

I have a Power Automate flow where, when a new email arrives, the Message ID is extracted using Compose and is used to generate a URL for the email via this format:


concat('https://outlook.office.com/mail/deeplink/read/?ItemID=', encodeUriComponent(outputs('Compose_–_Message_Id')), '&viewmodel=ReadMessageItem&path=&exvsurl=1')
 

This has been working fine until recently. Now, the generated links are giving an error message stating that the email has been deleted or removed, even though the email still exists in the mailbox. For instance:

Interestingly, links generated before this issue still work fine, but all newly generated links fail to open the email.

Has anyone encountered this issue before? Is there a change in how Message IDs are being handled, or could this be related to some Outlook/Power Automate update?

Any insights or suggestions would be greatly appreciated!

Thanks in advance!

 
 
 
 
I have the same question (0)
  • Expiscornovus Profile Picture
    32,891 Most Valuable Professional on at
    Issue with Generated Outlook Links Using Message ID in Power Automate
     
    Your broken link seems to have an underscore character in the Message ID value.
     
    Have you tried replacing/encoding that by %5F and see if the link works after that?
  • EI-06081227-0 Profile Picture
    8 on at
    Issue with Generated Outlook Links Using Message ID in Power Automate
    Do you have any idea why the link is broken? I already try to replace the underscore but still not working. 
  • Expiscornovus Profile Picture
    32,891 Most Valuable Professional on at
    Issue with Generated Outlook Links Using Message ID in Power Automate
     
    No, currently no idea why it is not working. Lets troubleshoot a bit more.
     
    Have you compared the outputs of your two compose actions? Maybe it would be good to compare the message Id values before and after encoding. And also compare it the outputs of the trigger action as well. That might give us some clues.

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard