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 Platform Community / Forums / Power Apps / push notification not ...
Power Apps
Unanswered

push notification not working in Prod

(0) ShareShare
ReportReport
Posted on by 1,257 Super User 2024 Season 1

I am using Push Notification V2.  App is part of a solution I have the connection reference for V2 in there all works well in Dev  Environment but when I deploy to Prod I get the following error

 

 error: PowerAppsNotificationV2.SendPushNotificationV2 failed: { "error": { "code": "ApplicationNotFound", "message": "The application 'xxxxx' could not be found in the tenant 'xxxxx' in environment 'xxxx'." } }

 

Any ideas ? I'm sure I'm just missing something basic !

 

TIA

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @vffdd ,

     

    When moving to a new environment, the app will receive a new identifier, so you need to update that in your formula.

     

    Can you please share your formula?

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    thanks @BCBuizer  so the formula has the identifier hard coded I was thinking that might be the issue. how do I make that dynamic?

     

    PowerAppsNotificationV2.SendPushNotificationV2(
     "PowerApps",
     "{appIdentifier: xxxxx}",
     colNotification.Value,
     txt_landing_pushnotificationtext.Text,
     true,
     {}
    ); Concurrent(Notify( "Success: Your push notification has been sent", NotificationType.Success,5000),
     
     Clear(colNotification),UpdateContext({conPushNotification:false}))
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @vffdd ,

     

    Assuming the DisplayName of the app will be the same between environments, but unique within the environment, you can use the Power Apps for Makers connector: https://learn.microsoft.com/en-us/connectors/powerappsforappmakers/

     

    Once added, you can use the DisplayName to retrieve the app ID within the environment the app is in:

    PowerAppsNotificationV2.SendPushNotificationV2(
     "PowerApps",
     LookUp(PowerAppsforMakers.GetApps().value,properties.displayName="<AppDisplayName>").name,
     colNotification.Value,
     txt_landing_pushnotificationtext.Text,
     true,
     {}
    ); Concurrent(Notify( "Success: Your push notification has been sent", NotificationType.Success,5000),
     
     Clear(colNotification),UpdateContext({conPushNotification:false}))

     

     

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    Thanks I'll try that now  !

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    vffdd_0-1678179769451.png

    This is what I'm getting now..  I'm just using the regular name of the app that's showing or it it something elseI should be using some kind of internal name?

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    Do I need to have that powerapps for makers installed in both apps? the sending and the receiving one?

  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @vffdd ,

     

    After looking into this further I found this topic:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/SendPushNotificationsV2-How-do-you-make-it-work/td-p/1178726

     

    Based on that topic, can you try:

     

    PowerAppsNotificationV2.SendPushNotificationV2(
     "PowerApps",
     JSON({appIdentifier: LookUp(PowerAppsforMakers.GetApps().value,properties.displayName="<AppDisplayName>").name}),
     colNotification.Value,
     txt_landing_pushnotificationtext.Text,
     true,
     {}
    ); Concurrent(Notify( "Success: Your push notification has been sent", NotificationType.Success,5000),
     
     Clear(colNotification),UpdateContext({conPushNotification:false}))

     

    The connector should only have to be added to the app sending the notification.

     

    Also note that for this to work, both apps have to be in the same environment.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard