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 Apps
Unanswered

Push Notifications

(0) ShareShare
ReportReport
Posted on by 4

Hi, we're using Power Automate to send push notifications to our users when some new content is available in one of our PowerApps. We're setting this via parameters that the PowerApp grabs on the OnStart event of the main application which then navigates to the appropriate screen. This works fine if the app is closed but if it's already open it does nothing. I understand why because the OnStart event isn't triggered. Any ideas on how to handle this? We'd obviously like it to navigate to the correct screen whether the app is open or closed.

 

Thanks

 

Borgy_0-1597027329014.png

 

 

 

Categories:
I have the same question (0)
  • UdayAdhikari Profile Picture
    450 Most Valuable Professional on at

    Hi @Borgy - in that case, I would have created a separate Power Automate flow to monitor for new content (looks like you are using SharePoint so the trigger would be when a new item is created) and add push notification action. If you have some logic that you have in App OnStart then you can mirror the same in flow. I am guessing you have more to this 🙂 if so please add details and happy to help how I can.

     

    Thanks

     

    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.

  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @UdayAdhikari ,

     

    There is a mechanism by design that the parameter can only be passed when the App is being open, it has nothing to do with OnStart event.

    Hence, if the app is open or suspended when you tap the notification, the parameters won't be passed into app.

    If you want to enhance this function, please vote for this idea and submit your feedback.

    Hope this helps.

    Sik

  • mj7 Profile Picture
    32 on at

    @Borgydid yo know how to do it? to click and pass to the screen that you want?? how you put your params?

  • Community Power Platform Member Profile Picture
    on at
    I am trying to use the basic syntax of a Push Notification function as per below:
    PowerAppsNotification.SendPushNotification(
        {
            recipients: [Push_notif_Push.Text],
            message: "A new customer remote support case has been created!"
        }
    );
    The "Push_notif_Push" is a TextInput field with the following 
     
    Basically what we have as a result is "userx@email.com, usery@email.com, userz@email.com" which goes straight to "recipients" field under PushNotification function.

    Capture.JPG

    It just does not work and i cannot see any forum doing this deep dive into the syntax.. its just annoying! The error message is just another encrypted feedback which makes me believe that PowerApps is still not "designed" for non-programmers like me. If I need to invest hours googling information just to understand an error message... something is not in shape as originally designed.
    Capture2.JPG
  • Swordy068 Profile Picture
    24 on at

    If you are encountering issues with push notifications during the identity verification process, here are some steps to help you troubleshoot and resolve the problem:-

    Ensure Push Notifications Are Enabled:-
    On Mobile Devices:-
    1. iOS (iPhone/iPad):-

      -Go to Settings > Notifications.
      -Find the app in question and ensure Allow Notifications is turned on.
      -Make sure Banners, Alerts, and Sounds are enabled as per your preference.
    2. Android:-

      -Go to Settings > Apps & notifications > See all apps.
      -Find the app and select Notifications.
      -Ensure that notifications are allowed and set to your preference.
    On Computers:-
    1. Chrome:-

      -Open Settings.
      -Go to Privacy and Security > Site Settings > Notifications.
      -Ensure that notifications are allowed for the website in question.
    2. Firefox:-

      -Open Preferences.
      -Go to Privacy & Security > Permissions > Notifications.
      -Ensure that notifications are allowed for the website in question.
    3. Edge:-

      -Open Settings.
      -Go to Cookies and site permissions > Notifications.
      -Ensure that notifications are allowed for the website in question.
    Verify Account Settings:-
    1. Check App Settings:-

      -Open the app and go to its settings or preferences menu.
      -Look for notification settings and ensure they are enabled.
    2. Verify Contact Information:- Ensure that the contact information (e.g., phone number, email) you have provided is correct and up to date.

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard