web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : t0KTLPdzIHgIA+tMvHGsy2
Power Apps - Building Power Apps
Answered

Microsoft Teams connector- error with getteam(id)

Like (0) ShareShare
ReportReport
Posted on 27 May 2020 08:04:54 by 274

Hi Power Apps User,

I'm populating a gallery with Microsoft teams value as MicrosoftTeams.GetAllTeams().value

And in each row, i'm trying to get the team details using GetTeam from Microsoft Teams.

But i get bad request error with Failed to execute Skype backend request GetThreadS2SRequest. More details about the error in the screenshot.

Is this due to permission issues or something. Any help appreciated.

Regards,

Kevin

MicrosoftTeamsError.png

I have the same question (0)
  • v-siky-msft Profile Picture
    on 28 May 2020 at 03:23:17
    Re: Microsoft Teams connector- error with getteam(id)

    Hi @kevingeorget ,

     

    Could you share more about your scenario?

    Are you the guest user for the Teams? Did the codes work before?

     

    The code and syntax all work well in my test.

    If you're not logged in as the guest user for some Teams, the code should work, please try to re-create the Teams connection and clear the browser cache to see if the issue is fixed.

    If you're a guest user and get an error message like this from the graph API, and I've seen many similar cases without a good solution. Maybe please consider submit an Support Ticket to Microsoft for further assistance.

    Hope this helps.

    Sik

     

  • kevingeorget Profile Picture
    274 on 28 May 2020 at 06:09:14
    Re: Microsoft Teams connector- error with getteam(id)

    Thanks for the reply @v-siky-msft 

    No, i'm not a guest user.

    This app was moved to prod environment from test. it was working fine in Test environment. I removed the existing connections of Teams and added it back again.

    Strangely, the issue got resolved by itself the next day. But I've seen earlier too that Microsoft.GetTeam(teamid) call throws error occasionally for no reason.

     

  • Verified answer
    v-siky-msft Profile Picture
    on 28 May 2020 at 07:21:09
    Re: Microsoft Teams connector- error with getteam(id)

    Hi @kevingeorget ,

     

    Yes, sometimes it does.  The reason is not certain, but it's probably because of the API. The next time you encounter this problem, consider removing the connection and trying it again. Then the issue can be resolved generally.

    Sik

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 686 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 433 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 266 Moderator

Last 30 days Overall leaderboard
Loading complete