Automating Win LOB App Deployment to Intune via Microsoft Graph API

Sergii Machulin 105 Reputation points
2024-08-12T20:19:23.57+00:00

I've been researching automating the process of deploying a Windows LOB app to Microsoft Intune, following the guidelines provided in the documentation Add a Windows line-of-business app to Microsoft Intune.

In my attempt to use the Microsoft Graph API to achieve this, I referred to the endpoint POST https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps for creating a win32LobApp object. However, I encountered a challenge with passing the content of the app during this process.

Screenshot 2024-08-12 170006

Challenges Encountered:

  • The documentation does not provide clear guidance on how to upload or pass the app content (e.g., the installation files) when using the Microsoft Graph API for this purpose.
  • Could you please clarify whether the Microsoft Graph API supports the automation of the entire process of adding a Windows LOB app, including the upload of app content?
  • If it is possible, could you provide detailed instructions or examples on how to properly pass the app content through the API?
  • If the current API does not support this functionality, could you advise on the best alternative approach to achieve this automation?
Microsoft Security | Intune | Application management
Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Crystal-MSFT 53,991 Reputation points Microsoft External Staff
    2024-08-13T01:41:48.18+00:00

    @Sergii Machulin, Thanks for posting in Q&A. Based on my researching, I find a link describe PowerShell script to add LOB. And it needs a series of steps to do this. For more details, you can refer to the following link:

    https://github.com/microsoftgraph/powershell-intune-samples/tree/master/LOB_Application

    Note: Non-Microsoft link, just for the reference.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.