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 Automate / Graph API call not wor...
Power Automate
Answered

Graph API call not working with Teams tabs

(0) ShareShare
ReportReport
Posted on by 75

Hi everyone,

 

This is driving me crazy.  I have a flow to create documents and add them as a tab to a new channel in Teams.  All the hard stuff is working apart from the adding the tab.  I've been reading the docs here

 

In the Graph explorer the PUT call works fine

 

working goodworking good

 

but in my Flow it fails, I cannot see any difference between them

 

PA-notworking.png

 

There's no useful error message

 

{
   "error": {
      "code": "UnknownError",
      "message": "",
      "innerError": {
         "request-id": "c23e4732-0d33-4a08-9d54-d8d598e2baf7",
      "date": "2019-11-27T19:06:33"
      }
   }
}
 
Can anyone spot something I'm missing as I'm starting to wonder if it simply doesnt work?
 
Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @AndyTuke1 ,

     

    Have you tried other authentication methods? Since the result of this request body test in Graph explorer is correct, it should also be available in HTTP actions.

     

    In addition, the method you use in the HTTP action is PUT, which is different from the one you selected in the Graph explorer. Have you ever used Post for testing?

     

    Best Regards,

  • AndyTuke1 Profile Picture
    75 on at

    Barry, you're a star.  Fresh eyes was clearly what it needed.  It was the stupid mistake of having PUT and not POST.  I spent hours looking at that yesterday focussed on the details and never thought to check the simple thing at the top.  Please accept this beer token for when you're ever in town over here 

     

    beertoken.jfif

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @AndyTuke1 Is there any way you'd share pics of this flow? I am trying to build team creation and this would be huge. Also stuck on how to grab specific tab IDs which I assume you do when adding / deleting tabs.

     

    I'll start googling one free six pack stickers as I've hit dead ends elsewhere, you'd really be saving me! 

  • AndyTuke1 Profile Picture
    75 on at

    Sorry mate, I don't have that flow anymore, it was something I was developing for testing a theory and its been deleted now.  I can tell you that the key thing for using the Graph API via HTTP calls is testing in the Graph Explorer page so you can see exactly what you are returning, especially as I've found a few instances where not everything the documentation says should be returned actually is.

    Is there a specific part you're having trouble with that I can try and rebuild a test for?  I have a quietish week at work so back on learning Power Automate again while I can

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard