Update a Teams channel properties using Graph api, error :- Failed to execute Skype backend request

john john Pter 340 Reputation points
2024-11-22T03:03:56.09+00:00

I have 2 requests to update a Teams channel using power automate:-

User's image

the request on right will work well, where i am updating the channel name and its properties, while for the request on left, where i am only updating the channel properties i got this error:-

{

  ``"error": {

    ``"code": "Forbidden",

    ``"message": "ServiceException: Channel Properties Update failed for Channel ThreadId: 19:1ef26afa5e724e8e919b7a52146cabd1@thread.tacv2. Exception: Failed to execute Skype backend request SetThreadPropertiesRequest.",

    ``"innerError": {

      ``"code": "AccessDenied",

      ``"message": "ServiceException: Channel Properties Update failed for Channel ThreadId: 19:1ef26afa5e724e8e919b7a52146cabd1@thread.tacv2. Exception: Failed to execute Skype backend request SetThreadPropertiesRequest.",

      ``"details": [],

      ``"date": "2024-11-22T02:50:20",

      ``"request-id": "1a3023e5-0e56-4b11-969d-95a703f41a62",

      ``"client-request-id": "1a3023e5-0e56-4b11-969d-95a703f41a62"

    }

  }

}

Any advice?

Thanks

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,392 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,374 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,374 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 42,766 Reputation points
    2024-11-22T08:30:57.1266667+00:00

    Hi @john john Pter

    I can reproduce the issue locally.

    User's image

    If you are calling this endpoint in a delegated context, the logged in user must be the owner of the team channel or have the Azure AD Global Administrator/Teams Administrator role.

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.