msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

No cmdlet corresponding to `POST /deviceManagement/reports/cachedReportConfigurations`

Open prubis opened this issue 1 year ago • 1 comments

Describe the bug Commandlet for API endpoint POST /deviceManagement/reports/cachedReportConfigurations (Graph API endpoint documented here) doesn't exist.

To Reproduce Steps to reproduce the behavior:

  1. Try to run New-MgBetaDeviceManagementReportCachedReportConfiguration
  2. Receive error: New-MgBetaDeviceManagementReportCachedReportConfiguration: The term 'New-MgBetaDeviceManagementReportCachedReportConfiguration' is not recognized as a name of a cmdlet, function, script file, or executable program.
  3. Run Get-Command *-MgBetaDeviceManagementReportCachedReportConfiguration - only the Get- cmdlet exists.

Expected behavior I would expect a commandlet would exist to provide this functionality - for example, Get-MgBetaDeviceManagementReportCachedReportConfiguration (the GET equivalent) does exist.

Debug Output N/A

Module Version 2.14.1

Environment Data

Name                           Value
----                           -----
PSVersion                      7.3.10
PSEdition                      Core
GitCommitId                    7.3.10
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Screenshots N/A

Additional context The API endpoint does appear to be listed in the OpenAPI specification for Reports.yml, so I'm not sure why the corresponding commandlet isn't generated during builds.

Thank you!

prubis avatar Feb 22 '24 05:02 prubis

@prubis thank you for Identifying and reporting this issue. As we continue with our investigations, kindly consider using Invoke-MgGraphRequest command. Please refer to this reference document for the list of parameters you can use.

timayabi2020 avatar Feb 23 '24 13:02 timayabi2020