Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

graphServiceClient.Teams[teamId].Delete results in HTTP 405

Đang mở
#1,088 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

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ả

ToTriage
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoftgraph/msgraph-metadata

Tất cả issue của microsoftgraph/msgraph-metadata

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.