Share via

"Failed to execute Skype backend request GetThreadS2SRequest." on Get-MgGroupTeamChannel Cmdlet

Anonymous
2024-08-15T06:01:30+00:00

Hello,

I am trying to create a report that lists information about Teams. One of the pieces of information I want to grab is the number of each type of channel on each Team. I am trying to use the "Get-MgGroupTeamChannel" cmdlet to retrieve this information, but it will fail randomly with an error saying "Failed to execute Skype backend request GetThreadS2SRequest.". Adding delays between the command call for each Team seemed to help, but not totally eliminate the issue.

Currently I am connecting to Graph with the following scopes.

"User.Read.All","Group.ReadWrite.All","Team.ReadBasic.All","GroupMember.Read.All","TeamMember.Read.All","Reports.Read.All","Sites.Read.All"

Anyone have any ideas what could cause this and how to fix it?

Microsoft 365 and Office | Install, redeem, activate | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-08-15T09:01:48+00:00

    Hello Travis Nabbefeld,

    Good day! Thank you for posting to Microsoft Community. We are happy to assist you.

     I'm sorry to hear that you're encountering an issue with the "Get-MgGroupTeamChannel" cmdlet when trying to retrieve information about Teams channels. While our primary focus is on Teams basics, I would like to provide some guidance regarding your query.

    The error message "Failed to execute Skype backend request GetThreadS2SRequest." suggests that there might be a problem with the backend service that the cmdlet relies on. Regarding your specific issue related to the PowerShell script, I recommend reaching out to Microsoft PowerShell support/community. Please reach out to the Microsoft PowerShell community by visiting their website: Microsoft PowerShell Community; Alternatively, you can also post in Microsoft Graph - Microsoft Q&A. Experts in this category possess extensive knowledge of these issues and can provide tailored solutions to unique problems.

    I apologize for redirecting you to a different community, but I believe this step will ensure faster and more accurate assistance for your specific scenario.

    Thank you for your cooperation and understanding. Please do not hesitate to post your queries in Microsoft Community, and we will always do our best to assist you!

    Sincerely 

    Feroz Mahmud | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments