microsoftgraph / msgraph-sdk-powershell

Powershell SDK for Microsoft Graph
https://www.powershellgallery.com/packages/Microsoft.Graph
Other
696 stars 168 forks source link

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

Open prubis opened 8 months ago

prubis commented 8 months ago

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!

timayabi2020 commented 8 months ago

@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.