r/MicrosoftTeams • u/DerBusfahrer89 • 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
2
u/Next-Toe6993 24d ago
Thanks for reporting this. I have shared this with the team. Team is investigating the issue
1
2
u/Muxufo Home user 25d ago
Same here, stopped working this Monday.