Showing results for 
Search instead for 
Did you mean: 
Post Patron
Post Patron

Launch function working only in preview mode, stops when app is published



I have a button which launches another app, it only works in preview mode and stops working when tested in the published version of the app.


Any ideas?



Power Apps
Power Apps

What browser are you using? Is your button inside another control (say a Form)? The website you are launching to, is it in the same security zone as your app?



I tried in IE, chrome and edge. Sometimes it works the first time and stops working. The button is used in a screen of an app. It launches another app built using powerapps, this app was launched scucessfully using another button with launch function.

The difference between the working button and non-working button is the non working one has a delegation warning but I have increased the count to 2000 in app settings and the number of items are less than 2000.


It used work fine before the launch of app checker function and thats when the yellow delegation warning triangle started to appear on this non-working button and it stopped working.



Community Support
Community Support

Hi @ck25415,


Could you please share more details about the formula within the OnSelect property of the Non-working button?


I have made a test on my side and don't have the issue that you mentioned. The screenshot as below:2.JPG



The OnSelect proprty of the Launch button set to following formula:


ClearCollect(Collection2,Filter('20180718_case11',Status.Value in Collection1.Value));
Launch(" &appId=/providers/Microsoft.PowerApps/apps/xxxx0e22-6519-xx6f-90fd-66a0d31exxxx")

Note: The Filter function within above formula could not be delegated.



The GIF image as below:Test1.gif




Please check if you have allowed Pop-ups within your browsers. In other words, please take a try to enable/turn on the Pop-up option within your browser.3.JPG


More details about enable/turn on (Allow) the Pop-up option, please check the following article:


In addition, you could also take a try to put the formula of Button control (Launch button) into a Concurrent function, then check if the issue is solved. I have made a test, please take a try with the following formula:


    ClearCollect(Collection2,Filter('20180718_case11',Status.Value in Collection1.Value)),


More details about the Concurrent function, please check the following blog:


Best regards,




Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Kris,


This is the on select formula I am using for the button





I was not able to use concurrent function with this. I have popups enabled on all my browsers.



@v-xida-msft @anees Is there a way I can debug this issue. The buttons are not working for some users and these buttons either open a different app in powerapps or open a word document from a sharepoint library. The button greys out when the user clicks on it. The users have pop-ups enabled and tried it in IE, chrome and edge, cleared browser cache and nothing worked. While they can access a different button with similar functionality they have issue with some butttons. When I try them in preview mode I dont see an issue with any of them. Let me know where should I start on this issue.

Super User
Super User


It seems that I have the same problem. Launch() function behaves ok in studio enviroment and fails to start in run mode.

To test the app, I used IE, Chrome and powerapps app on mobile  and desktop with the same result the button doesn't start the app as expected ( no error returned !).


I called the function with a simple: LAUNCH (" .....").


Is there something i did wrong ?

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,328)