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 / Employee Ideas - Repla...
Power Apps
Unanswered

Employee Ideas - Replace Notification with adaptive card

(1) ShareShare
ReportReport
Posted on by 16

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.

Categories:
I have the same question (0)
  • daminsky Profile Picture
    16 on at

    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.

  • nivloe Profile Picture
    2 on at

    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!!  

    OnTimeEnd errors.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 644

#3
11manish Profile Picture

11manish 626

Last 30 days Overall leaderboard