# 2. Configuration

# End User Scopes

An *End User Scope* is a collection of users that allows EndpointOps the assignment of granular permissions by segregating different user pools. It's best practice to match *end user scopes* with the support organization set up of your company. E.g.:

- If a single helpdesk team supports all employees, consider creating a single *End User Scope* targeting an AAD Group with all users.
- If your company supports employees based on the employee's location or division, consider creating a User Scope for each.

### Required Permissions

*End User Scopes* are created and managed by EndpointOps Administrators.

[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-10/scaled-1680-/sjdWS5oywzZSwDQY-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-10/sjdWS5oywzZSwDQY-image.png)

### Types of End User Scopes

EndpointOps supports different types of *End User Scopes* to support a wide range of setups.

[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-10/scaled-1680-/hzGrPa1Ev4OGXUsM-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-10/hzGrPa1Ev4OGXUsM-image.png)

#### Type: User group membership

A simple way to set up *End User Scopes* is relying on an account's membership to an AAD Group, Administrative Unit(AU), or Global Azure Role. When selecting multiple AAD Groups/AUs, the membership of any AAD Group/AU will assign the user to the respective *End User Scope*.

<table border="1" id="bkmrk-type-the-name-of-an-" style="border-collapse: collapse; width: 100%; height: 29.7969px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-10/scaled-1680-/TJLDTBavNHQ107Fy-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-10/TJLDTBavNHQ107Fy-image.png)

</td><td style="height: 29.7969px;">1. Type the name of an AAD Group, Administrative Unit, or Global Azure Role
2. Select an entry from the list
3. Selected objects will appear on the right side. Undo the selection with the **Remove** Button

</td></tr></tbody></table>

#### Type: User/Admin matching attribute

<p class="callout success">This option is recommended to set up **country-, site-, or division-based** *End User Scope.* </p>

Instead of manually creating an AAD Group, a single "User/Admin matching attribute"-*End User Scope* can be created. Such an *End User Scope* with the configuration of "Country" will dynamically assign the *End User Scope* to a user if the Helpdesk supporter's country property matches the end user's country property. Supported properties are Department, Country, State, City, and Postal code.

<p class="callout info">The Azure Active Directory Account properties are used for this assignment:</p>

<table border="1" id="bkmrk-on-endpointops%3A-help" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50.0618%;"></col><col style="width: 50.0618%;"></col></colgroup><tbody><tr><td>[![2023-10-30_14-26-44.png](https://kb.endpointops.com/uploads/images/gallery/2023-10/scaled-1680-/9i1uGSM5vnuJ9M2Z-2023-10-30-14-26-44.png)](https://kb.endpointops.com/uploads/images/gallery/2023-10/9i1uGSM5vnuJ9M2Z-2023-10-30-14-26-44.png)

</td><td>On EndpointOps: Helpdesk&gt; Search for a user &gt; AAD Account Information:

[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-10/scaled-1680-/cFBQfxFKEDCYC62L-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-10/cFBQfxFKEDCYC62L-image.png)

[![2023-10-30_14-35-02.png](https://kb.endpointops.com/uploads/images/gallery/2023-10/scaled-1680-/BFcSw5MLYC0Gd2yu-2023-10-30-14-35-02.png)](https://kb.endpointops.com/uploads/images/gallery/2023-10/BFcSw5MLYC0Gd2yu-2023-10-30-14-35-02.png)

On the Azure Portal:

[![2023-10-30_14-24-39.png](https://kb.endpointops.com/uploads/images/gallery/2023-10/scaled-1680-/NFfcC3jVq0hhJu3u-2023-10-30-14-24-39.png)](https://kb.endpointops.com/uploads/images/gallery/2023-10/NFfcC3jVq0hhJu3u-2023-10-30-14-24-39.png)

</td></tr></tbody></table>

#### Type: Device Attribute

<p class="callout success">This option is recommended to set up to assign an *End User Scope* to user-less devices.</p>

When selecting this type, a Query editor will appear.

<table border="1" id="bkmrk-%C2%A0select-one-of-the-d" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/4bmYqbUNRrZhXOHF-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/4bmYqbUNRrZhXOHF-image.png)

</td><td>1. Select one of the device attributes you want to test against. All Intune-device attributes are available from the *ManagedDevice* object, and all Azure-device attributes from the *AzureDevice* attribute. Review the examples for additional guidance. Note the URL at the end of the list for all available attributes.
2. Select the desired *Comparison Operator* to complete your query. Note that you can make your query case insensitive by adding an *\**  *character after the operator (eg. attribute ==* 'sOmE vAlUe')
3. You can combine multiple verifications with a logical operator
4. Double-check or complete your query.
5. Verify the validity of your query or review the errors that appear.

Once valid, you can proceed with the *Next* button

</td></tr></tbody></table>

#### Type: User Attribute

Special use cases may require you to create a user attribute query. When selecting this type, a Query editor will appear.

<table border="1" id="bkmrk-%C2%A0select-one-of-the-u" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/s1Xd4umc5zoR86Dk-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/s1Xd4umc5zoR86Dk-image.png)

</td><td>1. Select one of the user attributes you want to test against. Review the examples for additional guidance. Note the URL at the end of the list for all available attributes.
2. Select the desired *Comparison Operator* to complete your query. Note that you can make your query case insensitive by adding an *\** *character after the operator (eg. attribute ==* 'sOmE vAlUe')
3. You can combine multiple verifications with a logical operator
4. Double-check or complete your query.
5. Verify the validity of your query or review the errors that appear.

Once valid, you can proceed with the *Next* button

</td></tr></tbody></table>

### End User Scope Properties

The second step of any type of *End User Scope* allows you to set the properties.

<table border="1" id="bkmrk-the-name-of-the%C2%A0end-" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/ywRObRXABoQJMPyT-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/ywRObRXABoQJMPyT-image.png)</td><td>1. The **name** of the *End User Scope* is visible to Helpdesk operators when searching for a user or device. Choose a unique and self explanatory name.
2. Users and devices might be members of multiple *End User Scopes*. If the **Priority** of a user's or device's *End User Scope* is elevated, the user will only be part of the *End User Scopes* with the highest priority. Following this logic you can achieve exclusions for special cases. Imagine an *End User Scope* matching all users with the name "Default" and priority of 0, and second *End User Scope* called "VIP users" for a subset of users with a priority of 1 and higher. If a user is associated with the *End User Scope* "VIP users", they will no longer be member of the "Default" *End User scope* due to the elevated priority of the "VIP users" *End User Scope.* Depending on your use case this will allow you to assign different set of permissions to the admin scopes (this could be more permissions, less permissions, or grant specific access to another Admin scope)
3. **Enabled** *End User Scopes* will be used in Endpoint Ops, whereas **Disabled** *End User Scopes are omitted.*
4. Proceed with the **Next** button to Save your *End User Scope*.

</td></tr></tbody></table>

### Edit or delete End User Scopes

*End User Scopes* can be updated or deleted at any point. Simply use the **Edit** or **Delete** button on the respective *End User Scope.*

[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/jwFdDDTkplj50vIh-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/jwFdDDTkplj50vIh-image.png)

# Admin Scopes

An *Admin Scope* is a collection of administrators and allows granular permission assignment by segregating different user and admin pools. It's best practice to match admin groups with the support organization in your company:

- If your company has a <u>global or unified Support team</u>, consider creating <u>a helpdesk group with non-invasive support permissions</u> and <u>another admin group with higher privileges</u>.
- If your company has support teams <u>based on their location or division</u>, consider creating an <u>Admin Group, each with non-invasive support permissions</u> and <u>another admin group with higher privileges</u>..

### Required Permissions

*Admin Scopes* are created and managed by EndpointOps Administrators.

[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/OIhyuNtcGufiQECR-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/OIhyuNtcGufiQECR-image.png)

### Admin Scope Creation

*Admin Scopes* follow a similar principle to the [End User Scopes](https://kb.endpointops.com/books/2-configuration/page/end-user-scopes "End User Scopes"), but they only support **User group membership** assignments.

<table border="1" id="bkmrk-to-create-a-new%C2%A0admi" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/J8nEQ5VxatUV0Qxn-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/J8nEQ5VxatUV0Qxn-image.png)</td><td>To create a new *Admin Scope:*

1. Click on **Create new Admin Scope**
2. Type the name of an AAD Group, Administrative Unit, or Global Azure Role. The membership of one of the groups is sufficient to become associated with an *Admin Scope.*
3. Select an entry from the list
4. Selected objects will appear on the right side. Undo the selection with the **Remove** Button
5. Use the **Next** button to proceed with the second step.

</td></tr><tr><td>[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/FpFDnjAOWPj6ZWkf-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/FpFDnjAOWPj6ZWkf-image.png)

</td><td>1. The **name** of the *Admin Scope* is visible to Helpdesk operators in the [My Access](https://kb.endpointops.com/books/3-helpdesk-role/page/my-access-page "My Access - Page")
2. **Enabled** *Admin Scopes* will be used in Endpoint Ops, whereas **Disabled** *Admin Scopes are omitted.*
3. Proceed with the **Next** button to Save your *Admin Scope*.

</td></tr></tbody></table>

### Edit or delete Admin Scopes

*Admin Scopes* can be updated or deleted at any point. Simply use the **Edit** or **Delete** button on the respective *Admin Scope.*

[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/K5uPSSGBYeo8Z2pq-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/K5uPSSGBYeo8Z2pq-image.png)

# Role Assignment

Once [End User Scopes](https://kb.endpointops.com/books/2-configuration/page/end-user-scopes "End User Scopes") and [Admin Scopes](https://kb.endpointops.com/books/2-configuration/page/admin-scopes "Admin Scopes") are configured, you can use these entities to assign permissions and allow Admins to perform activities against users.

### Required Permissions

*Role Assignments* are created and managed by EndpointOps Administrators.

[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/AB0j2dTgKtQuo50f-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/AB0j2dTgKtQuo50f-image.png)

### App role assignments

App roles allow Administrators and Helpdesk operators to access areas within EndpointOps. Granting *User &amp; Device Permissions* to Helpdesk operators will not have any effect if they don't have the role to access the Helpdesk area.

<table border="1" id="bkmrk-use-the%C2%A0edit-button-" style="border-collapse: collapse; width: 100%; height: 29.7969px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/Becg7Fx3gjvuHPEm-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/Becg7Fx3gjvuHPEm-image.png)

</td><td style="height: 29.7969px;">1. Use the **Edit** button to switch into the editing view

</td></tr></tbody></table>

<table border="1" id="bkmrk-click-on-the-slider-" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/LSjPty1csIzuoS0m-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/LSjPty1csIzuoS0m-image.png)

</td><td>Click on the slider to assign or un-assign the permission. The vertical axis lists all configured *Admin Sopes*. The horizontal access lists all *App Roles*

1. A red slider means that the permission is un-assigned. ([![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/yv2M1Jgb3fiJahFE-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/yv2M1Jgb3fiJahFE-image.png)or [![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/zTszGDQ3iz5HePV4-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/zTszGDQ3iz5HePV4-image.png))
2. A green slider means that the permission is assigned.  
    ([![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/MYfLTUKXubbzCoK4-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/MYfLTUKXubbzCoK4-image.png) or [![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/9cjGAOBPlDaolZ0D-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/9cjGAOBPlDaolZ0D-image.png))
3. A slider is also considered un-assigned/unset if the slider is centered. ([![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/TLqWpN9OxPYPyeLS-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/TLqWpN9OxPYPyeLS-image.png) or [![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/lVtpNX5VmT6F509A-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/lVtpNX5VmT6F509A-image.png))

Click on **Save Changes** to persist your modifications.

</td></tr></tbody></table>

### User &amp; Device Permissions

*User &amp; Device Permissions* follow the same principle as the App roles but provide additional granularity.

<table border="1" id="bkmrk-switch-to-the%C2%A0user-%26" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/I3uYJaXlXJ6y2vs3-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/I3uYJaXlXJ6y2vs3-image.png)

</td><td>1. Switch to the *User &amp; Device Permissions* tab
2. Select the *Admin Scope* you want to view/edit the permission assignment
3. Use the **Edit** button to switch to the editing view
4. A green slider means that the permission is assigned.  
    ([![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/MYfLTUKXubbzCoK4-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/MYfLTUKXubbzCoK4-image.png) or [![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/9cjGAOBPlDaolZ0D-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/9cjGAOBPlDaolZ0D-image.png))
5. A red slider means that the permission is un-assigned. ([![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/yv2M1Jgb3fiJahFE-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/yv2M1Jgb3fiJahFE-image.png)or [![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/zTszGDQ3iz5HePV4-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/zTszGDQ3iz5HePV4-image.png))
6. A slider is also considered un-assigned/unset if the slider is centered. ([![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/TLqWpN9OxPYPyeLS-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/TLqWpN9OxPYPyeLS-image.png) or [![image.png](https://kb.endpointops.com/uploads/images/gallery/2023-11/scaled-1680-/lVtpNX5VmT6F509A-image.png)](https://kb.endpointops.com/uploads/images/gallery/2023-11/lVtpNX5VmT6F509A-image.png))
7. Device actions have an additional **Custom**-setting that allows for additional granularity. The base setting allows the assignment and un-assignment of the device action for "(any device)". Selecting **Custom** will enable 3 extra rows. There, you can assign/un-assign the permission based on the device's operating system (e.g. Allow retirement for iOS devices but prohibit the retirement of Android devices) for a given *Admin Scope* and *End User Scope.*
8. When using the **Custom** setting in a granular setting (like "MacOS, Any Configuration"), you can assign permissions even more granular based on the device's configuration. The three options are *Supervised, corporate-owned devices*, and *personal-owned devices*.
9. Use the **Save Changes** button to persist your modifications.

</td></tr></tbody></table>