Sep 25 2023 09:34 AM - edited Sep 25 2023 09:35 AM
I have an issue where builds often fail due to sharing violations caused by defender.
The sequence is:
I've confirmed with procmon that MsSense.exe is opening this exe file in between our link and manifest steps and causes the sharing violation.
I've tried adding process exclusions for link.exe and mt.exe with no change to the result. Also tried adding folder exclusions for the directory containing the source tree, also no help.
It appears that MsSense.exe is part of Advanced Threat Protection and that Defender exclusions do not apply to that. I've searched high and low for how to fix this problem with no luck.
Looking for ideas/pointers on how to add exceptions to ATP .
Sep 25 2023 06:58 PM
@pbarnz When i raised a support case on this only the product team can add exclusions for ATP. Its done for the whole tenant too and it took weeks before they finally added it.
Apparently there is update coming where we can add them ourselves but its still in preview (or so the engineer told me).
Sep 28 2023 12:37 PM
Oct 02 2023 06:01 AM
We're facing the same issue in our company. We're seeing it more often on slower machines.
A colleague suggested to use MT_EXECUTE_DELAY=1000 environment variable.
Oct 05 2023 06:02 PM
Oct 06 2023 04:29 PM
Oct 11 2023 07:35 AM