This sample should help: https://github.com/microsoftgraph/powershell-intune-samples/tree/master/LOB_Application.
Upload LOB mobile app to Intune programmatically
We are integrating Intune with our service.
We need a way to deploy in house applications to Hololens 2 devices programmatically. I'm able to create Line-of-business app, upload application files and assign it to group from portal(https://endpoint.microsoft.com) .
In microsoft graph java sdk I've found only the way to create application metadata but no way to upload package and dependency.
After creating app metadata, portal makes post requests to
https://graph.microsoft.com/beta/deviceAppManagement/mobileApps/101ca946-b9ae-4a92-99ad-8c6f258bd4e8/microsoft.graph.windowsUniversalAppX/contentVersions
Is there a way to do the same flow from graph api or microsoft graph java sdk? Is there any code samples of how to create LOB application programmatically?
1 answer
Sort by: Most helpful
-
Jason Sandys 31,186 Reputation points Microsoft Employee
2021-01-20T17:45:47.767+00:00