{"id":2861,"date":"2019-10-16T06:32:16","date_gmt":"2019-10-16T06:32:16","guid":{"rendered":"https:\/\/davidpapkin.net\/?p=2861"},"modified":"2019-10-16T06:32:16","modified_gmt":"2019-10-16T06:32:16","slug":"create-azure-data-factory-from-cloudshell-by-david-papkin","status":"publish","type":"post","link":"https:\/\/davidpapkin.com\/?p=2861","title":{"rendered":"Create Azure Data Factory from Cloudshell by David Papkin"},"content":{"rendered":"<p>This David Papkin post explains how to create Azure Data Factory from the Azure Cloudshell<\/p>\n<div id=\"attachment_553\" style=\"width: 157px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/davidpapkin.net\/david-mark-papkin-nh\/\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-553\" class=\"wp-image-553 size-medium\" src=\"https:\/\/davidpapkin.net\/wp-content\/uploads\/2015\/07\/David-Mark-Papkin-NH--147x300.jpg\" alt=\"\" width=\"147\" height=\"300\" srcset=\"\/wp-content\/uploads\/2015\/07\/David-Mark-Papkin-NH--147x300.jpg 147w, \/wp-content\/uploads\/2015\/07\/David-Mark-Papkin-NH--503x1024.jpg 503w, \/wp-content\/uploads\/2015\/07\/David-Mark-Papkin-NH-.jpg 513w\" sizes=\"auto, (max-width: 147px) 100vw, 147px\" \/><\/a><p id=\"caption-attachment-553\" class=\"wp-caption-text\">David Papkin<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Open the Azure Cloudshell (can be found at the Azure Portal top title bar in the middle)<\/p>\n<p><a href=\"https:\/\/davidpapkin.net\/create-azure-data-factory-from-cloudshell-by-david-papkin\/cloudshella\/\" rel=\"attachment wp-att-2867\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-2867\" src=\"\/wp-content\/uploads\/2019\/10\/Cloudshella-1.jpg\" alt=\"Azure Cloudshell David Papkin\" width=\"278\" height=\"67\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>PS Azure:\\&gt;Get-AzResourceGroup<\/p>\n<p><strong>Note: Replace xxx with your initials<\/strong><\/p>\n<p>ResourceGroupName : awrgstudxxx<br \/>\nLocation : southeastasia<\/p>\n<p>PS Azure:\\&gt; $resourceGroupName = &#8220;awrgstudxxx&#8221;<br \/>\nPS Azure:\\&gt; $dataFactoryName = &#8220;xxx-data-factory&#8221;<br \/>\nPS Azure:\\&gt; Get-AzResourceGroup<br \/>\nAzure:\/<br \/>\nPS Azure:\\&gt; $ResGrp = GET-AzResourceGroup $resourceGroupName -location &#8216;SOUTHEAST ASIA&#8217;<br \/>\nAzure:\/<br \/>\nPS Azure:\\&gt; echo $RESGRP \/\/ this will show the contents of this variable to make sure not NULL<\/p>\n<p>ResourceGroupName : awrgstudxxx<br \/>\nLocation : southeastasia<br \/>\nProvisioningState : Succeeded<\/p>\n<p>Azure:\/<br \/>\nPS Azure:\\&gt; $DataFactory = Set-AzDataFactoryV2 -ResourceGroupName $ResGrp.ResourceGroupName `<br \/>\n&gt;&gt; -Location $ResGrp.Location -Name $dataFactoryName<\/p>\n<p>PS Azure:\\&gt; echo $datafactory \/\/ this will show the contents of this variable to make sure not NULL<\/p>\n<p>DataFactoryName : xxx-data-factory<br \/>\nDataFactoryId : \/subscriptions\/xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxx\/resourceGroups\/awrgstuddp\/providers\/Microsoft.DataFactory\/factories\/dmp-data-factory<br \/>\nResourceGroupName : awrgstudxxx<br \/>\nLocation : southeastasia<br \/>\nTags : {}<br \/>\nIdentity : Microsoft.Azure.Management.DataFactory.Models.FactoryIdentity<br \/>\nProvisioningState : Succeeded<\/p>\n<p><a href=\"https:\/\/github.com\/MicrosoftDocs\/azure-docs\/blob\/master\/articles\/data-factory\/quickstart-create-data-factory-powershell.md\">Github Quickstart: Create an Azure data factory using PowerShell<\/a><\/p>\n<p>End of David Papkin post How to create <a href=\"https:\/\/davidpapkin.net\/david-papkin-links\/david-papkin-microsoft-azure\/microsoft-dp-200-links-by-david-papkin\/\">Azure Data Factory<\/a> from the Azure Cloudshell<\/p>\n<p><a href=\"http:\/\/davidpapkin.org\/\">http:\/\/davidpapkin.org\/<\/a><\/p>\n<p><strong>David Papkin favorite movies<\/strong><\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Goodfellas\">Robert Deniro in Goodfellas<\/a><\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Singapore_(1947_film)\">Ava Gardner in Singapore (Flim Noir)<\/a><\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/China_Seas_(film)\">Clarke Gable in China Seas<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This David Papkin post explains how to create Azure Data Factory from the Azure Cloudshell &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Open the Azure Cloudshell (can be found at the Azure Portal top title bar&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,25,27,4,8],"tags":[48,65,70,108],"class_list":["post-2861","post","type-post","status-publish","format-standard","hentry","category-azure","category-big-data","category-data-science","category-david-papkin","category-microsoft","tag-azure","tag-datafactory","tag-davidpapkin","tag-microsoft"],"_links":{"self":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts\/2861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2861"}],"version-history":[{"count":0,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts\/2861\/revisions"}],"wp:attachment":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}