Assign a different geofence to each Android device in HexnodeSolved

Participant
Discussion
2 days ago Jun 21, 2026

I’m setting up geofencing for Android devices and need each device to have its own geofence. I already created a fence from Admin > Geofencing, but I’m not sure how to assign different fences device by device. Is there a way to apply one geofence to one Android device and another geofence to a different device?

Replies (4)

Marked SolutionPending Review
Hexnode Expert
2 days ago Jun 21, 2026
Marked SolutionPending Review

Yes @haniel. Different geofences can be assigned to different Android devices, but the assignment is done through policies. A geofence is first created in the portal, and then added to an Android policy. To assign a unique geofence to a specific device, create a dedicated policy for that device and deploy the policy only to that device. Here is the workflow:

  1. Go to Admin > Geofencing.
  2. Click Create Fence.
  3. Enter the fence name, search for the location, configure the radius, and save the fence.
  4. Go to Policies > New Policy.
  5. Under Android, go to Tracking and Fencing > Geofencing.
  6. Click Configure, then Add Fence.
  7. Select the geofence created for that device.
  8. Open the Policy Targets tab.
  9. Add only the specific Android device that should receive this geofence.

10. Save the policy.

Repeat the same process for each Android device that needs a different geofence. If multiple devices should use the same geofence, they can be targeted by the same policy.

Marked SolutionPending Review
Participant
2 days ago Jun 21, 2026
Marked SolutionPending Review

So there isn’t a place where I assign the fence directly from the device page? I was looking there and couldn’t find anything that matched.

Marked SolutionPending Review
Hexnode Expert
2 days ago Jun 21, 2026
Marked SolutionPending Review

Correct. The fence itself is created under Admin > Geofencing, but it is applied to devices through a policy. The device page will not be the main place to configure the geofence.

For one geofence per device, the structure would be something like:

  • Geofence A + Policy A targeted to Device A
  • Geofence B + Policy B targeted to Device B
  • Geofence C + Policy C targeted to Device C

The important part is to keep each policy targeted only to the device that should receive that specific fence.

Marked SolutionPending Review
Participant
2 days ago Jun 21, 2026
Marked SolutionPending Review

That makes sense. I clicked New Policy and found the Android > Tracking and Fencing > Geofencing option. Creating a separate policy per device worked for setting different fences.

Save