question

YimSam-0753 avatar image
0 Votes"
YimSam-0753 asked sikumars commented

add multiple values to ad connect synchronization rule

Is it possible to add more than one value to the value field? for example, I'm trying to filter out all names that begin with 'abc' and 'bu'.
193982-image.png


azure-ad-connect
image.png (58.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@YimSam-0753,
Just checking in to see if the below answer helped. If this answers your query, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

0 Votes 0 ·
BrunoMiranda-6631 avatar image
1 Vote"
BrunoMiranda-6631 answered sikumars commented

Hello follow the oficial docs here - https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-configure-filtering#inbound-filtering

There is a logical "AND" between multiple clauses, and a logical "OR" between multiple groups



In this docs - we found this https://docs.microsoft.com/en-us/azure/active-directory/hybrid/concept-azure-ad-connect-sync-declarative-provisioning


STARTSWITH, NOTSTARTSWITH A string compare that evaluates if value is in the beginning of the value in the attribute.

So I recommend you to separate your conditions in groups

Group1 - Name Attribute - STARTSWITH - abc

Group2 - Name Attribute - STARTSWITH - Bu

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your contribution in Microsoft Q&A :)

1 Vote 1 ·

@YimSam-0753 Did my answer help you?

0 Votes 0 ·
sikumars avatar image
0 Votes"
sikumars answered

Hi @YimSam-0753,

Thanks for reaching out.

Adding more than one value to the value field is not supported, thus you must add multiple GROUPS in the scoping filter in this case, like anonymous user suggested.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.