Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions Content/Data Lake/Azure Data Lake HOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ In this hands-on lab, you will learn how to:
The following are required to complete this hands-on lab:

- An active Microsoft Azure subscription. If you don't have one, [sign up for a free trial](http://aka.ms/WATK-FreeTrial).
- [Azure Command-Line Interface (CLI)](https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/)
- [Azure Command-Line Interface (CLI)](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)

---

Expand Down Expand Up @@ -337,24 +337,21 @@ Let's get started!
1. If you haven't installed the [Azure CLI](https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/), take a moment to install it now. Then open a command shell (Bash, Terminal, Command Prompt, etc.) and execute the following command:

```
azure login
az login
```

1. Copy the access code presented to you in the command shell to the clipboard. Then open a browser window and navigate to https://aka.ms/devicelogin and enter the code. If prompted to sign in, do so using your Microsoft account. Upon successful authentication, your command-line session will be connected to your Azure subscription.

1. Assuming you are using the Azure Pass subscription provided to you for these labs, execute the following command to ensure that Azure Pass is the active subscription (the subscription that will be charged against) for operations performed with the CLI:

```
azure account set "Azure Pass"
az account set --subscription "Azure Pass"
```

1. Now execute the following commands to create a Data Lake catalog credential used to authenticate when executing federated queries. Substitute your Data Lake Analytics account name for *analytics_account_name* and your database server name (the one specified in Step 11 of this exercise) for *database_server_name*:
1. Now execute the following commands to create a Data Lake catalog credential used to authenticate when executing federated queries. Substitute your Data Lake Analytics account name for *analytics_account_name*, your database server name (the one specified in Step 11 of this exercise) for *database_server_name* and *dbPassword* for the SQL server password ("Azure4Research!") you specified in Step 11:

<pre>
azure config mode arm
azure datalake analytics catalog credential create <i>analytics_account_name</i> UserIntegration tcp://<i>database_server_name</i>.database.windows.net FederatedCredential azureuser</pre>

When prompted for a password, enter the SQL server password ("Azure4Research!") you specified in Step 11.
az dla catalog credential create --account <i>analytics_account_name</i> --database-name UserIntegration --user-name azureuser --uri tcp://<i>database_server_name</i>.database.windows.net --credential-name FederatedCredential --password <i>dbPassword</i>

1. Return to your Data Lake Analytics account in the Azure Portal. Then click **+ New Job** and execute the following query:

Expand Down Expand Up @@ -455,4 +452,4 @@ Azure Data Lake does not itself provide tools for visualizing query results, but

---

Copyright 2017 Microsoft Corporation. All rights reserved. Except where otherwise noted, these materials are licensed under the terms of the Apache License, Version 2.0. You may use it according to the license as is most appropriate for your project on a case-by-case basis. The terms of this license can be found in http://www.apache.org/licenses/LICENSE-2.0.
Copyright 2017 Microsoft Corporation. All rights reserved. Except where otherwise noted, these materials are licensed under the terms of the Apache License, Version 2.0. You may use it according to the license as is most appropriate for your project on a case-by-case basis. The terms of this license can be found in http://www.apache.org/licenses/LICENSE-2.0.