Skip to content

Commit 0582c4f

Browse files
committed
Added howto manage users and roles
1 parent 77a8317 commit 0582c4f

File tree

5 files changed

+72
-0
lines changed

5 files changed

+72
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Manage roles in Azure Load Testing
3+
description: Learn how to access to an Azure Load Testing resource using Azure role-based access control (Azure RBAC).
4+
author: ntrogh
5+
ms.author: nicktrog
6+
services: load-testing
7+
ms.service: load-testing
8+
ms.topic: how-to
9+
ms.date: 03/15/2022
10+
ms.custom: template-how-to
11+
---
12+
13+
# Manage access to Azure Load Testing
14+
15+
In this article, you learn how to manage access (authorization) to an Azure Load Testing resource. [Azure role-based access control (Azure RBAC)](../role-based-access-control/overview.md) is used to manage access to Azure resources, such as the ability to create new resources or use existing ones. Users in your Azure Active Directory (Azure AD) are assigned specific roles, which grant access to resources.
16+
17+
> [!IMPORTANT]
18+
> Azure Load Testing is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
19+
20+
## Prerequisites
21+
22+
To assign Azure roles, you must have:
23+
24+
* `Microsoft.Authorization/roleAssignments/write` permissions, such as [User Access Administrator](../role-based-access-control/built-in-roles#user-access-administrator) or [Owner](../role-based-access-control/built-in-roles#owner).
25+
26+
## Default roles
27+
28+
Azure Load Testing resources have three built-in roles that are available by default. When you add users to a resource, you can assign one of the built-in roles to grant permissions:
29+
30+
| Role | Access level |
31+
| --- | --- |
32+
| **Load Test Reader** | Read-only actions in the Load Testing resource. Readers can list and view tests and test runs in the resource. Readers can't create, update, or run tests. |
33+
| **Load Test Contributor** | View, create, edit, or delete (where applicable) tests and test runs in a Load Testing resource. |
34+
| **Load Test Owner** | Full access to the Load Testing resource, including the ability to view, create, edit, or delete (where applicable) assets in a resource. For example, you can modify or delete the Load Testing resource. |
35+
36+
If you have the **Owner**, **Contributor**, or **Load Test Owner** role at the subscription level, you automatically have the same permissions as the **Load Test Owner** at the resource level.
37+
38+
> [!IMPORTANT]
39+
> Role access can be scoped to multiple levels in Azure. For example, someone with owner access to a resource may not have owner access to the resource group that contains the resource. For more information, see [How Azure RBAC works](../role-based-access-control/overview.md#how-azure-rbac-works).
40+
41+
## Manage resource access
42+
43+
You can manage access to the Azure Load Testing resource by using the Azure portal:
44+
45+
1. In the [Azure portal](https://portal.azure.com), go to your Azure Load Testing resource.
46+
47+
1. On the left pane, select **Access Control (IAM)**, and then select **Add role assignment**.
48+
49+
:::image type="content" source="media/how-to-assign-roles/load-test-access-control.png" alt-text="Screenshot that shows how to configure access control.":::
50+
51+
1. Assign one of the Azure Load Testing [built-in roles](#default-roles). For details about how to assign roles, see [Assign Azure roles using the Azure portal](../role-based-access-control/role-assignments-portal.md).
52+
53+
The role assignments might take a few minutes to become active for your account. Refresh the webpage for the user interface to reflect the updated permissions.
54+
55+
:::image type="content" source="media/how-to-assign-roles/add-role-assignment.png" alt-text="Screenshot that shows the role assignment screen.":::
56+
57+
Alternatively, you can manage access without using the Azure portal:
58+
59+
- [PowerShell](../role-based-access-control/role-assignments-powershell.md)
60+
- [Azure CLI](../role-based-access-control/role-assignments-cli.md)
61+
- [REST API](../role-based-access-control/role-assignments-rest.md)
62+
- [Azure Resource Manager templates](../role-based-access-control/role-assignments-template.md)
63+
64+
## Next steps
65+
66+
* Learn more about [Using managed identities](./how-to-use-a-managed-identity.md).
67+
* Learn more about [Identifying performance bottlenecks (tutorial)](./tutorial-identify-bottlenecks-azure-portal.md).

articles/load-testing/index.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ conceptualContent:
6161
- url: how-to-use-a-managed-identity.md
6262
itemType: how-to-guide
6363
text: Use a managed identity
64+
- url: how-to-assign-roles.md
65+
itemType: how-to-guide
66+
text: Manage users and roles
6467

6568
# Card
6669
- title: Analyze test results
187 KB
Loading
58.4 KB
Loading

articles/load-testing/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
href: how-to-appservice-insights.md
4545
- name: Export test results
4646
href: how-to-export-test-results.md
47+
- name: Manage users and roles
48+
href: how-to-assign-roles.md
4749
- name: Use a managed identity
4850
href: how-to-use-a-managed-identity.md
4951
- name: Reference

0 commit comments

Comments
 (0)