There are couple different methods Take a look into intunewin32app powershell module first There is also intune manager by Micke-K on github that have some useful modules for that. Lastly graphs api with instruction here https://github.com/microsoftgraph/powershell-intune-samples/tree/master/LOB_Application