Missing Copilot Cost Management beta cmdlets

未關閉
#3,831 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
55/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
csharp, powershell
領域
api, tooling

研究方向

Start by checking config/ModulesMapping.jsonc and comparing the module mapping changes in PRs #2283 and #2889 to determine how /copilot/costManagement should be onboarded. Then inspect the beta metadata and the documented spending policy endpoint; done when generated beta cmdlets are discoverable for the documented APIs and the issue’s PowerShell versus shared SDK question is answered.

由索引模型根據 Issue 內容生成。

描述

status:waiting-for-triage type:bug
Describe the bug

The Copilot Cost Management beta API types appear in public beta metadata, but corresponding cmdlets are missing from PowerShell SDK v2.41.1.

/copilot appears absent from the module mappings. Similar gaps were resolved by adding an API tag to an existing module (#2283) or creating new module mappings (#2889). Which approach is appropriate for /copilot/costManagement?

What additional mapping or onboarding is required, and is this PowerShell-specific or shared with other Graph SDKs?

Expected behavior

Generated beta PowerShell cmdlets should be available for the documented /copilot/costManagement APIs.

How to reproduce
Find-MgGraphCommand `
    -Uri "/copilot/costManagement/spendingPolicies" `
    -Method GET `
    -ApiVersion beta

No corresponding command is present in the v2.41.1 command metadata. /copilot also appears absent from config/ModulesMapping.jsonc.

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

Call the endpoints using Invoke-MgGraphRequest

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
主要語言
C#
星號
909
分支
234
平均合併
3 天 20 小時
30 天內合併 PR
19

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

microsoftgraph/msgraph-sdk-powershell 的其他 Issue

查看 microsoftgraph/msgraph-sdk-powershell 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。