MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.47k forks source link

Dynamic Rule user.domain property #108217

Closed avenjamin closed 1 year ago

avenjamin commented 1 year ago

Can you please add the users domain as a property so it can be used in an expression. I'd like to do something like this:

user.domain -in ["example.org","example.net"]

currently I have to do:

(user.mail -contains "@example.org") -or (user.mail -contains "@example.net")

alternatively, but more complex would be to allow some form of string manipulation within expresssions, eg:

SUBSTRING_INDEX(user.mail,'@',-1) -in ["example.org","example.net"]

Thanks


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AjayBathini-MSFT commented 1 year ago

@avenjamin Thanks for your feedback! We will investigate and update as appropriate.

SaibabaBalapur-MSFT commented 1 year ago

@barclayn Can you please check and add your comments on this doc update request as applicable.

SaibabaBalapur-MSFT commented 1 year ago

@avenjamin Thanks for your contribution. Please add your ideas in below link, so our production team can review it and update the same. Ideas · Community (azure.com)