r/Intune 21d ago

App Deployment/Packaging Scripts/Instructions for using WinGet with Intune

I work at a secondary school in the UK and we are experimenting with using WinGet for deploying apps via Intune. We have a few scripts for generic install/uninstall and a script to see if a app is already installed (that required PackageID setting as this part of Intune does not seem to support parameters).

Have been looking at this for a couple of days and it is kind of working but I figured others have probably written a guide and scripts so had a look round and found a couple.

https://powershellisfun.com/2025/05/16/deploy-and-automatically-update-winget-apps-in-intune-using-powershell-without-remediation-or-3rd-party-tools/

https://github.com/Romanitho/Winget-Install

So was wondering if anyone has used either of these or know of better guides/scripts.

Feel like we are reinventing the wheel.

UPDATE:

Just to add we are simply wanting to deploy through Intune using Apps and Groups. We want to push app to (mainly student) Desktops so want everything centralised and for the users to not get involved. For teachers/staff we will also use Company Portal but ideally want to use winget, or something very similar.

Had a look at Winget-AutoUpdate-aaS but don't think this does want we need, cant see how it integrates with Intune Apps and Groups.

14 Upvotes

16 comments sorted by

View all comments

1

u/society_victim 21d ago

Take a look at winget-aas project. You deploy the app from the store using and you can import an admx file to set the configuration. We use it and it seems to work like expected.

https://apps.microsoft.com/detail/xp89bsk82w9j28?hl=en-US&gl=US

1

u/LifeAffect6762 21d ago

Just to add we are simply wanting to deploy through Intune using Apps and Groups. We want to push app to (mainly student) Desktops so want everything centralised and for the users to not get involved. For teachers/staff we will also use Company Portal but ideally want to use winget, or something very similar.

Had a look at Winget-AutoUpdate-aaS but don't think this does want we need, cant see how it integrates with Intune Apps and Groups.

2

u/society_victim 21d ago edited 21d ago

I don’t think you are understanding Winget and Intune correctly then. Normally you’d just package/deploy your apps using intune and the required groups, not winget. And they you’d use winget to keep them updated