OS Build random App enforcement errors

David Zemdegs 1,591 Reputation points
2024-05-15T22:29:27.24+00:00

We have an OS build task sequence that installs various apps. Recently, the app installs have been failing randomly with App enforcement errors. Normally that would mean the app detection was incorrect but that is not the case. This is happening randomly. I can run the TS with no errors and someone else running the exact same TS would get app enforcement errors. The errors dont seem to relate to anything, not location or machine being built. What else would cause app enforcement errors if the app detection is %100 correct?

Microsoft Configuration Manager
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 12,621 Reputation points MVP
    2024-05-16T04:03:09.9233333+00:00

    You would need to go through carefully appenforcement.log and tssms.log files at least. Are you sure all your subnets are registered to CM bounderies and linked to DPs? The difference between you and other location could be about different subnets. Another reason could be that too many apps at once could lock up the installation process, and then you would need to add restart steps in TS to ensure its success.


  2. XinGuo-MSFT 19,771 Reputation points
    2024-05-17T09:11:09.32+00:00

    Hi,

    Random events are more difficult to reproduce and more difficult to troubleshoot.

    We need to look at the log files to analyze the problem specifically.

    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.