aaronparker / packagefactory

A packaging factory for Microsoft Intune using Evergreen, VcRedist, and IntuneWin32App
https://stealthpuppy.com/packagefactory/
MIT License
62 stars 19 forks source link

Implement assignments #18

Closed norjen closed 1 year ago

norjen commented 1 year ago

This pull request will implement the possibility of handling Assignments after uploading the package.

The change is simple but effective, I get the package ID from Add-IntuneWin32App in a new variable. Then if the app.json contains assignments, this update will add the assignments to the IntuneWin32App package.

I typically use assignments with update packages, together with CustomRequirementRule that detects if a given software is installed, I often assign the update package to All Devices.