-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MT.1020 not catching dir sync accounts #582
Comments
Can you share some details on what you are seeing and what you expected to see? Any repro steps would help. Thanks |
I have tried it from both an Azure DevOps pipeline and from a local PS session. I think you need to check for the Entra User displayname "On-Premises Directory Synchronization Service Account" or upn beginning with "sync_". Not sure how you do the check today, but I have 7 CA Policies that shows up as not having the sync dir acc in them. But that is not true, as we do not have them excepted. |
Got it. I see the error now. Microsoft made changes to the role for the sync account. This could be why Maester is failing to detect this in tenants. @f-bader if you have bandwidth to check on this. Tx |
You might want to add another check in the if clause, checking for
|
This test is not catching the directory synchronization accounts:
https://maester.dev/docs/tests/MT.1020/
The text was updated successfully, but these errors were encountered: