Hi,
I'm using PowerApps to post a message to a Teams Channel that is working fine most of the time.
Is there a way to confirm when a message is posted?
I read the Microsoft teams document, and supposedly there is a result of message id when the message is posted.
If this is so, how do I access this?
If not how can I confirm the post is successful?
Thanks
Solved! Go to Solution.
I believe you can do this by calling the Teams connector and storing the result inside of a SET variable.
Set(varPostMessage,PostMessageToChannelV3(group_id, channel_id, content));
After that you could test whether there was a message posted by checking if the 'id' property ISBLANK.
If(IsBlank(varPostMessage.id), true_condition, false_condition);
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
I believe you can do this by calling the Teams connector and storing the result inside of a SET variable.
Set(varPostMessage,PostMessageToChannelV3(group_id, channel_id, content));
After that you could test whether there was a message posted by checking if the 'id' property ISBLANK.
If(IsBlank(varPostMessage.id), true_condition, false_condition);
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
@mdevaney Thankyou. That worked great.
Just before I accept as solution, if you don't mind, I have a similar question.
I tried doing the same thing with a "Set(varSharePointListMsg,(collect(SharePointList,Collection))", but the result is data type = table and no matter which sub unit I used with it ( eg varSharePointListMsg.ID) they were all data type = table.
How do I go about confirming this?
User | Count |
---|---|
252 | |
106 | |
96 | |
50 | |
39 |