Forum Discussion
rafaelruales
Aug 03, 2022Copper Contributor
Company portal install/reinstall via Powershell?
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!
Mr_Helaas
Aug 04, 2022Steel Contributor
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
- rafaelrualesAug 04, 2022Copper ContributorYou are correct Mr_Helaas, that's they way we currently deploy apps. But of course, because it's MicroSucks, it sometimes fails to push the app.
If this worked properly, I wouldn't have to post this question 🙂- somesh_pathakAug 04, 2022Iron Contributor
Hi rafaelruales , you can try to use Invoke-IntuneWin32AppRedeploy or https://graph.microsoft.com/deviceAppManagement/mobileApps/{id}/ for graph.
Regards,
Somesh