We use Google Workspace user integration with Hexnode and want to group devices by country during enrollment. For Windows, we created separate enrollment profiles for each region and mapped each profile to a custom group, so devices get added to the right country group automatically. I’m trying to do the same for macOS, but I don’t see an option to create separate macOS enrollment profiles with different custom groups. The goal is to apply country-specific policies, configurations, and apps automatically after a Mac is enrolled. Is there a recommended way to handle this for macOS?
Automatically group macOS devices by country during enrollment with Google Workspace authenticationSolved
Tags
Replies (5)
For macOS, separate enrollment profiles mapped to different custom groups are not available in the same way as Windows enrollment profiles. The recommended approach is to use dynamic device groups with filters for macOS and geofences. This allows Hexnode to automatically group enrolled Mac devices based on their location and apply the relevant country-specific policies. You can configure this from: Manage > Device Groups > New Dynamic Group.
Suggested setup:
- Create a new dynamic group for the country or region.
- Add a platform condition for macOS.
- Add a geofence filter for the required country or region.
- Preview the matching devices.
- Save the group.
- Associate the required country-specific policies, apps, or configurations with that dynamic group.
When a macOS device is inside the selected geofence, it becomes a member of that dynamic group and receives the associated policies. If the device moves outside the geofence, the policy association based on that dynamic group can be removed.
So creating these macOS dynamic groups won’t affect the existing Windows enrollment profiles, right? We already have multiple Windows enrollment profiles for different countries and don’t want to disturb them.
Correct. Creating macOS-specific dynamic groups will not affect existing Windows enrollment profiles as long as the dynamic group conditions are scoped properly. For example, include a platform filter such as: “Platform is macOS“, then add the required geofence condition for the country or region. This ensures the dynamic group only evaluates Mac devices and does not interfere with Windows devices or Windows enrollment-profile-based grouping.
How should the macOS enrollment link work if we want users to authenticate with Google Workspace? I can see the option to send enrollment requests only after selecting users. Can one invite be reused for multiple Mac laptops?
For authenticated macOS enrollment, Hexnode requires the enrollment request to be sent to selected users. The Send option becomes available only after users are selected because the enrollment request must be mapped to a user before credentials or authentication details can be generated.
To send authenticated macOS enrollment requests:
- Go to Enroll > Platform Specific > macOS > Email or SMS.
- Switch to Authenticated Enrollment.
- Select Enrollment Request as the enrollment type.
- Configure the ownership setting.
- Select Email or SMS as the delivery method.
- Choose the required domain and users.
- Send the enrollment request.
For bulk enrollment invites, you can also go to Manage > Users, select multiple users, then use Actions > Others > New Enrollment to send enrollment requests in bulk.
If Google Workspace authentication needs to be enforced during enrollment, make sure authentication is enabled from: Admin > Enrollment > Authentication Mode > Enforce Authentication.
With Google Workspace users synced to Hexnode, users can be required to authenticate during enrollment. However, on macOS, this still does not create separate, reusable country-specific enrollment profile links as it does on Windows. Country-based assignment should be handled using macOS dynamic groups with geofence and platform filters. For stronger management and to prevent users from removing management profiles, Apple Business Manager enrollment is recommended where possible. Manual profile-based enrollment can be used, but it is less persistent than automated enrollment through Apple Business Manager.