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 Apps / Opening MDA (Custom Pa...
Power Apps
Answered

Opening MDA (Custom Page) from Canvas App (Deep Linking) Issue

(2) ShareShare
ReportReport
Posted on by 2,254 Super User 2026 Season 1
Hey Everyone,

I just wanted to check if you’ve come across this issue before.


We have built an internal Copilot licensing solution to automate our licensing process, the solution contains a Canvas App and a Model Driven App, the data source for Canvas App is SharePoint list and we have flows to sync data between SharePoint and Dataverse.


The Canvas App is the entry point for everyone regardless of their role. When a user opens the Canvas App, the welcome screen dynamically changes based on their role (checked via Office 365 group membership). End users see a form to submit license requests. Approvers (Manager, VP, and Admin) see the same form plus an additional button on their welcome screen that navigates them to the MDA, with the deep link constructed dynamically to point to their corresponding role specific custom page.


The MDA has custom pages acting as the home screen per role, essentially a role specific dashboard for each approver level. These dashboards have Power Fx KPI calculations pulling real-time data from Dataverse and a premium connector for tenant license availability, with navigation buttons to dataverse views like Pending, Approved, Rejected etc.


The issue is when an approver clicks the button in the Canvas App to open the MDA, it opens in a new tab via the deep link pointing directly to their role specific custom page. It just hangs for ~30 to ~60 seconds, throws an error, and only after a manual refresh does the sign in popup show up. We also observed that this only happens the first time, from the second time onwards it works perfectly fine. However if the browser is closed and reopened the same cycle repeats again.


I checked the docs and the only thing I found was that third party cookies need to be enabled for custom pages to work, other than that I could not find anything else. Have you run into something like this or know a way around it?

Short Version:

Deep linking from Canvas App to an MDA custom page in a new tab causes a 30 second hang and error on first open every browser session, works fine after a manual refresh and sign in, and repeats every time the browser is closed and reopened.

Thanks
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    This is most likely:
     
    A first-load authentication/session initialization race condition involving deep-linked MDA custom pages,
     
    Dataverse runtime loading, and premium connector authentication.
     
    The most reliable long-term fix is:
     
    avoid deep-linking directly into a heavy custom page on first load.
     
    Open the MDA shell first, allow authentication/session initialization, then navigate internally to the dashboard/custom page.
  • Suggested answer
    Valantis Profile Picture
    6,735 on at
     
    This is a confirmed known behavior. Microsoft docs explicitly state that custom pages require third-party cookies for the canvas app runtime. When a new tab opens via deep link, it cold-starts without session cookies and silent SSO fails, causing the 30-second hang before the sign-in prompt appears.
     
    fix:
    1. Enable third-party cookies for Power Apps domains via browser policy across your org (*.powerapps.com, *.dynamics.com, *.microsoft.com). This removes the root cause entirely.

    2. Deep link to the MDA root instead of directly to the custom page. Let the session initialise first, then navigate to the dashboard.

    3. Add a lightweight splash page as the MDA home to pre-warm the session before the custom page loads.
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Power Platform 1919 Profile Picture
    2,254 Super User 2026 Season 1 on at
    1. I agree with your first point regarding enabling third-party cookies for Power Apps domains. However, this is something our IT team would need to evaluate, and I expect it could be a lengthy and time-consuming process.
     
    2. Could you please clarify the splash page concept? Is it similar to a dummy spinner page (HTML web resource) that initially loads and then redirects to the main page using window.top.location.href, or is it implemented differently?


      Or should I use Launch(url, {}, LaunchTarget.Replace) instead of LaunchTarget.New? in the canvas app

    and @11manish , Thanks for your response.
  • Suggested answer
    Valantis Profile Picture
    6,735 on at
     

    On the splash page: yes, an HTML web resource that immediately redirects is exactly the right approach. Create a simple HTML web resource that renders instantly with a spinner, then redirects to the role-specific custom page URL using window.top.location.href. This gives the MDA session a moment to initialise before the heavy custom page loads. Add it as the MDA home page so every deep link entry point hits it first.

    On LaunchTarget.Replace: this is actually worth trying before the splash page approach. Instead of opening a new tab, Replace navigates the current tab to the MDA. Since the user is already authenticated in the Canvas App tab, the session context may carry over and avoid the cold-start problem entirely. Change your deep link button to:

    Launch(yourMDAUrl, {}, LaunchTarget.Replace)

    The downside is the user leaves the Canvas App. If that's acceptable for approvers who are navigating to the MDA dashboard anyway, this is the simplest fix with no IT involvement.
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Verified answer
    Power Platform 1919 Profile Picture
    2,254 Super User 2026 Season 1 on at
    Hi @Valantis,
    I am very sorry for late response, but i can confirm after trying multiple other approaches along with yours, it didnt work in my case.

    currently, what we have done is, we educated the users to wait for 30 seconds and sign in the application and continue with their work.

    I will update this thread , if i found something reliable.
    Again thanks for your help!!! 
    @11manish !!! Thanks for your response.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard