How to upload msi/exe via Microsoft Graph API

avigdors 1 Reputation point
2022-09-07T11:06:26.48+00:00

Hi,
I want to create Windows App of type "line of business" via Microsoft Graph API. Find "create app" API (link below), but didn't find how to upload file (MSI/EXE)
https://learn.microsoft.com/en-us/graph/api/intune-apps-win32lobapp-create?view=graph-rest-1.0
Does the "upload MSI/EXE" API is implemented?
Attached screenshots how I do it from portal
Thanks.

238576-intune5.png238612-intune4.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,464 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,743 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 46,271 Reputation points Microsoft Vendor
    2022-09-09T06:31:23.43+00:00

    @avigdors , Based on my check, when we choose LOB and click upload package File, it will get some js files and upload the package file by posting to https://endpoint.microsoft.com/api/extensiontelemetry with the payload as below:
    239308-image.png
    To check on your side, you can click "F12" to open DevTools on Edge to check the detailed request action when we click upload package file.

    If you have more questions on this, you can contact our Premier support to get more help.
    https://learn.microsoft.com/en-us/mem/get-support

    Thanks for your understanding and have a nice day!


    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 comments No comments