microsoftgraph / msgraph-sdk-python

MIT License
359 stars 49 forks source link

Fail to create shared channels #852

Open shani-hollander-hs opened 1 month ago

shani-hollander-hs commented 1 month ago

Describe the bug

When sending requests for channel creation with a membershipType value of shared, we get a 202 Accepted response code. The channels are not getting created after long periods of times (hours) or not getting created at all

This has been happening for the last 24~ hours, and is a new error

Expected behavior

Channel of type shared should be created in a matter of seconds/minutes after getting 202 response

How to reproduce

Create a channel with a membershipType value of shared -


request_body = Channel(
    display_name = "Architecture Discussion",
    description = "This channel is where we debate all future architecture plans",
    membership_type = ChannelMembershipType.Shared,
)

result = await graph_client.teams.by_team_id('team-id').channels.post(request_body)

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ``` ```

Configuration

No response

Other information

No response

shemogumbe commented 1 month ago

Hello @shani-hollander-hs thanks for using the SDK and for reporting this.

From your issue, looks like this was working and just recently stopped working, however, considering that you are receiving 202 statuses in the response, this could be related to the service.

Could be helpful to log a ticket here