Aug 03 2022 01:58 PM - last edited on Nov 09 2023 11:10 AM by
Hi,
Is it possible to "click" the "install" button via Powershell?
I cannot find anything that says if it's possible to interact with the company portal app via powershell.
thanks!
Aug 03 2022 02:31 PM
Hi @rafaelruales , You can use Graph to get the app id and make calls to interact or trigger installation.
Aug 03 2022 05:45 PM - edited Aug 03 2022 05:46 PM
thanks @somesh_pathak , do you know by chance what those endpoints are?
Aug 04 2022 07:00 AM
Hi @rafaelruales,
Why should you use PowerShell to click on the install button? You can assign a group to the app as required and the app will be installed on the device.
Kind regards,
Rene
Aug 04 2022 07:30 AM
Aug 04 2022 12:21 PM
Hi @rafaelruales , you can try to use Invoke-IntuneWin32AppRedeploy or https://graph.microsoft.com/deviceAppManagement/mobileApps/{id}/ for graph.
Regards,
Somesh