microsoftgraph/powershell-intune-samples

How would someone go about using the Application_LOB_Add.ps1 Script to make it Update an MSI LOB instead

boivinx7 opened this issue · 1 comments

Ive tried a lot of stuff, but the functions are too unclear to me, i would have to re write the entire code to try to start to understand it.
ive tried to go simple and just hide the
#Write-Host "Creating application in Intune..." -ForegroundColor Yellow
Like 714-716
section and just put the app ID that i want in Line 721
And from the output it seems all ok but the app itself never took the new MSI, so im not sure where it was uploaded, and that im not a fan of.

Ive found a lot of exemples for Win32, but this is an for an app that has almost weekly updates, and users just want it up to date.
right now they have a Scheduled task manually installed on there PC.
App needs admin rights to update, and has no auto update or even update check mechanism... (dumb but no choice)
So my goal would be to have an azure automation that would run, if there is a new version, download it and then update it in the MSI LOB. since those auto update on the pc's without having to change the detection method, it makes it easy to manage.
But finding or making the script is a pain.
also would ultimately need to have App API and not Delegate or login since this will be automated.
So anyway, if anyone has an idea.
regards

I have developed a solution for this including a UI, are you using for personal or company use?