Hi @Freek Brouwer , Currently Members property in "Group" resource or MembersToInclude property in "GroupSet" resource cannot be empty as they expect at least 1 value so you may submit a feature request here to have a feature to allow empty value for Members property in "Group" resource or MembersToInclude property in "GroupSet" resource.
But to accomplish requirement with resources that are currently available, go with any of below 2 approaches.
- Use "Script" resource instead of "Group" / "GroupSet" resource
- Use "Group" resource to ensure replace current group membership with only a single particular member as exception
PFA Approach-1.ps1.txt and Approach-2.ps1.txt for configuration files.