msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
No cmdlet corresponding to `POST /deviceManagement/reports/cachedReportConfigurations`
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:
- Try to run
New-MgBetaDeviceManagementReportCachedReportConfiguration - Receive error:
New-MgBetaDeviceManagementReportCachedReportConfiguration: The term 'New-MgBetaDeviceManagementReportCachedReportConfiguration' is not recognized as a name of a cmdlet, function, script file, or executable program. - Run
Get-Command *-MgBetaDeviceManagementReportCachedReportConfiguration- only theGet-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 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.