cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mendan
New Member

MicrosoftGraphRequestFailed on posting an adaptive card to Teams channel

Hi all,

 

I'm new to the Power Automate feature and currently trying to set up a simple invoice approval workflow. Mails with scanned invoices from our scan-to-mail printer/scanner shall trigger a flow which requests the members of a Teams channel to enter our internal invoice id of the scanned document and then save the scanned file to a sharepoint document library under the filename <internal invoice id>.pdf, before starting the approval for payment.

 

I managed to read and write from/to a Teams channel, but when I try to post the adaptive card to the channel, I get a MicrosoftGraphRequestFailed with the following error code:

 

Forbidden. The request failed. Error code: 'MicrosoftGraphRequestFailed'. Error Message: 'Fehler bei der Microsoft Graph-Anforderung: "{ "error": { "code": "Forbidden", "message": "App is blocked by app permission policy", "innerError": { "request-id": "9632.....", "date": "2020-03-24T...." } } }".'.

 

I guess the adaptive card is different in that it waits for the response and therefore somehow has to hook into the Teams channel, which is probably done via Graph-Layer?

 

I searched for the missing permission for quite a while now, but I was not able to locate it. Maybe you can help me and get me started.

 

Kind regards, Christian

1 ACCEPTED SOLUTION

Accepted Solutions
ChristianAbata
Community Champion
Community Champion

hi @mendan  your App is blocked by app permission policy, please go to TeamsAdmin Dansboard in office 365 an in the policies allow all apps permisions.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

3 REPLIES 3
ChristianAbata
Community Champion
Community Champion

hi @mendan  your App is blocked by app permission policy, please go to TeamsAdmin Dansboard in office 365 an in the policies allow all apps permisions.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Thanks for the answer. I actually allowed all MS Apps for Teams, considering this to be the solution, but it didn't work. After your answer reassured me to be on the correct path I waited another day to find out if this is just a delay / current performance issue and voila, today it works 🙂

Since we don't want to allow all MS App by now, could you maybe tell me which App is actually required for adaptive cards?

StuartRidout
Microsoft
Microsoft

Did you find out which app needed the permission?  My wife has the same problem at her company.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,755)