Getting attached error when trying to add new value in the .xml file in Intune custom policy

Ajaz Khan 266 Reputation points
2025-04-15T04:50:10.6466667+00:00

Hello, We are encountering an error when attempting to add additional device values to the .xml file within an Intune customer configuration profile. Earlier today, we successfully added a few new entries without issue. However, upon attempting to add one more, the system started returning an error.

The XML format appears to be correct, as the file has been functioning properly within the policy, and the previous additions were accepted without any problems. The error only occurs when trying to add the latest value.

{"error":{"code":"ModelValidationFailure","message":"Exception has been thrown by the target of an invocation.","innerError":{"message":"Exception has been thrown by the target of an invocation.

the current xml file size is 350 KB

You assistance on this would be highly appreciated.

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
2,062 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.