Rule description
This rule queries the specified Office 365 user scope and assigns Microsoft Teams policies to each user that satisfies query criteria in Microsoft Teams.
When to use this rule
Use this rule when you need to perform bulk Teams policy assignment to Office 365 users.
Rule Settings
Query Section
Setting name | Description |
---|---|
Account Status |
Select user account status: enabled, disabled or both. |
Filter |
To hide unwanted data returned by the query, select the filtering conditions. Example: Find all users with E1 plan assigned {$_.Licenses.AccountSkuId -match "STANDARDPACK"} You can find out the license plan ID in the cache file on the machine where the Cayosoft service is installed: C:\ProgramData\Cayo Software\AdminAssistant\ItemCache\O365LicenseDefCache.xml This XML file contains friendly names of plans and their IDs. |
Filter AD query results |
To hide unwanted data based on criteria set the filtering conditions here. Tip: For optimal performance, use Query criteria above to filter objects whenever possible.
|
Query Filters |
|
Display Name/E-mail starts with |
Specify the first letters of Name or Email attributes. |
Filter by Title Filter by Department Filter by City Filter by State Filter by Country Filter by Usage Location |
Specify the value of the corresponding attributes. |
More Options |
|
Properties to Display |
To display additional properties for each object found by the query, add those properties to the list. |
Sort by |
Sort result objects list. |
Limit query for Office 365 |
Specify integer value. By default, all objects that you have in Microsoft Office 365 are returned. Tip: It is possible to change the default value in Microsoft Office 365 extension settings.
|
Action Section
Setting name | Description |
---|---|
Meeting policy Messaging policy Live events policy App permission policy App setup policy Call park policy Calling policy Caller ID policy Teams policy Upgrade (coexistence) policy Emergency calling policy Emergency call routing policy Give feedback policy IP Phone policy Cloud video interop policy External access policy Online voicemail policy |
Specify the values for the Teams policies. These policies are the same as in the Microsoft Teams admin center.
|
More Options |
|
Wait for Microsoft account creation (minutes) |
This setting is applied only when this rule is used as a post rule for New user web action. |
Initialization script |
|
Script |
Usually, rules use query criteria to limit the query search scope. It improves the performance of the executed rule. Due to 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: $global:<variable name>.
|
Output Section
This section defines the output format of this rule.
To get more information about this section, please see the 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 Enforce/Schedule section article.
Change History
Version | Notes |
---|---|
9.3.0 |
|
7.0.0 | The rule is introduced in the product. |
Comments
0 comments
Please sign in to leave a comment.