When I am Onboarding Android 6.0 devices I can see bogus MAC-Address ["02:00:00:00:00:00"] being updated on Onboard for few devices. Why is that happening and how can I fix it?
To provide users with greater data protection, starting in 6.0.x release, Android removes programmatic access to the device’s local hardware identifier for apps using the Wi-Fi and Bluetooth APIs. The WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() methods now return a constant value of 02:00:00:00:00:00.
To access the hardware identifiers of nearby external devices via Bluetooth and Wi-Fi scans, Quick-Connect app must be provided the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permissions.