Increase Size Threshold of GitHub Synced Intune Policies

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.

1

Comments (2 comments)

0
Avatar
Carl Long
We appreciate your feature request—community input is essential to our ongoing development.

Next steps:
     • We will review your suggestion and update its status during the evaluation process.
     • If further clarification is needed, we'll contact you via comments.

We also encourage others to contribute through feedback and voting.
1
Avatar
Andy Weidner

Hey Jacob, 

 

I'm reviewing with our team to see if there was a technical reason for the limitation. In the meantime, if this is a blocker for you, we do have an application parameter available that will allow you to increase the size: “GithubSchedulerParams: MaxFileSizeInBytes”. If you need help setting this up feel free to open a support case and we can assist!

 

Thanks

Andy Weidner

Please sign in to leave a comment.