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 / 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:
  • Suggested answer
    SaiRT14 Profile Picture
    1,992 Super User 2025 Season 1 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

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 Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard