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 / Getting an error in Mo...
Power Apps
Unanswered

Getting an error in Mobile app on QR code

(0) ShareShare
ReportReport
Posted on by 496

Hi,

 

I'm using a QR code  to open the app , its working fine . It opens the app and allow user to enter the data . But when i modify the QR code to send an argument  like 

https://apps.powerapps.com/play/2b42393d-99d1-XXXXX?tenantId=cd99fef8-1cd3-4XXX?EmployeeID=05865

 

Phone gives me an error "Switching Organization"   . Pls help me on this

 

rgds

AD

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @ajithd6368 ,

    You need &EmployeeID =  , , . . . , not ?

    You might also try this to "force open" in the mobile app

    ms-apps:///providers/Microsoft.PowerApps/apps/2b42393d-99d1-XXXXX?tenantId=cd99fef8-1cd3-4XXX&EmployeeID=05865

    I am not sure it will work off a QR code (it does from "Launch with Deep Linking)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • ajithd6368 Profile Picture
    496 on at

    Thanks Warren for your response .. No it didn't work still the same error message 

     

    rgds

    AD 

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @ajithd6368 ,

    If that is for both options (& instead of ? and the updated URL). I just ran a test here using the ms-apps link off a QR code and it opened the app, but the parameters did not work. I then ran the original link URl and after answering to open in Power Apps, the deep link worked perfectly. Have you checked that the device is not logged into another tenant?

     

  • ajithd6368 Profile Picture
    496 on at

    Hi Waren 

     

    Thanks ..

    didn't get your below comment

    "I then ran the original link URl and after answering to open in Power Apps"

    original link means without ms-apps ?

    rgds

    Ajith

     

     

     

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @ajithd6368 ,

    I am just saying I tested it here off a QR code - with both URL structures. The ms-apps structure opened it, but the parameters did not trigger (strange as I use it on a couple of highly-used mobile apps launching one from another and it works fine) and on the "normal" URL, the device prompts for the app instead of the browser and when the app is selected, it opens and triggers the parameters as well. I could not duplicate the experience you posted.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • ajithd6368 Profile Picture
    496 on at

    Hi Warren ,

     

    Thanks .. I deleted the PowerApps app from the Phone  and used below URLs off the QR .

    ms-apps:///providers/Microsoft.PowerApps/apps/2b42393d-99d1-4cfb-8a6f-XX?2b42393d-99d1-4cfb-8a6f-b518f039fa7d?tenantId=cd99fef8-1cd3-4a2a-9bdf-15531181d65e&EmployeeID=123


    ms-apps:///providers/Microsoft.PowerApps/apps/2b42393d-99d1-4cfb-8a6f-XX?tenantId=cd99fef8-1cd3-4a2a-9bdf-15531181d65e?EmployeeID=123

    https://apps.powerapps.com/play/2b42393d-99d1-4cfb-8a6f-XX?tenantId=cd99fef8-1cd3-4a2a-9bdf-15531181d65e&EmployeeID=123

    ms-apps:///apps.powerapps.com/play/2b42393d-99d1-4cfb-8a6f-XX?tenantId=cd99fef8-1cd3-4a2a-9bdf-15531181d65e?EmployeeID=123

     

    It opened the below screen

     

    ajithd6368_0-1658726762016.png

     

    selected "Continue in browser"

     

    It opened the App without accepting the parameter  as below

     

    ajithd6368_1-1658727014933.png

     

    rgds

    AD

     

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @ajithd6368 ,

    I am not sure which one of the four you posted you used, but you certainly need to replace the second ? with & - the first question mark is the start of the parameter set on any URL (in this case the Tenant ID) - all following need & between them. You can actually do this as you do not need the Tenant ID

    https://apps.powerapps.com/play/2b42393d-99d1-4cfb-8a6f-XX?EmployeeID=123

    but back to the issue - you are not getting the Switching Organization error now and as I mentioned in my testing, if you have the app on the phone and then choose open with App, the parameters worked. So the options for you are to see which URL works with (I strongly suggest) the app on the phone as I have never had much success running in a browser on a mobile device.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • ajithd6368 Profile Picture
    496 on at

    Hi Warren ,

     

    thanks for your response .. I used below 3 URLs  using app, but still my phone app opens without the parameter .

     

    ms-apps:///providers/Microsoft.PowerApps/apps/2b42393d-99d1-4cfb-8a6f-b518f039fa7d?EmployeeID=123

     

    ms-apps:///apps.powerapps.com/play/2b42393d-99d1-4cfb-8a6f-b518f039fa7d?EmployeeID=123

     

    https://apps.powerapps.com/play/2b42393d-99d1-4cfb-8a6f-b518f039fa7d?EmployeeID=123

     

    Pls your advice 

     

    rgds

    AD

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @ajithd6368 ,

    I have no further advice unfortunately - it simply should work unless your deep-linking logic is not sound. Try it on a browser on a PC pasting in the URL.

  • ajithd6368 Profile Picture
    496 on at

    Thanks Warren for helping me to fix this .

     

    I tried on the browser , Its also not taking the parameter .. just open the app .

     

    rgds

     

    AD 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard