Skip to content

Commit 7f9e853

Browse files
authored
Merge pull request #49813 from douglaslMS/adf-roles3
Fixed prereqs section by referencing Include used by all Quickstarts.
2 parents 846b810 + d8a353c commit 7f9e853

File tree

1 file changed

+2
-62
lines changed

1 file changed

+2
-62
lines changed

articles/data-factory/quickstart-create-data-factory-dot-net.md

Lines changed: 2 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -29,75 +29,15 @@ This quickstart describes how to use .NET SDK to create an Azure data factory. T
2929
3030
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
3131

32-
## Prerequisites
33-
34-
### Azure subscription
35-
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
36-
37-
### Azure roles
38-
To create Data Factory instances, the user account you use to log in to Azure must be a member of **contributor** or **owner** roles, or an **administrator** of the Azure subscription. In the Azure portal, click your **user name** at the top-right corner, and select **Permissions** to view the permissions you have in the subscription. If you have access to multiple subscriptions, select the appropriate subscription. For sample instructions on adding a user to a role, see the [Add roles](../billing/billing-add-change-azure-subscription-administrator.md) article.
39-
40-
### Azure Storage Account
41-
You use a general-purpose Azure Storage Account (specifically Blob Storage) as both **source** and **destination** data stores in this quickstart. If you don't have a general-purpose Azure storage account, see [Create a storage account](../storage/common/storage-quickstart-create-account.md) on creating one.
42-
43-
#### Get storage account name and account key
44-
You use the name and key of your Azure storage account in this quickstart. The following procedure provides steps to get the name and key of your storage account.
45-
46-
1. Launch a Web browser and navigate to [Azure portal](https://portal.azure.com). Log in using your Azure user name and password.
47-
2. Click **More services >** in the left menu, and filter with **Storage** keyword, and select **Storage accounts**.
48-
49-
![Search for storage account](media/quickstart-create-data-factory-dot-net/search-storage-account.png)
50-
3. In the list of storage accounts, filter for your storage account (if needed), and then select **your storage account**.
51-
4. In the **Storage account** page, select **Access keys** on the menu.
52-
53-
![Get storage account name and key](media/quickstart-create-data-factory-dot-net/storage-account-name-key.png)
54-
5. Copy the values for **Storage account name** and **key1** fields to the clipboard. Paste them into a notepad or any other editor and save it.
55-
56-
#### Create input folder and files
57-
In this section, you create a blob container named **adftutorial** in your Azure blob storage. Then, you create a folder named **input** in the container, and then upload a sample file to the input folder.
58-
59-
1. In the **Storage account** page, switch to the **Overview**, and then click **Blobs**.
60-
61-
![Select Blobs option](media/quickstart-create-data-factory-dot-net/select-blobs.png)
62-
2. In the **Blob service** page, click **+ Container** on the toolbar.
63-
64-
![Add container button](media/quickstart-create-data-factory-dot-net/add-container-button.png)
65-
3. In the **New container** dialog, enter **adftutorial** for the name, and click **OK**.
66-
67-
![Enter container name](media/quickstart-create-data-factory-dot-net/new-container-dialog.png)
68-
4. Click **adftutorial** in the list of containers.
69-
70-
![Select the container](media/quickstart-create-data-factory-dot-net/select-adftutorial-container.png)
71-
1. In the **Container** page, click **Upload** on the toolbar.
72-
73-
![Upload button](media/quickstart-create-data-factory-dot-net/upload-toolbar-button.png)
74-
6. In the **Upload blob** page, click **Advanced**.
75-
76-
![Click Advanced link](media/quickstart-create-data-factory-dot-net/upload-blob-advanced.png)
77-
7. Launch **Notepad** and create a file named **emp.txt** with the following content: Save it in the **c:\ADFv2QuickStartPSH** folder: Create the folder **ADFv2QuickStartPSH** if it does not already exist.
78-
79-
```
80-
John, Doe
81-
Jane, Doe
82-
```
83-
8. In the Azure portal, in the **Upload blob** page, browse, and select the **emp.txt** file for the **Files** field.
84-
9. Enter **input** as a value **Upload to folder** filed.
85-
86-
![Upload blob settings](media/quickstart-create-data-factory-dot-net/upload-blob-settings.png)
87-
10. Confirm that the folder is **input** and file is **emp.txt**, and click **Upload**.
88-
11. You should see the **emp.txt** file and the status of the upload in the list.
89-
12. Close the **Upload blob** page by clicking **X** in the corner.
90-
91-
![Close upload blob page](media/quickstart-create-data-factory-dot-net/close-upload-blob.png)
92-
1. Keep the **container** page open. You use it to verify the output at the end of this quickstart.
32+
[!INCLUDE [data-factory-quickstart-prerequisites](../../includes/data-factory-quickstart-prerequisites.md)]
9333

9434
### Visual Studio
9535
The walkthrough in this article uses Visual Studio 2017. You can also use Visual Studio 2013 or 2015.
9636

9737
### Azure .NET SDK
9838
Download and install [Azure .NET SDK](http://azure.microsoft.com/downloads/) on your machine.
9939

100-
### Create an application in Azure Active Directory
40+
## Create an application in Azure Active Directory
10141
Following instructions from the sections in [this article](../azure-resource-manager/resource-group-create-service-principal-portal.md#create-an-azure-active-directory-application) to do the following tasks:
10242

10343
1. **Create an Azure Active Directory application**. Create an application in Azure Active Directory that represents the .NET application you are creating in this tutorial. For the sign-on URL, you can provide a dummy URL as shown in the article (`https://contoso.org/exampleapp`).

0 commit comments

Comments
 (0)