Applocker Policy Update fail on Intune using Custom Template Configuration Profiles

Roshan M (iCORE-CRS) 0 Reputation points
2024-09-18T09:17:04.3+00:00

I'm using applocker using custom template profiles on Intune and it stopped working all of a suddedn as we added new files and as we save the profile after adding configuraiton settings of Dll.xml, Script.xml Msi.xml and StoreApps.xml. It gives invalid data error

{"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.","date":"2024-09-02T10:29:05","request-id":"a27f8abb-1540-43d1-a187-320e1645d844","client-request-id":"78d00871-8123-4463-b854-d509a08a2f37"}}}

Surprisingly the working xml files that are currently under enforcement is not getting reuploaded itself. We failed in creating a new profile as the error is the same.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,080 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZhoumingDuan-MSFT 13,075 Reputation points Microsoft Vendor
    2024-09-19T05:46:44.7466667+00:00

    @Roshan M (iCORE-CRS), Thanks for posting in Q&A.

    From your description, I know you failed updating AppLocker policy in Intune portal.

    To clarify this issue, please check the following.

    1.Please check whether the xml file' format is correct.

    2.You can try to delete the custom AppLocker policy and re-create a new not to see if the issue can be fixed.

    https://techcommunity.microsoft.com/t5/intune-customer-success/support-tip-using-applocker-to-create-custom-intune-policies-for/ba-p/364981

    https://www.lableoel.com/post/intune-applocker-policies-xml-manage

    Non-official, just for reference.

    Here is a link with the same issue you can refer.

    https://learn.microsoft.com/en-us/answers/questions/1300514/applocker-policy-through-intune-isnt-working

    Please try above information, if there is any update, feel free to let us know.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. ZhoumingDuan-MSFT 13,075 Reputation points Microsoft Vendor
    2024-10-07T05:48:30.88+00:00

    @Roshan M (iCORE-CRS), Thanks for your reply.

    We are really glad to know that the problem has been resolved. Please allow me to give a brief summary of this problem to help people with the same problem.

    Issue Description:

    Applocker Policy Update fail on Intune using Custom Template Configuration Profiles

    Resolution:

    User's image

    Thanks for your time and have a nice day!

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.