SQL Server Database Membership Rule Command (Microsoft 365)
This membership rule command updates the Microsoft 365 Dynamic Group membership based on a query to the SQL Server Database.
NOTE: This feature requires the Cayosoft Administrator Enterprise version.
Membership Rule Command Settings
| Setting name | Description |
|---|---|
SQL Table |
Specify a Table or View from the selected database. Click the Selector button to display a list of tables from which to choose. |
Data Source Filter |
You can use the point-and-click filter builder for the specified data source. NOTE: If the Where Clause is also specified, it will be applied and the DataSource Filter will be ignored. |
Data Source Anchor attribute |
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. Because user names are likely to have duplicates, some other attribute with a unique value should be used to determine if records read from the Data Source have already been processed. |
| Office 365 Anchor attribute | Defines the attribute in the Active Directory to which the Data Source anchor attribute is to be compared. |
Office 365 query criteria |
Query criteria are sent with the query and may improve query performance. |
| More Parameters | |
SQL Instance |
Specify the name of the SQL Instance as defined in the Utils Extension SQL Server configuration. Using the Default SQL Instance setting will retrieve the current setting from the SQL Connection settings of the Utils extension. NOTE: For more information, please see the Connecting to Microsoft SQL Server data source article. |
SQL Credentials |
Specify the database from the data source SQL Instance. Click the [...] button to enter SQL Credentials. NOTE: Cayosoft Administrator does not support Windows Authentication for connecting to a Microsoft SQL Server database. The database connection must use SQL Server Authentication, where the credentials (username and password) are created and managed within SQL Server itself. Mixed Mode refers to the SQL Server configuration that allows both SQL Server Authentication and Windows Authentication, but only SQL Server Authentication is supported by Cayosoft. |
SQL Database name |
Specify database name from selected SQL Instance. |
Data Source Where clause |
Define a WHERE statement in the SQL query sent to the data source to limit the rows returned by SQL Server. NOTE: If the Datasource filter is also specified, it will be ignored. |
| Override Data Source SELECT clause |
Define a SELECT statement to override all query settings, including SQL table, Data Source filter, and Data Source WHERE clause. IMPORTANT: The statement must include a Data Source Anchor attribute column in the result set matching the attribute name in the Data Source Anchor attribute field. |
| Limit SQL query results | A number of records to limit query results. |
| SQL timeout | SQL Server connection timeout. |
| Properties to display | Select properties to display for each object found by the query. |
| Convert null values to empty | You can convert null values to empty. |
Comments
0 comments
Please sign in to leave a comment.