cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yasminSarbaoui
Level: Powered On

Send push notification when a new message is posted on teams

Hello everyone

I've created an application that connects to teams and is capable to post messages and read the conversations conversations I belong to. I wanted to know if it's possible to read a message right after it's posted on teams and if it's possible to receive a push notification when a message is posted on the team or I'm tagged in any conversation (as it works for teams actually).

If so, i wanted to know if I necessarily have to pass from Flow or I can manage everything on powerapps

 

Thanks everyone

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Send push notification when a new message is posted on teams

Hi @yasminSarbaoui ,

Could you please share a bit more about your scenario?

Do you want to read a message right after it is posted on your teams? And want to get a PowerApps Push notification when a message is posted on your Teams?

 

If you want to get a PowerApps Push notification when a message is posted on your Teams, I afraid that there is no way to achieve your needs in PowerApps currently. As an alternative solution, I think Microsoft Flow could achieve your needs.

I have made a test on my side, please consider take a try with the following flow's configuration:1.JPG

When a new channel message is added within your Teams, above flow would be fired, and a notification would be sent to you, when you click the PowerApps Notification within your Mobile device, it would open your current app, then you could retrieve messages from your Teams.

Note: Currently, PowerApps notification is only supported in Mobile device and PowerApps Desktop. You could not get the notification message when you run your app in web browser.

More details about send a PowerApps Notification from Microsoft Flow, please check the following article:

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

 

In addition, you could also consider add a "Send an Email" action instead of the "Send Push Notification" action within your flow to send notification message:2.JPG

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Send push notification when a new message is posted on teams

I am not aware of any way, exclusively within PowerApps, you can initiate the app via an autonomous external event.  You would need to use Flow for that purpose. 

 

The same Microsoft Teams connector used for Flow can also be accessed via PowerApps, documented here.  https://docs.microsoft.com/en-us/connectors/teams/

If you add Microsoft Teams as a datasource and then add a gallery you can then reference
MicrosoftTeams.GetMessagesFromChannel, but you will need the team ID and channel ID.

 

Community Support Team
Community Support Team

Re: Send push notification when a new message is posted on teams

Hi @yasminSarbaoui ,

Could you please share a bit more about your scenario?

Do you want to read a message right after it is posted on your teams? And want to get a PowerApps Push notification when a message is posted on your Teams?

 

If you want to get a PowerApps Push notification when a message is posted on your Teams, I afraid that there is no way to achieve your needs in PowerApps currently. As an alternative solution, I think Microsoft Flow could achieve your needs.

I have made a test on my side, please consider take a try with the following flow's configuration:1.JPG

When a new channel message is added within your Teams, above flow would be fired, and a notification would be sent to you, when you click the PowerApps Notification within your Mobile device, it would open your current app, then you could retrieve messages from your Teams.

Note: Currently, PowerApps notification is only supported in Mobile device and PowerApps Desktop. You could not get the notification message when you run your app in web browser.

More details about send a PowerApps Notification from Microsoft Flow, please check the following article:

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

 

In addition, you could also consider add a "Send an Email" action instead of the "Send Push Notification" action within your flow to send notification message:2.JPG

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 106 members 3,337 guests
Please welcome our newest community members: