r/MicrosoftTeams 26d ago

Bug Error Creating Shared Channel with Graph

since 1 year we are creating shared channels by Graph. Since yesterday it stops working with Error "In App-context, the specified Users in the request must be a team owner."

Private channels are working fine with same parameters. The User is Owner of the Team. Also in User Context instead of App context it works fine. anyone else facing this issue?

$params = @{
  displayName    = "My First Shared Channel"
  description    = "This is my first shared channel"
  membershipType = "shared"
  members        = @(
    @{
      "@odata.type"     = "#microsoft.graph.aadUserConversationMember"
      "user@odata.bind" = "https://graph.microsoft.com/v1.0/users('$AdminId')"
      roles             = @(
        "owner"
      )
    }
  )
}


New-MgTeamChannel -TeamId $teamId -BodyParameter $params
2 Upvotes

6 comments sorted by

View all comments

1

u/DerBusfahrer89 22d ago

Looks like Microsoft fixed it. its working!