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 / PowerApps Notification...
Power Apps
Unanswered

PowerApps Notification bugs

(0) ShareShare
ReportReport
Posted on by 337

Hi PA

 

I have recently re-study the performance of PowerApps Notification (Premium) and found following bugs

 

Bug 1:

1. PowerAppsNotification.SendPushNotification({recipients:["email1@appemail.com], message:If(IsBlank(TextInput1.Text), " ", TextInput1.Text), openApp: true, params: Table({key: "mymsg", value: msg_app.Text})})

- I can send and receive PowerApps Notification in Android Phone

- But if the message is Blank, it will be not send (and prompt error). So I use a If statement. Is it a known bugs?

- for params: Table({key: "mymsg", value: msg_app.Text} or Table({key: "mymsg", value: "I am sending you message"})

  both works, but the message shown (this is populated in a Label1.Text = Param("mymsg"))

  is Label1 = I+am+sending+you+message.

 (all spaces are appended with "+")

  This bugs is similar to powerapps mail which happened 2 years ago and until now, no PA team really looks into this issues.

 

2. PowerAppsNotification.SendPushNotification({recipients:["app id"], message: "I love you"})

- app id is definitely extracted from powerapps detail in the web. Nothing wrong

- But error and never success:

error: InvalidPrincipalIdorMail, and the recipients : "appid" is not a recognized email address or object identifier in the directory.

 

Please investigate on these issues.

 

PK Hong

Categories:
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @PK_Hong ,

    1)This is not a bug.

    In the function of SendPushNotification, the message body is required. It can't be Blank. So if the message is Blank, the formula will return error message.

    Here's doc for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/add-notifications

    2)Yes, this situation is really true.

    If you use Param() to receive the parameter from the URL that you provided within your app, Powerapps will encode the spaces in the URL as +.

    If you want to avoid this , you could use replace().

    If this issue be fixed, I will leave message here.

    3) The value of recipients should not be appid.

    It should be a list of:

    • Email addresses for users or security groups
    • Object IDs for users or security groups in Azure Active Directory

    You could refer this to use function of SendPushNotification:

    https://powerusers.microsoft.com/t5/General-Discussion/Push-Notification/td-p/39867

     

     

    Best regards,

    Community Support Team _ Phoebe Liu

     

     

     

  • CU28061254-0 Profile Picture
    337 on at

    Hi @v-yutliu-msft 

    Thanks for reply.

     

    1. message - thanks for reminindg. It is a "required" field

    2. 

    recipientsString array, required
    • Email addresses for users or security groups - I have no problem
    • Object IDs for users or security groups in Azure Active Directory

                 Why does your example in documentation mentions AppID is acceptable?

                 Maybe I misunderstand this example?

    PowerAppsNotification.SendPushNotification(
    {
    recipients: [
    "f60ccf6f-7579-4f92-967c-2920473c966b", "72f988bf-86f1-41af-91ab-2d7cd011db47"],
    message:
    "A new case was assigned to you."
    }
    )

     

    ["....", "..."] are those AppID?["....", "..."] are those AppID?

     

    3. "+"

    - OK, it is a bugs and I will use alternative way but it is not a good idea. 
    Hope improved sooner as possible.

     

    Best regards

     

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @PK_Hong ,

    1)AppID: is used to fill in the information when creating connection with PowerApps Notification.5142_LI.jpg

    2)The value of recipients is Email or Object IDs for users

    recipients: ["f60ccf6f-7579-4f92-967c-2920473c966b", "72f988bf-86f1-41af-91ab-2d7cd011db47"]   

                                                                                                                                       ///Object IDs for users

    You could refer this:

    https://powerapps.microsoft.com/en-us/blog/add-push-notification-to-you-app-and-boost-usage-and-retention/

     

    Best regards,

    Community Support Team _ Phoebe Liu

     

     

     

  • CU28061254-0 Profile Picture
    337 on at
    Hi Phoebe

    Yes. AppID is used to connect to Powerapps Notification. Definitely is clear when connecting to it.

    Looks like I have misunderstood the recipients requiring Object Id for users.
    So the last question is where can I extract this Object ID for users?

    Appreciate.
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @PK_Hong ,

    I suggest you refer this:

    https://docs.microsoft.com/en-us/connectors/azuread/

     

    Best regards,

    Community Support Team _ Phoebe Liu

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