Skip to content

Incorrect module mapping for PowerShell commands for apis listed under "/solutions/backupRestore" #2886

Closed
@Anand-Malli

Description

@Anand-Malli

Describe the bug

Our team M365 Backup Storage (f.k.a. Enhanced Restore) owns the graph apis available under "solutions/backupRestore". When trying to find the respective PowerShell commands, they are being listed under "Bookings" module.

This is not the correct module mapping for these apis. mapping is defined here - config/ModulesMapping.jsonc

Example of one api:
image

Expected behavior

Expected:
All the apis listed under "solutions/backupRestore" should be mapped to a new module - "BackupStorage"

How to reproduce

  1. execute
    Find-MgGraphCommand -Uri 'beta/solutions/BackupRestore/SharePointProtectionPolicies/'

SDK Version

2.20.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

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