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 / Unable to create Teams...
Power Automate
Unanswered

Unable to create Teams Tab

(0) ShareShare
ReportReport
Posted on by 16

I am trying to add an excel file as a tab in a team through power automate.
Doing it through Graph Explorer as per below works (Image 1) but not through Power Automate and the O365 groups HTTP request action (Trying to avoid premium connector as this is a POC).
In the image below I am populating Team & Channel ID dynamically but I have trying manually using the exact same query as in Graph explorer with the same error.
It throws the following error:

{
  "error": {
    "code": "NotFound",
    "message": "Failed to execute Skype backend request GetThreadS2SRequest.",
    "innerError": {
      "message": "Failed to execute Skype backend request GetThreadS2SRequest.",
      "code": "ItemNotFound",
      "innerError": {},
      "date": "2021-10-11T11:29:40",
      "request-id": "2ae15421-9c8e-4e86-9710-32c65f104242",
      "client-request-id": "2ae15421-9c8e-4e86-9710-32c65f104242"
    }
  }
}

explorer.png

PA.png

 

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @snorf,


    Your setup looks ok. I have just tried to reproduce it and I wasn't getting the same error.

     

    Only thing which surprised me a bit is that the entityId is not the GUID of the doc, but the SourceDocId of the doc.

    The sourceDoc ID of the file. You can find this by opening the file in SharePoint and looking at the address bar – the URL will have a sourcedoc=%7B{sourceDocId}%7D clause. 

     

    I am assuming you are using the same GUID in the flow?

     

    addexceltab.png

     

    Btw, have you tried other type of tabs. Do those work?

  • snorf Profile Picture
    16 on at

    Hi, thanks for the reply!

    I set up a quick test again from scratch:

    1. Get the team ID via the 'Get Team' action
    2. Get the channel ID via the 'List channels' action
      expression: body('List_channels')['value'][0]['id']
    3. Query: https://graph.microsoft.com/v1.0/teams/{guid}/channels/19:xxx@thread.tacv2/tabs

      I tried a GET first but get 'Not Found'.
      Same URI works with both Graph Explorer and the premium HTTP connector...

    Are you doing any encoding of the channel ID in your example or is it in the same format as above?
    PA1.PNG

    {
      "error": {
        "code": "NotFound",
        "message": "Not Found",
        "innerError": {
          "date": "2021-10-12T06:56:26",
          "request-id": "55dc3f55-dc8f-43fe-bb11-a4fa94470012",
          "client-request-id": "55dc3f55-dc8f-43fe-bb11-a4fa94470012"
        }
      }
    }



  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @snorf,

     

    I see in my previous example I have chosen a confusing variable name. It should have been ChannelId instead of TabId in that URI 😁

     

    But to be clear, I was using the Channel Id in there as a value. It was this value 19:28c7b4ac775f4c2c99e266a5c0b301a5@thread.tacv2

     

    I have now tested it with almost a similar setup like you, for the GET request. Also in that instance I can't reproduce the notfound error.

     

    Only difference in my test is that I am using an expression directly in the URI instead of retrieving it from a compose:

    https://graph.microsoft.com/v1.0/teams/@{outputs('Get_a_team')?['body/id']}/channels/@{outputs('List_channels')?['body/value'][0]['id']}/tabs

     

    channelidexpression.png

  • snorf Profile Picture
    16 on at

    This is incredibly strange.

    I copied your method exactly and still get the same error.
    I don't understand what's going on here.
    PA3.png

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @snorf,

     

    What kind of permissions do you have in your tenant and in that specific team? I know it shouldn't matter because it is working in the graph explorer. But just wanted to double check how it compares to my setup.

     

    And have you tested it with a different team and channel?

  • snorf Profile Picture
    16 on at

    Hi,

    I am global admin and owner of the team.
    I have tried:

    • Cther teams, both public and private.
    • Creating a new flow from scratch.
    • Creating a new connection to the connector

    I just tried in my work company's tenant and it just worked right away.
    There I have no admin role at all.

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @snorf,

     

    That is definitely a strange issue. Might be a good idea to contact Microsoft support via a service request in your tenant?

  • snorf Profile Picture
    16 on at

    Yea, I have created a support request. Thanks for the help so far.

  • ejules Profile Picture
    42 on at

    Hi @snorf 

     

    I'm literally exactly in your spot - same setup, same test, no resolution. Was just about to open the same thread when I saw yours. Did you ever resolve it :)?

     

    Your feedback is appreciated! Thank you!


    Best, ej

  • ThomasDK Profile Picture
    265 on at

     @snorf 

    Maby you need a filter array in between?

     

    ThomasDK_0-1641892647358.png

     

    Best regards,

    Thomas

     

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard