AD Groups | Add to Azure AD Administrative Units
Rule description
This rule queries the selected AD Groups scope and for each returned group, finds the corresponding cloud group by SID and then adds it to the selected Azure AD Administrative Unit, either directly or dynamically via text file mapping.
NOTE: Privileged Role Administrator is required to add Microsoft 365 groups to Azure AD Admin Units if a Microsoft 365 connection account doesn't have a Global Admin role.
When to use this rule
Use this rule when you need to add hybrid groups to the Azure AD Administrative unit either directly or dynamically via text file (CSV) mapping. You can use the template CSV file provided with the rule, or create a file in Microsoft Excel and export it as CSV.
Rule settings
Query section
| Setting name | Description |
|---|---|
Limit AD scope to this domain or OU |
This setting defines the search query scope. To improve query performance, limit the scope to a specific OU. IMPORTANT: To test the rule configuration, limit the rule scope to an OU that contains test accounts or objects and use the Preview feature. |
|
AD Query criteria
|
Query criteria are sent with the query and may improve query performance. TIP: For additional information on the criteria builder, see the How to use Query Builder dialog for Query Criteria and Filter rule settings. |
|
Filter AD query results
|
To hide unwanted data based on criteria, not supported by the Active Directory query, set the filtering conditions here. Example: filter by the found object Distinguished Name. TIP: For optimal performance, use Query criteria above to filter objects whenever possible. |
Properties to display |
Each object property defined in this setting matches the column that will be displayed in the Web Portal for this web query. To display additional columns, add the required properties to the Properties to display list. To add extension attribute 1 that is synchronized from AD, you need to use a value like:
Copy
|
Group type |
Specify AD group type:
|
Display name starts with |
You can specify the group display name for the search. |
Other Query Settings | |
LDAP filter |
Set the filtering conditions to only return objects or data that need to be processed by the rule. This filter will override the Query criteria setting. |
System properties |
List of properties required for this rule to be executed correctly. |
Sort by |
Sort result objects list. |
Maximum number of users |
By default, all objects that you have provisioned in Microsoft Office 365 are returned. TIP: It is possible to change the default value in the extension settings. |
Initialization script | |
Script |
Usually, rules use query criteria to limit the query search scope. It improves the performance of the executed rule. Due to the PowerShell limitations, it is not possible to use calculated expressions in query criteria. That is the point where the initialization script can help. You can initialize a global variable in this setting and then use it in query criteria. IMPORTANT: To use a variable, declared in the initialization script, in the query scope, it must be global: Example: Update AD users, created in the last ten days.
|
Action section
| Setting name | Description |
|---|---|
| Target AU selection mode |
One of these values is possible: Select a single Azure AD Administrative Unit directly from settingSelect Administrative Unit dynamically based on attribute mapping in a CSV file |
| Action |
Specify one of these actions:
|
| Azure AD Administrative Unit | If using the Select a single Azure AD AU mode above select the Azure AD administrative Unit. If using a dynamic mapping file select the CSV file column containing the Azure AD Administrative Unit name. |
| Dynamic Mapping from File Settings | |
| Data source |
Specify the text file to be imported. The […] (three dots) button allows the user to browse for the file and the Create/Edit button allows the creation or editing of the existing file in the built-in Data Source editor. |
| Separator used in file | Specify the separator used in the source CSV file. |
| Active Directory anchor attribute |
Defines the attribute in the Active Directory to which the Data Source anchor attribute specified in the 'CSV anchor match column' is to be compared. Use the default msDS-parentdistname attribute to map by OU. |
| CSV anchor match column | Defines the column in the Data Source that will be used to determine if the user account already exists. This value is compared to the Active Directory Anchor Attribute. |
| Azure AD Administrative Unit column | Select the CSV file column containing the Azure AD Administrative Unit name if using a dynamic mapping file. |
Output Section
This section defines the output format of this rule.
To get more information about this section, please see the Rule Output section article.
Enforce/Schedule section
This section defines the schedule for how often to run the rule.
To get more information about this section, please see the Rule Enforce/Schedule section article.
Comments
0 comments
Please sign in to leave a comment.