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 / Push notifications wit...
Power Apps
Unanswered

Push notifications with PowerApps-NotificationV2 Connector

(1) ShareShare
ReportReport
Posted on by 2

Good morning everybody,

I am going crazy regarding the NotificationV2 connector.

I build an app which is working and I just want to add push notifications for smartphones when a mail is send.

Simply puut the code in onsuccess of the form and be done with it.

So far so good but Microsoft seems to have other plans.

After reviewing the lern-page (Power Apps Notification V2 - Connectors | Microsoft Learn) and watching I don't know how much youtube videos and reading forum posts I still have no finished code.

My code looks like this:

Spoiler (Highlight to read)
// Define variables
Set(
    NotificationTitle,
    "Your Notification Title"
);
Set(
    NotificationBody,
    "Your notification body"
);

// Send push notification
'PowerApps-BenachrichtigungV2'.SendPushNotificationV2(
    // playerType
    "PowerApps",
    // APPID
    "",
    // recipients
    ['Push-Notification-Label-Mailadresses'.Text],
    // Message
    NotificationTitle & ": " & NotificationBody,
    // Open App
    true,
    // dynamic Params
    {}
)
// Define variablesSet(    NotificationTitle,    "Your Notification Title");Set(    NotificationBody,    "Your notification body");// Send push notification'PowerApps-BenachrichtigungV2'.SendPushNotificationV2(    // playerType    "PowerApps",    // APPID    "",    // recipients    ['Push-Notification-Label-Mailadresses'.Text],    // Message    NotificationTitle & ": " & NotificationBody,    // Open App    true,    // dynamic Params    {})
Now my problem is just the dynamic Params. They are required as per documentation.
The error that I get from my code is
Qinga_0-1707472427223.png

Ignore problem 1 of 2 that is simply the notification that the function has invalid argmuents.

I can not for the life of me fix this error no matter what I do.

I left it blank like it is in the code above.

I tried it like this:

Spoiler (Highlight to read)
// Define variables
Set(
    NotificationTitle,
    "Your Notification Title"
);
Set(
    NotificationBody,
    "Your notification body"
);

// Send push notification
'PowerApps-BenachrichtigungV2'.SendPushNotificationV2(
    // playerType
    "PowerApps",
    // APPID
    "",
    // recipients
    ['Push-Notification-Label-Mailadresses'.Text],
    // Message
    NotificationTitle & ": " & NotificationBody,
    // Open App
    true,
    // dynamic Params
    {RecordID:1}
)
// Define variablesSet(    NotificationTitle,    "Your Notification Title");Set(    NotificationBody,    "Your notification body");// Send push notification'PowerApps-BenachrichtigungV2'.SendPushNotificationV2(    // playerType    "PowerApps",    // APPID    "",    // recipients    ['Push-Notification-Label-Mailadresses'.Text],    // Message    NotificationTitle & ": " & NotificationBody,    // Open App    true,    // dynamic Params    {RecordID:1})

Like I saw in videos and posts. 

I just have no idea what PowerApps want from me with the UntypedObject value.

Can somebody explain and help with this?

 

Note: I can't use the V1 connector. Thats disabled in the company I work and i don't want to use a Flow (which I would need to use if this will not work, but I don't want to).

 

Thanks in advance

Jack

Categories:

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 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard