Getting Started with Azure Purview using Purview Starter Kit, CLI and PowerShell !

%3CLINGO-SUB%20id%3D%22lingo-sub-2645574%22%20slang%3D%22en-US%22%3EGetting%20Started%20with%20Azure%20Purview%20using%20Purview%20Starter%20Kit%2C%20CLI%20and%20PowerShell%20!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2645574%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Purview%20folks%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGood%20day%20!%20Today%20I'm%20going%20to%20talk%20about%20%3CEM%3Egetting%20started%20and%20being%20up%20and%20running%20with%20a%20fresh%20new%20(clean%20install)%20Azure%20Purview%20deployment%20in%20a%20matter%20of%20minutes%3C%2FEM%3E.%20While%20most%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fpurview%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Purview%20Documentation%3C%2FA%3E%20articles%20talk%20about%20all%20the%20steps%20in%20detail%2C%20most%20of%20them%20reference%20steps%20you%20need%20to%20perform%20on%20the%20Azure%20portal%2C%20or%20a%20mix%20or%20Portal%20and%20Azure%20CLI%20and%20PowerShell%3B%20I'll%20talk%20about%20getting%20started%20real%20quick%20through%20automated%20methods%20using%20PowerShell%20and%20python%20scripts!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3E%3CSTRONG%3EMaterials%2FArtefacts%3C%2FSTRONG%3E%20%3C%2FU%3EUsed%3A%3C%2FP%3E%0A%3CP%3E1)%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fgxcuf89792%2Fattachments%2Fgxcuf89792%2FAzurePurview%2F199%2F1%2FPurviewStarterKitV5.zip%22%20target%3D%22_self%22%3EPurview%20Starter%20Kit%20V5%3C%2FA%3E%20(attached)%20(instructions%20below)%3C%2FP%3E%0A%3CP%3E2)%20Purview%20Demo%20(Automated%20ARM%20Templates%20on%20Azure)%20%3A%20%3CA%20tabindex%3D%22-1%22%20title%3D%22https%3A%2F%2Faka.ms%2Fpvdemo%22%20href%3D%22https%3A%2F%2Faka.ms%2Fpvdemo%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%20aria-label%3D%22Link%20https%3A%2F%2Faka.ms%2Fpvdemo%22%3Ehttps%3A%2F%2Faka.ms%2Fpvdemo%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E3)%20Purview%20CLI%20%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftayganr%2Fpurviewcli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Ftayganr%2Fpurviewcli%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4)%20%5B%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvRcskeNshfw%26amp%3Bab_channel%3DArindamBandyopadhyay%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EWatch%20Video%3C%2FA%3E%5D%20Steps%20To%20Register%20Azure%20Datasources%20After%20executing%20the%20attached%20Purview%20Starter%20Kit%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CU%3E%3CSTRONG%3EMethod%201%20(Purview%20Starter%20Kit)%3A%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3EFor%20folks%20just%20starting%20out%20with%20Purview%2C%20there%20is%20a%20modified%20version%20of%20the%20Purview%20Starter%20Kit%26nbsp%3B%26nbsp%3Bdescribed%20on%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fpurview%2Ftutorial-scan-data%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20page%3C%2FA%3E.%20The%20change%20is%20that%20you%20just%20need%20your%20subscription%20ID%20and%20tenant%20ID%20and%20every%20Purview%20resource%20required%20will%20be%20generated%20and%20set%20up%20through%20this%20script%20automatically.%20Just%20remember%20to%20use%20only%20small%20case%20letters%20(less%20than%2024%20characters)%20in%20the%20parameters%20to%20run%20the%20script.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20example%3A%20Following%20is%20a%20valid%20command%20to%20execute%20the%20attached%20script.%20Extract%20the%20attached%20(PurviewStarterKitV5%20to%20a%20folder%20of%20your%20choice%2C%20then%20open%20PowerShell%20as%20administrator%2C%20and%20navigate%20to%20the%20folder%20where%26nbsp%3BPurviewStarterKitV5%20was%20extracted.%20Change%20the%20parameters%20(CatalogName%20%2C%20TenantID%2C%20SubscriptionId%20%2C%20ResourceGroup%20%2C%20CatalogResourceGroup%20%2C%20Location)%20below%20as%20per%20your%20choice.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E.%5CRunStarterKitFullAuto.ps1%20%60%0A-CatalogName%20ARIBANPURVIEW20210812%20%60%0A-TenantId%2067215357-86f1-41af-91ab-ABCDACDADC%20%60%0A-SubscriptionId%20873671623-848d-40fe-b817-542347623571%20%60%0A-ResourceGroup%20ariban20210812%20%60%0A-CatalogResourceGroup%20managed-rg-aribanpurview20210812%20%60%0A-Location%20%22Central%20India%22%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESample%20output%20showing%20successful%20execution%20of%20the%20script%20is%20attached%20in%20the%20.docx%20file%20with%20this%20post.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FvRcskeNshfw%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DvRcskeNshfw%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FvRcskeNshfw%252Fhqdefault.jpg%26amp%3Bkey%3Dfad07bfa4bd747d3bdea27e17b533c0e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22600%22%20height%3D%22338%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CU%3E%3CSTRONG%3EMethod%202%20(Purview%20Demo%20Template%20Automatic%20Deployment)%3A%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EA%20very%20simple%20and%20one-click%20method%20for%20setting%20up%20Purview%20is%20to%20execute%20this%26nbsp%3BPurview%20Demo%20(Automated%20ARM%20Templates%20on%20Azure)%20%3A%20%3CA%20tabindex%3D%22-1%22%20title%3D%22https%3A%2F%2Faka.ms%2Fpvdemo%22%20href%3D%22https%3A%2F%2Faka.ms%2Fpvdemo%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%20aria-label%3D%22Link%20https%3A%2F%2Faka.ms%2Fpvdemo%22%3Ehttps%3A%2F%2Faka.ms%2Fpvdemo%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EClick%20%22Deploy%20to%20Azure%22%20Button%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22arindamban_0-1628860181618.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303066iCB42FB3E220FE518%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22arindamban_0-1628860181618.png%22%20alt%3D%22arindamban_0-1628860181618.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThen%20fill%20in%20some%20important%20a(self-explanatory)%20parameters%20on%20your%20Azure%20Portal%2C%20and%20the%20entire%20Purview%20deployment%20with%20some%20sample%20data%20sources%20are%20set%20up%20in%20one-shot%20!%3C%2FP%3E%0A%3CP%3EThe%20following%20cases%20are%20demonstrated%20%3A%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--381968883%22%20id%3D%22toc-hId--381968825%22%20id%3D%22toc-hId--381968825%22%20id%3D%22toc-hId--381968825%22%20id%3D%22toc-hId--381968825%22%20id%3D%22toc-hId--381968825%22%3EPurview%20Demo%20Highlights%3C%2FH2%3E%0A%3COL%3E%0A%3CLI%3EGet%20Access%20Token%3C%2FLI%3E%0A%3CLI%3EAzure%20Purview%3A%20Create%20Azure%20Key%20Vault%20Connection%3C%2FLI%3E%0A%3CLI%3EAzure%20Purview%3A%20Create%20Credential%3C%2FLI%3E%0A%3CLI%3EAzure%20Purview%3A%20Create%20Collection%3C%2FLI%3E%0A%3CLI%3EAzure%20SQL%20Database%3A%20Register%20Source%3C%2FLI%3E%0A%3CLI%3EAzure%20SQL%20Database%3A%20Create%20Scan%3C%2FLI%3E%0A%3CLI%3EAzure%20SQL%20Database%3A%20Run%20Scan%3C%2FLI%3E%0A%3CLI%3EAzure%20Data%20Lake%20Storage%20Gen2%3A%20Load%20Sample%20Data%3C%2FLI%3E%0A%3CLI%3EAzure%20Data%20Lake%20Storage%20Gen2%3A%20Register%20Source%3C%2FLI%3E%0A%3CLI%3EAzure%20Data%20Lake%20Storage%20Gen2%3A%20Create%20Scan%3C%2FLI%3E%0A%3CLI%3EAzure%20Data%20Lake%20Storage%20Gen2%3A%20Run%20Scan%3C%2FLI%3E%0A%3CLI%3EAzure%20Data%20Factory%3A%20Run%20Pipeline%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EAfter%20the%20deployment%20completes%2C%20the%20Deployment%20screen%20will%20look%20somewhat%20like%20this%20%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22arindamban_1-1628860292379.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303067i35675DC1534A030D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22arindamban_1-1628860292379.png%22%20alt%3D%22arindamban_1-1628860292379.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%5B%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqVjKff17JUI%26amp%3Bab_channel%3DArindamBandyopadhyay%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EWatch%20Video%3C%2FA%3E%5D%3C%2FSTRONG%3E%20Here's%20a%20visual%20demo%20of%20what%20happens%20after%20the%20deployment%20script%20completes.%26nbsp%3B%3CSPAN%3EThis%20video%20talks%20about%20how%20to%20explore%20what%20happens%20to%20your%20Purview%20deployment%20after%20running%20the%20Purview%20Demo%20Deployment%20Automation%20%40%20%3C%2FSPAN%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fpvdemo%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fpvdemo%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%3E%20-%20See%20the%20after%20effects%20of%20the%20script%20on%20Purview%20Catalog%2C%20Data%20Map%2C%20Viewing%20the%20registered%20data%20sources%2C%20scan%20history%2C%20Assets%20Browsing%2C%20Viewing%20Lineage%2C%20Classifications%2C%20Glossary%2C%20insights%20etc.%20on%20the%20Azure%20Purview%20Portal.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FqVjKff17JUI%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DqVjKff17JUI%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FqVjKff17JUI%252Fhqdefault.jpg%26amp%3Bkey%3Db0d40caa4f094c68be7c29880b16f56e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22600%22%20height%3D%22337%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3E%3CSTRONG%3ENext%20Steps%3A%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CU%3E%3CSTRONG%3EPurview%20CLI%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EAfter%20the%20Purview%20environment%20is%20set-up%2C%20all%20data%20sources%20are%20registered%20and%20scans%20are%20set-up%2C%20you%20may%20wish%20to%20try%20out%20more%20useful%20things%20with%20%3CA%20href%3D%22http%3A%2F%2F%26nbsp%3Bhttps%3A%2F%2Fgithub.com%2Ftayganr%2Fpurviewcli%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EPurview%20CLI.%26nbsp%3B%3C%2FA%3EThis%20is%20a%20python%20scripted%20environment%20which%20allows%20you%20to%20try%20out%20all%20useful%20APIs%20on%20Purview.%3C%2FP%3E%0A%3CDIV%20class%3D%22snippet-clipboard-content%20position-relative%22%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20your%20experience%20setting%20up%20and%20getting%20started%20with%20Purview%20in%20the%20comments%20below%20!%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2938917%22%20slang%3D%22en-US%22%3ERe%3A%20Getting%20Started%20with%20Azure%20Purview%20using%20Purview%20Starter%20Kit%2C%20CLI%20and%20PowerShell%20!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2938917%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1123441%22%20target%3D%22_blank%22%3E%40arindamban%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EWhat%20a%20good%20stuff%20there%20you%20have%3C%2FSTRONG%3E.%20However%20if%20someone%20wanted%20to%20deploy%20the%20starter%20kit%20v5%20inside%20your%20own%20subscription%20via%20option%201.%20There%20are%20several%20things%20need%20to%20watch%20out%20for.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20manage%20to%20make%20it%20work%20in%20to%20make%20the%20script%20run%20in%20Windows%20Server%202019%20with%20Powershell%207.1.5%3C%2FP%3E%0A%3CP%3EPre-requisite%20are%20(For%20those%20not%20very%20familiar)%3C%2FP%3E%0A%3CP%3E-%20Azure%20CLI%3C%2FP%3E%0A%3CP%3E-%20Azure%20Az%20PowerShell%20Module%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20happen%20to%20use%20resource%20group%20name%20call%20purview%2C%20then%20u%20will%20run%20into%20issue%20with%20Azure%20Data%20Factory%2C%20Azure%20Datalake%20and%20Azure%20Blob%20creation%20error%20because%20the%20name%20has%20been%20taken%20up.%20So%20u%20need%20to%20edit%20the%20name%20of%20Azure%20Datalake%2C%20Azure%20Blob%20and%20Azure%20Data%20Factory%20to%20make%20sure%20the%20name%20is%20unique.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20need%20to%20change%20it%20at%20RunStarterKitFullAuto.ps1%20at%20line%2014%2C15%20and%2016%5Bstring%5D%24StorageBlobName%20%3D%20%24ResourceGroup%20%2B%20%22adcblobat%22%2C%3CBR%20%2F%3E%5Bstring%5D%24AdlsGen2Name%20%3D%20%24ResourceGroup%20%2B%20%22adcadlsat%22%2C%3CBR%20%2F%3E%5Bstring%5D%24DataFactoryName%20%3D%20%24ResourceGroup%20%2B%20%22adcfactoryat%22%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EChange%20it%20to%20something%20that%20will%20give%20a%20unique%20name%20to%20avoid%20the%20error.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20if%20u%20wish%20to%20ensure%20all%20resources%20are%20in%20the%20same%20location%2C%20u%20need%20to%20change%20one%20more%20area%20at%20DemoScript.ps1%20at%20line%2019%20which%20is%20hard%20coded%20to%20East%20US.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%5Bstring%5D%24AzureStorageGen2Location%3D%20%22Southeast%20Asia%22%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3CBR%20%2F%3EAlvin%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Hi Purview folks 

Good day ! Today I'm going to talk about getting started and being up and running with a fresh new (clean install) Azure Purview deployment in a matter of minutes. While most Azure Purview Documentation articles talk about all the steps in detail, most of them reference steps you need to perform on the Azure portal, or a mix or Portal and Azure CLI and PowerShell; I'll talk about getting started real quick through automated methods using PowerShell and python scripts!

 

Materials/Artefacts Used:

1) Purview Starter Kit [GitHub]  (instructions below)

2) Purview Demo (Automated ARM Templates on Azure) : https://aka.ms/pvdemo

3) Purview CLI : https://github.com/tayganr/purviewcli 

4) [Watch Video] Steps To Register Azure Datasources After executing the attached Purview Starter Kit 

 

Method 1 (Purview Starter Kit):

For folks just starting out with Purview, there is a modified version of the Purview Starter Kit  described on this page. The change is that you just need your subscription ID and tenant ID and every Purview resource required will be generated and set up through this script automatically. Just remember to use only small case letters (less than 24 characters) in the parameters to run the script.

 

For example: Following is a valid command to execute the attached script. Extract the attached (PurviewStarterKitV5 to a folder of your choice, then open PowerShell as administrator, and navigate to the folder where PurviewStarterKitV5 was extracted. Change the parameters (CatalogName , TenantID, SubscriptionId , ResourceGroup , CatalogResourceGroup , Location) below as per your choice. 

 

 

 

 

.\RunStarterKitFullAuto.ps1 `
-CatalogName ARIBANPURVIEW20210812 `
-TenantId 67215357-86f1-41af-91ab-ABCDACDADC `
-SubscriptionId 873671623-848d-40fe-b817-542347623571 `
-ResourceGroup ariban20210812 `
-CatalogResourceGroup managed-rg-aribanpurview20210812 `
-Location "Central India"

 

 

 

Sample output showing successful execution of the script is attached in the .docx file with this post.

 

 

 

Method 2 (Purview Demo Template Automatic Deployment):

A very simple and one-click method for setting up Purview is to execute this Purview Demo (Automated ARM Templates on Azure) : https://aka.ms/pvdemo

Click "Deploy to Azure" Button, 

arindamban_0-1628860181618.png

Then fill in some important a(self-explanatory) parameters on your Azure Portal, and the entire Purview deployment with some sample data sources are set up in one-shot !

The following cases are demonstrated : 

Purview Demo Highlights

  1. Get Access Token
  2. Azure Purview: Create Azure Key Vault Connection
  3. Azure Purview: Create Credential
  4. Azure Purview: Create Collection
  5. Azure SQL Database: Register Source
  6. Azure SQL Database: Create Scan
  7. Azure SQL Database: Run Scan
  8. Azure Data Lake Storage Gen2: Load Sample Data
  9. Azure Data Lake Storage Gen2: Register Source
  10. Azure Data Lake Storage Gen2: Create Scan
  11. Azure Data Lake Storage Gen2: Run Scan
  12. Azure Data Factory: Run Pipeline

After the deployment completes, the Deployment screen will look somewhat like this :

 

arindamban_1-1628860292379.png

[Watch Video] Here's a visual demo of what happens after the deployment script completes. This video talks about how to explore what happens to your Purview deployment after running the Purview Demo Deployment Automation @ https://aka.ms/pvdemo - See the after effects of the script on Purview Catalog, Data Map, Viewing the registered data sources, scan history, Assets Browsing, Viewing Lineage, Classifications, Glossary, insights etc. on the Azure Purview Portal.

 

 

Next Steps:

Purview CLI

After the Purview environment is set-up, all data sources are registered and scans are set-up, you may wish to try out more useful things with Purview CLI. This is a python scripted environment which allows you to try out all useful APIs on Purview.

 

Let me know your experience setting up and getting started with Purview in the comments below ! 

3 Replies

@arindamban 

 

What a good stuff there you have. However if someone wanted to deploy the starter kit v5 inside your own subscription via option 1. There are several things need to watch out for. 

 

I manage to make it work in to make the script run in Windows Server 2019 with Powershell 7.1.5

Pre-requisite are (For those not very familiar)

- Azure CLI

- Azure Az PowerShell Module 

 

If you happen to use resource group name call purview, then u will run into issue with Azure Data Factory, Azure Datalake and Azure Blob creation error because the name has been taken up. So u need to edit the name of Azure Datalake, Azure Blob and Azure Data Factory to make sure the name is unique. 

 

You need to change it at RunStarterKitFullAuto.ps1 at line 14,15 and 16[string]$StorageBlobName = $ResourceGroup + "adcblobat",
[string]$AdlsGen2Name = $ResourceGroup + "adcadlsat",
[string]$DataFactoryName = $ResourceGroup + "adcfactoryat",

 

Change it to something that will give a unique name to avoid the error. 

 

Also, if u wish to ensure all resources are in the same location, u need to change one more area at DemoScript.ps1 at line 19 which is hard coded to East US. 

 

[string]$AzureStorageGen2Location= "Southeast Asia",

 

Thanks
Alvin

Hey many apologies, I had updated the code, but forgot to update this page since it was posted long time back,. the latest code is here : https://aka.ms/PurviewKickstart
Please check it out