Skip to content

Conversation

Yebbenbe
Copy link
Contributor

Fixed a typo or two. Added all operators shown in the Rule Builder, and details on how they work, as this was spread out in multiple first and third party docs.

Added details on array and array of object attributes, for clarity. Updated some examples.

Updated to reflect status of -contains and -match. Some sources say these aren't supported/don't work at all any more, but it appears they do - just aren't offered..

Overall, just notes I've refined over the past few months, working with these and referencing this doc a lot.

Fixed a typo or two. Added all operators shown in the Rule Builder, and details on how they work, as this was spread out in multiple first and third party docs. 

Added details on array and array of object attributes, for clarity. Updated some examples. 

Updated to reflect status of -contains and -match. Some sources say these aren't supported/don't work at all any more, but it appears they do - just aren't offered..

Overall,  just notes I've refined over the past few months, working with these and referencing this doc a lot.
Copy link
Contributor

@Yebbenbe : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit 756d658:

⚠️ Validation status: warnings

File Status Preview URL Details
docs/identity/users/groups-dynamic-membership.md ⚠️Warning Details

docs/identity/users/groups-dynamic-membership.md

  • Line 177, Column 46: [Warning: bookmark-not-found - See documentation] Cannot find bookmark '###Multi--value-properties' in 'identity/users/groups-dynamic-membership.md', did you mean '#multi-value-properties'?
  • Line 179, Column 24: [Warning: bookmark-not-found - See documentation] Cannot find bookmark '###Multi--value-properties' in 'identity/users/groups-dynamic-membership.md', did you mean '#multi-value-properties'?

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

| `Greater than or equal` | `-ge` | Can be used with hireDate attribute. |
| `Less than or equal` | `-le` | Can we used with hireDate attribute. |
| `Add` | `-plus` | Not valid operator, do not select. |
| `All` | `-all` | For complex expressions / [multivalue properties](###Multi--value-properties). EX: (user.ProxyAddresses -all (_ -endsWith "contoso.com")) matches users where all proxyAddresses are at the contoso.com domain. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `All` | `-all` | For complex expressions / [multivalue properties](###Multi--value-properties). EX: (user.ProxyAddresses -all (_ -endsWith "contoso.com")) matches users where all proxyAddresses are at the contoso.com domain. |
| `All` | `-all` | For complex expressions / [multivalue properties](#Multi--value-properties). EX: (user.ProxyAddresses -all (_ -endsWith "contoso.com")) matches users where all proxyAddresses are at the contoso.com domain. |

fixing the build warning

| `Add` | `-plus` | Not valid operator, do not select. |
| `All` | `-all` | For complex expressions / [multivalue properties](###Multi--value-properties). EX: (user.ProxyAddresses -all (_ -endsWith "contoso.com")) matches users where all proxyAddresses are at the contoso.com domain. |
| `And` | `-and` | For complex expressions, like matching name and company |
| `Any` | `-any` | For [multivalue properties](###Multi--value-properties), checks if any of the user.property's values match a query (contrast to -all). Ex: (user.servicePlans -any (assignedPlan.capabilityStatus -ne null)) checks that no service plan objects has a null value for key 'CapabilityStatus' |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `Any` | `-any` | For [multivalue properties](###Multi--value-properties), checks if any of the user.property's values match a query (contrast to -all). Ex: (user.servicePlans -any (assignedPlan.capabilityStatus -ne null)) checks that no service plan objects has a null value for key 'CapabilityStatus' |
| `Any` | `-any` | For [multivalue properties](#Multi--value-properties), checks if any of the user.property's values match a query (contrast to -all). Ex: (user.servicePlans -any (assignedPlan.capabilityStatus -ne null)) checks that no service plan objects has a null value for key 'CapabilityStatus' |

build warning

@v-dirichards
Copy link
Contributor

@barclayn

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants