Use Entra ID dynamic or static groups to directly scope software assignments in Munki with Munki-Conditions
https://github.com/munki/munki/wiki/Conditional-Items#admin-provided-conditions
Azure Automation Example:
https://github.com/almenscorner/munki-manifest-generator