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 / Flow deep link to Powe...
Power Automate
Answered

Flow deep link to PowerApps stopped working correctly

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have an issue.

 

I have been using flows to send emails to users. In the email would be a hyperlink to the powerapps application with a query string on the link. These links have suddenly begun to have different behavior. I would use the value on the query string to LookUp a record in a SharePoint list.

 

Expected behavior that has been working until recently was that after clicking the link the application would open up to the correct screen and display the correct item based on ID. Instead, now when I click the link the application opens up to the oldest record (The lowest number ID). The URL has the correct query string in all cases, yet the powerapps LookUp() isn't retrieving the correct record. It users the oldest record in the SharePoint list for whatever reason. Let's look at some code to get a better feel of what I'm trying to say.

 

<a href="https://web.powerapps.com/apps/d647d522-3638-45c9-9472-afd5ff12ac0e?ItemID={DYNAMIC ID FROM FLOW INSERTED HERE}">Link to app</a>

 

A flow generates the above link and emails a user. The user clicks the link. The ?ItemID={Dynamic ID} is making use of flow dynamic properties. The ID relates to the automatically generated SharePoint ID for every record. 

 

When the user navigates to the application -- the screen BrowseScreen1 has this code on the property "OnStart".

 

If(IsBlank(Param("ItemID")),
Navigate(BrowseGallery1, ScreenTransition.Fade)
,Navigate(DetailScreen1, Cover,
{device:LookUp(ECTCR_Tracking, ID = Value(Param("ItemID")))}))

That code has been working all day. Then suddenly after lunch, it has stopped. I have not messed with the code in between. So I would just like a little help understanding what is happening. 

 

Thanks for the help. 

 

PS: The guys over at the PowerApps forums told me to ask you. 

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Johnathon_S,

     

    I would like to know how is your flow created? And how long has it been created?


    According to your description, flow will send user an email and there is a link in the email. By clicking the link, user will be navigated to the screen on an app.


    Seems that there is nothing wrong with the code. Please try to recreate the flow to see if it will work.

     

    Best regards,
    Mabel Mao

  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Johnathon_S,

     

    I saw you have posted the same issue on PowerApps Forum and you have already found a solution.

     

    The thread link is:
    https://powerusers.microsoft.com/t5/PowerApps-Forum/Deep-linking-from-Flows-stopped-working/m-p/64988#M26724


    Best regards,
    Mabel Mao

  • jessi82315 Profile Picture
    33 on at

    the thread link you share says that i don't have access to the post.

    I'm having the same issues, can someone please tell me how this has been resolved?

     

    Thanks

    JEssie

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard