Hello everyone.
I've recently started building PowerApps (I am new to coding in general) for my company, and I've run into a problem.
When I try to create a button that just posts a chat message to the IT support team (as a ping for help), the features fails.
Here's my code:
MicrosoftTeams.PostMessageToChannelV3(
"group ID",
"19:channelID@thread.skype",
{
content: "I need help",
contentType: "text"
},
{
subject: "Need assistance with IT support"
}
)
And here's the error message:
I hope someone can shed some light on what's missing 🙂
Solved! Go to Solution.
Hi,
Looking through your issue, I am not quite certain what the issue is in your PowerApp, I think your call to Teams is getting messed up and its a bit more complicated then what you put in. However I would suggest using a call to Flow which would make this significantly easier. If you just pass the information from PowerApps over into a Flow and had the Flow create the message in the channel you are trying to do it would make the entire process a lot easier to create. Just have the button trigger a Flow and have the Flow make the post to the Teams channel.
Regards,
Alex
-------
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Looking through your issue, I am not quite certain what the issue is in your PowerApp, I think your call to Teams is getting messed up and its a bit more complicated then what you put in. However I would suggest using a call to Flow which would make this significantly easier. If you just pass the information from PowerApps over into a Flow and had the Flow create the message in the channel you are trying to do it would make the entire process a lot easier to create. Just have the button trigger a Flow and have the Flow make the post to the Teams channel.
Regards,
Alex
-------
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Alex.
Thanks for your suggestion.
Gonna try it our and post the result.
Created a Flow as suggested by Alex and it just works. I did try the Power App solution again, but same error message happened. I really hope this will get a fix in the future as it would be great if you could implement the option into a more flexible solution.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
177 | |
52 | |
41 | |
36 | |
27 |
User | Count |
---|---|
240 | |
81 | |
71 | |
69 | |
66 |