Add validatio for null Azure Intune Device Enrollment > Device Categories
Currently, within Azure Intune, you can add in null Device Category values programatically via the Graph API. You cannot however, add these Device Category values manually via the Portal, as it validates.
If you add null Device Categories into Azure Intune, then the Intune Company App on Windows 10 crashes when the user launches the app and it attempts to log in, due to the null value Device Category present. This needs to be fixed and validation added so that if the null value is introduced via Graph, it will stop the value being added (as it currently validates using manual methods within the Azure Portal, within Intune). See attachments.