|
2 | 2 | title: Add users to an Azure Data Lake Analytics account
|
3 | 3 | description: Learn how to correctly add users to your Data Lake Analytics account using the Add User Wizard and Azure PowerShell.
|
4 | 4 | ms.service: data-lake-analytics
|
5 |
| -ms.reviewer: jasonh |
| 5 | +ms.reviewer: whhender |
6 | 6 | ms.topic: how-to
|
7 |
| -ms.date: 05/24/2018 |
| 7 | +ms.date: 01/20/2023 |
8 | 8 | ---
|
9 | 9 |
|
10 | 10 | # Adding a user in the Azure portal
|
11 | 11 |
|
12 | 12 | [!INCLUDE [retirement-flag](includes/retirement-flag.md)]
|
13 | 13 |
|
14 | 14 | ## Start the Add User Wizard
|
15 |
| -1. Open your Azure Data Lake Analytics via https://portal.azure.com. |
16 |
| -2. Click **Add User Wizard**. |
17 |
| -3. In the **Select user** step, find the user you want to add. Click **Select**. |
18 |
| -4. the **Select role** step, pick **Data Lake Analytics Developer**. This role has the minimum set of permissions required to submit/monitor/manage U-SQL jobs. Assign to this role if the group is not intended for managing Azure services. |
19 |
| -5. In the **Select catalog permissions** step, select any additional databases that user will need access to. Read and Write Access to the default static database called "master" is required to submit jobs. When you are done, click **OK**. |
20 |
| -6. In the final step called **Assign selected permissions** review the changes the wizard will make. Click **OK**. |
21 | 15 |
|
| 16 | +1. Open your Azure Data Lake Analytics via https://portal.azure.com. |
| 17 | +2. Select **Add User Wizard**. |
| 18 | +3. In the **Select user** step, find the user you want to add. Select **Select**. |
| 19 | +4. the **Select role** step, pick **Data Lake Analytics Developer**. This role has the minimum set of permissions required to submit/monitor/manage U-SQL jobs. Assign to this role if the group isn't intended for managing Azure services. |
| 20 | +5. In the **Select catalog permissions** step, select any other databases that user will need access to. Read and Write Access to the default static database called "master" is required to submit jobs. When you're done, select **OK**. |
| 21 | +6. In the final step called **Assign selected permissions** review the changes the wizard will make. Select **OK**. |
22 | 22 |
|
23 | 23 | ## Configure ACLs for data folders
|
| 24 | + |
24 | 25 | Grant "R-X" or "RWX", as needed, on folders containing input data and output data.
|
25 | 26 |
|
| 27 | +## Optionally, add the user to the Azure Data Lake Storage Gen1 role **Reader** role |
26 | 28 |
|
27 |
| -## Optionally, add the user to the Azure Data Lake Storage Gen1 role **Reader** role. |
28 |
| -1. Find your Azure Data Lake Storage Gen1 account. |
29 |
| -2. Click on **Users**. |
30 |
| -3. Click **Add**. |
31 |
| -4. Select an Azure role to assign this group. |
32 |
| -5. Assign to Reader role. This role has the minimum set of permissions required to browse/manage data stored in ADLSGen1. Assign to this role if the Group is not intended for managing Azure services. |
33 |
| -6. Type in the name of the Group. |
34 |
| -7. Click **OK**. |
| 29 | +1. Find your Azure Data Lake Storage Gen1 account. |
| 30 | +2. Select **Users**. |
| 31 | +3. Select **Add**. |
| 32 | +4. Select an Azure role to assign this group. |
| 33 | +5. Assign to Reader role. This role has the minimum set of permissions required to browse/manage data stored in ADLSGen1. Assign to this role if the Group isn't intended for managing Azure services. |
| 34 | +6. Type in the name of the Group. |
| 35 | +7. Select **OK**. |
35 | 36 |
|
36 | 37 | ## Adding a user using PowerShell
|
37 | 38 |
|
38 | 39 | 1. Follow the instructions in this guide: [How to install and configure Azure PowerShell](/powershell/azure/).
|
39 | 40 | 2. Download the [Add-AdlaJobUser.ps1](https://github.com/Azure/AzureDataLake/blob/master/Samples/PowerShell/ADLAUsers/Add-AdlaJobUser.ps1) PowerShell script.
|
40 |
| -3. Run the PowerShell script. |
| 41 | +3. Run the PowerShell script. |
41 | 42 |
|
42 | 43 | The sample command to give user access to submit jobs, view new job metadata, and view old metadata is:
|
43 | 44 |
|
44 | 45 | `Add-AdlaJobUser.ps1 -Account myadlsaccount -EntityToAdd 546e153e-0ecf-417b-ab7f-aa01ce4a7bff -EntityType User -FullReplication`
|
45 | 46 |
|
46 |
| - |
47 | 47 | ## Next steps
|
48 | 48 |
|
49 | 49 | * [Overview of Azure Data Lake Analytics](data-lake-analytics-overview.md)
|
|
0 commit comments