--- title: "Automatically Assigning Plans" slug: "automatically-assigning-plans-6" tags: ["8.2", "Portal"] updated: 2024-12-30T12:42:59Z published: 2024-12-30T12:42:59Z canonical: "kb.ctera.com/automatically-assigning-plans-6" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.ctera.com/llms.txt > Use this file to discover all available pages before exploring further. # Automatically Assigning Plans Automatic plan assignment allows you to define a policy that determines which subscription plans will be assigned to which users. You can automatically assign subscription plans based on the following user attributes: - Username - User Groups - Role - First Name - Last Name - Company - Billing ID - Comment The policy rules are processed in ascending order. The first rule that matches applies. You can change the rules’ order by using the Move Down/Move Up buttons. You can also choose to apply a default plan in the event that no rule applies. If the portal is integrated with a Directory Service, such as Active Directory you can define a policy even before users have joined the service, so that when users join, they are automatically assigned the appropriate plan to get the correct quota and licenses. **Note** In order that new users in an Active Directory group are automatically assigned to a plan, the Active Directory group must have been fetched or already in the Active Directory groups under the portal. For details about using directory services, see [Using Directory Services For the Users](/v1/docs/using-directory-services-for-user-management-3). **To configure automatic plan assignment:** 1. Select **Provisioning > Plans** in the navigation pane. The **Plans** page is displayed. ![image.png](https://cdn.document360.io/30792387-cdcb-4791-aa14-94929bbcd3fe/Images/Documentation/image-38RKCIEJ.png?sv=2026-02-06&spr=https&st=2026-11-23T03%3A13%3A40Z&se=2026-11-23T04%3A13%3A40Z&sr=b&sp=r&sig=%2F7OQiqhdNHLeThyP8jj4DL01QbHVko%2F5gIkqKaUZTYo%3D) 2. Click **Auto Assign**. The **Automatic Plan Assignment** window is displayed. ![image.png](https://cdn.document360.io/30792387-cdcb-4791-aa14-94929bbcd3fe/Images/Documentation/image-16PY1G4O.png?sv=2026-02-06&spr=https&st=2026-11-23T03%3A13%3A40Z&se=2026-11-23T04%3A13%3A40Z&sr=b&sp=r&sig=GegJ7CE13Gpl%2F9hJBwMBTJFqtHPsQ6Pb6bwoUPy8Nbc%3D) 3. Click **Add condition** to define a condition. 1. In the **If** column select a user attribute. 2. Select an operator, such as *is one of*. 3. Enter a value to apply on the operator. When adding a condition for *User Groups*, the only operator is *includes one of*. You have to put the exact name of the group to apply the plan and not part of the name, even if that part is unique. 4. In the **Then apply** column select a plan to apply if a user satisfies the condition. 5. Order the conditions by selecting a condition and using the **Move Down** and **Move Up** options to move the condition to the required place in the list. The order of the conditions is critical to applying the correct plan. For example, if a user is a member of two different groups in the auto plan assignment, whichever condition applies to the group the user is in first in the list of conditions is the plan that user gets. Therefore, order the list of conditions with the least restrictive conditions at the top of the list. 4. To delete a condition, click ![image.png](https://cdn.document360.io/30792387-cdcb-4791-aa14-94929bbcd3fe/Images/Documentation/image-1GTP29EM.png?sv=2026-02-06&spr=https&st=2026-11-23T03%3A13%3A40Z&se=2026-11-23T04%3A13%3A40Z&sr=b&sp=r&sig=HwotuWyMhhFQOFqAFkaE6C8wJcUIh63W984B4KMQh8Q%3D) in the row for the condition to delete. 5. Click **Save**.