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 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,181 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
    33,181 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

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard