and more in a single search tool across platforms. Read the announcement here. |
03/31/2023 04:43 AM
Hi All,
I need some information regarding Azure AD account import filter.I am using the below query-startswith(givenName,'Siraj').We are having a usecase to import the account based on the specific country and employee type. Anyone help me what query I can use for achieve the above use case.We are using the azure ad connector type.
03/31/2023 05:40 AM
Please try :
startswith(extension_ourGUID#_employeeType,'Staff') AND country eq xxxx
04/02/2023 11:15 PM
Hi Rakesh,
If I use the above mention format for account filter then instead of extension_ourGUID what value I need to put.
startswith(extension_ourGUID#_employeeType,'Employee') AND country.equals("USA")
Is the above format is correct which I mentioned.Please let me know
With Regards,
Siraj Molla
04/03/2023 12:27 PM
You can try with the below format. The only change is country eq
startswith(extension_ourGUID#_employeeType,'Employee') AND country eq("USA")
04/04/2023 01:08 AM
I tried using the above query but it is importing all the account that's present in Azure.
With Regards,
Siraj Molla
04/06/2023 09:12 AM
Can you try with the below one
startswith(extension_ourGUID#_employeeType,'Employee')& country eq('USA')
04/07/2023 03:58 AM
Hi Sahil,
If I am using the above filter then I am getting below error in account import job-
Account threshold (accountThresholdValue) exceeded. Current threshold limit 100 and missing accounts during import 1636. No action was taken on missing accounts due to the threshold breach.
With Regards,
Siraj Molla
04/11/2023 09:09 AM
Based on the above screenshot, it appears the filter condition did not work. Let me check this once and will update you.
04/12/2023 10:56 PM
Instead of ampersand (&), please use 'and' conditional operator for adding another condition in the filter parameter supported by Microsoft graph API.
Example: startswith(extension_ourGUID#_employeeType,'Staff') and country eq 'USA'
For more info on filter visit: https://learn.microsoft.com/en-us/graph/filter-query-parameter?tabs=http