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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with Generated O...
Power Automate
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!

 
 
 
 
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
     
    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
    Do you have any idea why the link is broken? I already try to replace the underscore but still not working. 
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
     
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard