When trying to delete Unit records related to the "Distance Units of Measure for Resource and Asset Location Management" unit group, an error occurs stating that the geofencing unit 'Mile' cannot be removed. There is an out-of-the-box plugin that restricts the deletion of the unit. The article provides the code for the plugin and the GUIDs for the unit. It also mentions that more information about geofencing can be found on the Microsoft Dynamics 365 Field Service website.
Login now to access my digest by 365.Training