graphServiceClient.Teams[teamId].Delete results in HTTP 405
Maintainer thường phản hồi trong vòng 1 ngày
@MIchaelMainer đang làm issue này rồi.
Từ ngày 27/4/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
I'm trying to delete a Team using
await graphServiceClient.Teams[teamId].DeleteAsync().ConfigureAwait(false);
It results in an exception that tells me the server returned HTTP 405.
Expected behavior
The Team gets deleted.
How to reproduce
Run the above code line with an existing graphServiceClient.
SDK Version
5.103
Latest version known to work for scenario above?
No response
Known Workarounds
use await graphServiceClient.Groups[teamId].DeleteAsync().ConfigureAwait(false);
Given that the REST API doc states you need to target the /groups endpoint, I think the Delete method ought to be removed from Teams so as to avoid confusion.
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
- Ngôn ngữ chính
- XSLT
- Star
- 167
- Fork
- 55
- Merge trung bình
- 2 ngày 53 phút
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoftgraph/msgraph-metadata
-
ToTriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
microsoftgraph/msgraph-metadata#1217 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ToTriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoftgraph/msgraph-metadata#1192 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`microsoft.graph.managedDevice` is missing a filter restrictions annotation.Có thể đã có người làm @esidorenko-sl đã nhận 50 ngày trước. Đang mởToTriage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
microsoftgraph/msgraph-metadata#1193 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ToTriage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
microsoftgraph/msgraph-metadata#1169 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
@odata.type is marked required in the OpenAPI schemas but is omitted from most GET responsesĐang mởToTriage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoftgraph/msgraph-metadata#1166 ·
Maintainer thường phản hồi trong vòng 1 ngày