Configuring Canvas App Push Notifications

AB-410 By islever Editorial Last updated

Short answer

Add the Power Apps Notification Connector, configure the OnSelect Property of the button, and implement the SendPushNotification() function.

Question

DRAG DROP
A company uses a canvas app to assign tasks to field workers.
Field workers must receive a notification when tasks are assigned. The notification must be:
• Called from the app when a button is selected.
• Delivered as a mobile app notification.
You need to configure the notification.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Exhibit: Configuring Canvas App Push Notifications

Key Takeaways

The key insight is that client-side button triggers require the Power Apps Notification connector and the SendPushNotification() function executed in the OnSelect property, distinct from automated flow triggers.

This page explains how to configure mobile push notifications in a Microsoft Power Apps canvas app by adding the Power Apps Notification Connector, setting the OnSelect property, and calling SendPushNotification().

Common mistake: Learners often confuse this with automated flows (Create cloud flows) or email notifications. They may try to use SendEmailToUsers or set up a Dataverse trigger, failing to realize that button-click events on canvas apps require direct connector functions in the OnSelect property.

Expert Analysis

The scenario requires configuring a canvas app to trigger a mobile push notification when a button is selected. The solution involves three sequential steps in the Power Apps environment.

Connector Registration: Before any function can be used, the Power Apps Notification connector must be added to the app. Without this, the app lacks the capability to send push notifications. This is the foundational step.

Event Trigger Configuration: The notification must be "Called from the app when a button is selected." Therefore, the logic must be placed in the OnSelect property of the button control. This ensures the action fires only when the user interacts with the specific UI element.

Function Execution: Finally, the actual mechanism for sending the alert is the SendPushNotification function. This function is part of the Power Apps Notification connector and must be called within the OnSelect property to deliver the message to the field workers' mobile devices.

A common trap is attempting to use the SendEmailToUsers function or configuring an automated cloud flow triggered by a data change. However, the requirement specifies an immediate, manual trigger via a button click, which necessitates direct client-side scripting using the Notification connector's OnSelect event rather than server-side automation.

Official Reference

Exam Strategy

When asked about triggering actions from UI elements like buttons in canvas apps, always look for properties tied to user interaction such as OnSelect. If the requirement is a simple notification without complex backend logic, check if the relevant connector (like Power Apps Notification) is available for client-side execution before considering cloud flows.

Frequently Asked Questions

Can I use SendEmailToUsers for mobile push notifications?

No. SendEmailToUsers sends emails to users' email clients. For mobile push notifications delivered to the Power Apps mobile app, you must use the Power Apps Notification connector and the SendPushNotification() function.

Do I need a Cloud Flow for button-triggered notifications?

Not necessarily. If the notification is triggered directly by a button click in a canvas app, you can use the Power Apps Notification connector's client-side functions. Cloud Flows are better suited for background automation or when the trigger is a data change.

More AB-410 FAQ →

Discussion 1 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 1

  1. exam_upskill 👍 1
    1. Add the Power Apps Notification Connector 2. Configure the OnSelect Property 3. Implement the SendPushNotification() function

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

← Back to AB-410 Study Guide