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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue with HTTP Error ...
Power Apps
Suggested Answer

Issue with HTTP Error 405 When Redirecting to Model-Driven App from HTML Web Resource on Mobile

(1) ShareShare
ReportReport
Posted on by 2

Hi Power Apps Community,

I'm trying to redirect to a model-driven app from a mobile device using an HTML web resource within Power Apps. Here is the JavaScript code I'm using:
 

const appUrl = "ms-apps://<masked-org-url>_<masked-app-id>?tenantId=<masked-tenant-id>&appType=AppModule&openApp=true&restartApp=true&forceOfflineDataSync=true";
window.location.href = appUrl;

When I call this URL, I encounter an HTTP error code 405. The redirection seems to fail when using the ms-apps:// protocol.

Steps I've Tried

  • Confirmed the app URL format and parameters.
  • Tested on both Android and iOS, but encountered the same issue.

Questions

  • Has anyone successfully implemented a similar redirection from a web resource on mobile?
  • Is there another approach to open the Power Apps model-driven app directly within the Power Apps mobile app instead of opening in a browser?

Any insights would be greatly appreciated!

Thanks!

 

Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    pls try the following:
     
    Use the correct ms-apps:// URL format and test directly on mobile devices.
    Try a direct HTTP link if the deep link protocol fails.
    Explore intent:// on Android for a more robust solution.

    Generate a QR code for the ms-apps:// or HTTP link to the model-driven app. Users can scan the code to directly open the app without relying on web resource redirection.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard