-
Notifications
You must be signed in to change notification settings - Fork 211
Description
The powershell cmdlet Get-MgDeviceAppMgtMobileAppAsWin32LobApp returns an error instead to list all win32 applications from MDM (Intune)
Command:
Get-MgDeviceAppMgtMobileAppAsWin32LobApp -All
Error:
Get-MgDeviceAppMgtMobileAppAsWin32LobApp : No OData route exists that match template ~/singleton/navigation/cast with http verb GET for request
/AppLifecycle_2501/StatelessAppMetadataFEService/deviceAppManagement/mobileApps/microsoft.management.services.api.win32LobApp.
Status: 400 (BadRequest)
ErrorCode: No method match route template
Date: 2025-02-14T14:00:01
Headers:
Transfer-Encoding : chunked
Vary : Accept-Encoding
Strict-Transport-Security : max-age=31536000
request-id : 7eea3aaf-d1e6-40ed-a141-2524c2e6b6c1
client-request-id : 5d369a15-689d-4798-89ee-6d8a973a13a5
x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF000006F3"}}
Date : Fri, 14 Feb 2025 14:00:00 GMT
At line:1 char:1
- Get-MgDeviceAppMgtMobileAppAsWin32LobApp -All
-
+ CategoryInfo : InvalidOperation: ({ Top = , Skip ... , Headers = }:<>f__AnonymousType7`9) [Get-MgDeviceApp...in32LobApp_List], Exception + FullyQualifiedErrorId : No method match route template,Microsoft.Graph.PowerShell.Cmdlets.GetMgDeviceAppManagementMobileAppAsWin32LobApp_List
Expected behavior
List win32 applications from MDM
How to reproduce
- connect-mggraph
- Get-MgDeviceAppMgtMobileAppAsWin32LobApp -All
SDK Version
2.25.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Get-MgDeviceAppMgtMobileAppAsWin32LobApp : No OData route exists that match template ~/singleton/navigation/cast with http verb GET for request
/AppLifecycle_2501/StatelessAppMetadataFEService/deviceAppManagement/mobileApps/microsoft.management.services.api.win32LobApp.
Status: 400 (BadRequest)
ErrorCode: No method match route template
Date: 2025-02-14T14:00:01
Headers:
Transfer-Encoding : chunked
Vary : Accept-Encoding
Strict-Transport-Security : max-age=31536000
request-id : 7eea3aaf-d1e6-40ed-a141-2524c2e6b6c1
client-request-id : 5d369a15-689d-4798-89ee-6d8a973a13a5
x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF000006F3"}}
Date : Fri, 14 Feb 2025 14:00:00 GMT
At line:1 char:1
- Get-MgDeviceAppMgtMobileAppAsWin32LobApp -All
-
+ CategoryInfo : InvalidOperation: ({ Top = , Skip ... , Headers = }:<>f__AnonymousType7`9) [Get-MgDeviceApp...in32LobApp_List], Exception + FullyQualifiedErrorId : No method match route template,Microsoft.Graph.PowerShell.Cmdlets.GetMgDeviceAppManagementMobileAppAsWin32LobApp_List
Configuration
No response
Other information
No response