Under appSettings, locate the enableDeviceAuth setting. To enable device registration, the value must be set to true.
Note:
Simply changing this value does not completely enable device registration. You must complete all other steps in addition to setting the enableDeviceAuth value to true.