Filter to exclude certain AD accounts for on-premises environment
I would like to request a filter or a rule that excludes certain accounts from being synced to the cloud, i.e., service accounts, accounts that don't have a title assigned to them within AD, etc.
Hi Juan -
Is your request for AD on-premises?
Thank you for a quick update
Jesper Frier
Got it Juan -
With AD on-premises as your data source, you can filter and pull users from OUs and Groups.
The /remove+ switch removes the service accounts and users that is not included in your filter.
Learn more in example #3 and #4 > Will this work for you?
Thanks
Jesper Frier
Below is example #3 linked above where you pull users from an OU and remove users that are not included in the OU:
Below is example #4 where you pull users from an Group and remove users that are not a member of the group:
Your service accounts are only pulled IF they are included in the OU or is a member of the Group.
I can help you if you copy your script (change the user and secret since this is a public post) - Thanks.
When using AD on-prem, you cannot filter users without a job title.
Such a filter is included with the AAD integration:
I'll leave your suggestion open for likes/comments, which we use when prioritizing the roadmap.
With AD on-premises, I suggest moving to a Group filter (#4) where you control which users are pulled into your account.
If you cannot use an existing group, then you create a new group and exclude the service accounts - Done.
Thanks
Jesper Frier