Skip to content

Missing Copilot Cost Management beta cmdlets #3831

Open

Description

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_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions