Announcements
Hi All,
New to Power Apps.
Trying to follow along on this article.
Replace notification with adaptive card (contains video) - Power Apps | Microsoft Docs
I get the following error when using the sample code provided on the Post adaptive card in chat or channel step.
Failed to process content in attachment with Id 'xxx'
The flow fails and doesn't post a message in the channel. I can see from the run history this is what it is trying to use for the URL.
https://teams.microsoft.com/l/entity/b7fad6ce-2e23-4aba-b209-859a59ca230e/_djb2_msteams_prefix_3228521116?context=%7B%22subEntityId%22:%2248d86815-d07f-ec11-8d21-00224825135e%22,%22channelId%22:%2219:D9JTjtowohF8qbPerIDM7rwsmtGx-XzHZKZ9pjKWMZU1@thread.tacv2%22%7D&groupId=5e9c54ad-29fc-46d6-8a0f-7facb47bbbe5&tenantId=90db3e97-44ee-44d6-a14c-518e66b35785
I did try changing the number after msteams_prefix to one that seems to match our environment. Using the one in the example, the URL doesn't do anything.
If I open the URL manually, it works as expected, but it doesn't work via the flow.
The tutorial had a preceding forward slash \ in the adaptive card json for \$schema.
Removing the '\' fixed the problem. Only issue now is the card opens up idea on its own, not in context of the campaign, so all the screens are different, and navigation doesn't get you back to original home screen.
Thanks @daminsky removing the slash worked for me!
I'm stuck on the last step, OnTimerEnd, replacing the 'If' statement I keep getting errors with the code provided in the tutorial (invalid arguments in the IF statements and missing operators?).
If anyone has suggestions for how to fix this I would appreciate it!!
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 839
Valantis 533
Haque 412