New User | Office 365 User Enforce License
Rule description
This rule automatically assigns Microsoft 365 licenses to new Microsoft 365 accounts when a user is created in Active Directory, cloned, or has a mailbox enabled.
An instance of this rule is automatically created during installation under RULES > WebAdmin Rules (Pre-configured). It is linked as a post-action rule in the Rules to run after section of the New User | Create Office 365 User rule.
When to use this rule
You typically do not need to manually create an instance of this rule, as it is automatically generated during installation and linked to the New User | Create Office 365 User rule. This ensures that Microsoft 365 licenses are assigned automatically to every new Microsoft 365 user created by the rule. For more details, refer to the New User | Create Office 365 User article.
To enable automatic license assignment, configure this rule for the following web actions:
New User (AD)
Clone User
Enable Mailbox
Additionally, set the Hybrid License Options setting on these Web actions to use automated license rule.
When configured this way, Microsoft 365 licenses selected in this rule will be automatically assigned to the new user account, and the license selection step will not be displayed in the Web Portal.
Rule settings
Query section
| Setting name | Description |
|---|---|
|
Filter
|
Set the filtering conditions to hide unwanted data based on criteria not supported in the Query criteria setting. Example: filter by the found object Distinguished Name. TIP: For optimal performance, use the Query criteria setting above to filter objects whenever possible. |
| More options | |
|
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
|
| Sort by | Sort result objects list. |
Action section
| Setting name | Description |
|---|---|
|
License options
|
Select which Microsoft 365 license plans and options to assign or revoke to Microsoft 365 user accounts. TIP: It is also possible to click Ignore to completely exclude the plan from the rule. In this case, this plan and its options won't be taken into consideration at all. If users already have assigned options from this plan, these options will keep. If users don't have options from this plan, these options won't be assigned. |
|
License update order
|
Select a method to assign selected license plans and options:
NOTE: In most cases Revoke Previous then Assign New option should be used. Please contact Cayosoft support before changing the default value. |
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.