Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Get-MgDeviceAppMgtMobileAppAsWin32LobApp -All #3130

Open
ASMailer opened this issue Feb 14, 2025 · 0 comments
Open

Error Get-MgDeviceAppMgtMobileAppAsWin32LobApp -All #3130

ASMailer opened this issue Feb 14, 2025 · 0 comments
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience

Comments

@ASMailer
Copy link

ASMailer commented Feb 14, 2025

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

  1. connect-mggraph
  2. 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

@ASMailer ASMailer added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

1 participant