The GitHub integration syncing from a partner's own repo appears to have an undocumented limitation of 1MB files (GitHub integration – Nerdio Help Center). This is likely insufficient as the nature of Intune policy defintiions can be very inefficient, and expand in size unexpectedly. The two most notable instances of this concerns some of the Intune security baselines.
Default configuration of Intune's Windows security baselines - Microsoft Intune | Microsoft Learn - In my sample,this file was just barely below 1MB at 1,046,608 bytes (1,048,576 bytes = 1 MB).
List of settings for the Microsoft 365 Apps for Enterprise security baseline in Intune - Microsoft Intune | Microsoft Learn - 1,098,698 bytes is too big.
I request the feature of this limit to be increased to 10MB to provide buffering for complex Intune policies including but not limited to these items.
Error in sync job log:
Cannot add file xxxxxx.json as its size is 1098698 bytes. Max allowed is 1048576 bytes
Error while synchronizing file /xxxxxx/xxxxxx.json: Policy JSON is not valid: Error reading JObject from JsonReader. Path '', line 0, position 0.
Comments (2 comments)