Skip to content

Commit 003abac

Browse files
Merge pull request #265739 from ntrogh/alt-manage-roles
[Azure Load Testing] Add clarification about creating resources
2 parents 0ab0ab2 + 9fd9a2d commit 003abac

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

articles/load-testing/how-to-assign-roles.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Manage roles in Azure Load Testing
3+
titleSuffix: Azure Load Testing
34
description: Learn how to manage access to an Azure load testing resource using Azure role-based access control (Azure RBAC).
45
author: ntrogh
56
ms.author: nicktrog
@@ -8,6 +9,7 @@ ms.service: load-testing
89
ms.topic: how-to
910
ms.date: 11/24/2023
1011
ms.custom: template-how-to
12+
# CustomerIntent: As an administrator, I want understand the roles and permissions for Azure Load Testing, so that I can ensure users have the access they need to interact with the service.
1113
---
1214

1315
# Manage access to Azure Load Testing
@@ -16,10 +18,14 @@ In this article, you learn how to manage access (authorization) to an Azure load
1618

1719
## Prerequisites
1820

19-
To assign Azure roles, you must have:
21+
To assign Azure roles, your Azure account must have:
2022

2123
* `Microsoft.Authorization/roleAssignments/write` permissions, such as [User Access Administrator](../role-based-access-control/built-in-roles.md#user-access-administrator) or [Owner](../role-based-access-control/built-in-roles.md#owner).
2224

25+
To create a new load testing resource, your Azure account must have:
26+
27+
- Permission to create resources in the resource group for the load testing resource, such as the [Contributor](../role-based-access-control/built-in-roles.md#contributor) or [Owner](../role-based-access-control/built-in-roles.md#owner) role.
28+
2329
## Roles in Azure Load Testing
2430

2531
In Azure Load Testing, access is granted by assigning the appropriate Azure role to users, groups, and applications at the load testing resource scope. Following are the built-in roles supported by a load testing resource:
@@ -32,12 +38,8 @@ In Azure Load Testing, access is granted by assigning the appropriate Azure role
3238

3339
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.
3440

35-
You encounter this message if your account doesn't have the necessary permissions to manage tests.
36-
37-
:::image type="content" source="media/how-to-assign-roles/azure-load-testing-not-authorized.png" lightbox="media/how-to-assign-roles/azure-load-testing-not-authorized.png" alt-text="Screenshot that shows an error message in the Azure portal that you're not authorized to use the Azure Load Testing resource.":::
38-
3941
> [!IMPORTANT]
40-
> 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).
42+
> Role access can be scoped to multiple levels in Azure. For example, someone with owner access to a resource might 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).
4143
4244
## Role permissions
4345

@@ -163,6 +165,16 @@ You can also configure role-based access to a load testing resource using the fo
163165
Remove-AzRoleAssignment -SignInName <sign-in Id of a user you wish to remove> -RoleDefinitionName 'Load Test Reader' -Scope '/subscriptions/<SubscriptionID>/resourcegroups/<Resource Group Name>/Providers/Microsoft.LoadTestService/loadtests/<Load Testing resource name>'
164166
```
165167
168+
## Troubleshooting
169+
170+
This section lists steps to troubleshoot common problems with user access in Azure Load Testing.
171+
172+
### Unable to create or run a test with `You are not authorized to use this resource`
173+
174+
You encounter this message if your Azure account doesn't have the necessary permissions to manage tests. Make sure to grant the user the [Load Test Owner](#load-test-owner) or [Load Test Contributor](#load-test-contributor) role on the load testing resource.
175+
176+
:::image type="content" source="media/how-to-assign-roles/azure-load-testing-not-authorized.png" lightbox="media/how-to-assign-roles/azure-load-testing-not-authorized.png" alt-text="Screenshot that shows an error message in the Azure portal that you're not authorized to use the Azure Load Testing resource.":::
177+
166178
## Related content
167179
168180
* Learn more about [Using managed identities](./how-to-use-a-managed-identity.md).

0 commit comments

Comments
 (0)