Building a Windows 10 Enterprise Multi Session Master Image with the Azure Image Builder DevOps Task

%3CLINGO-SUB%20id%3D%22lingo-sub-1503913%22%20slang%3D%22en-US%22%3EBuilding%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%20Task%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1503913%22%20slang%3D%22en-US%22%3E%3CP%3EG'day%20WVD%20Community%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOrganization%20are%20evaluating%20how%20to%20build%20Master%20Images%20for%20WVD.%20One%20of%20the%20options%20available%20is%20through%20the%20AIB%20DevOps%20Task%20which%20provides%20a%20high%20level%20of%20automation%2C%20repeatability%20and%20integration%20with%20Azure%2C%20which%20is%20where%20the%20WVD%20Service%20lives!%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20post%20is%20to%20provide%20an%20introduction%20on%20how%20to%20get%20started%20with%26nbsp%3B%3CSTRONG%3EBuilding%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%20Task%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20As%20this%20guidance%20was%20in%20a%20Word%20document%20I%20have%20left%20the%20numbering%20intact.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EWhat%20will%20we%20do%20in%20this%20post%3F%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EIntroduction%3C%2FLI%3E%0A%3CLI%3EPre-requisites%3C%2FLI%3E%0A%3CLI%3E%3CP%3ESetup%20Azure%20Image%20Builder%20with%20PowerShell%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3ECreate%20and%26nbsp%3BConfigure%20the%20Azure%20VM%20Image%20Builder%20DevOps%20Task%20Release%20Pipeline%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EUse%20the%20newly%20build%20Image%20in%20WVD%20Spring%20Release!%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3ETroubleshooting%20AIB%20DevOps%20Release%20Pipeline%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3ECall%20out!%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EA%20big%20thank%20you%20to%20all%20the%20people%20helping%20me%20with%20this%20document%2C%20Marvin%2C%20Stefan%2C%20Jason%2C%20Jim%20and%20last%20but%20not%20least%20Scott%20for%20helping%20me%20getting%20started!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%20id%3D%22toc-hId-495210125%22%3E%3CSPAN%3E1%20-%20Introduction%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EWindows%2010%20Enterprise%20multi-session%20(Win10ms)%2C%20formerly%20known%20as%20Windows%2010%20Enterprise%20for%20Virtual%20Desktops%20(EVD)%2C%20is%20a%20new%20Remote%20Desktop%20Session%20Host%20that%20allows%20multiple%20concurrent%20interactive%20sessions.%20Win10ms%20is%20available%20in%20the%20Azure%20Marketplace%2C%20used%20to%20build%20pooled%20Sessions%20Hosts%20in%20a%20Hostpool%20for%20Windows%20Virtual%20Desktops%20(WVD).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThese%20WVD%20pooled%20Session%20hosts%20are%20Virtual%20Machines%20in%20Azure%20and%20need%20to%20be%20created%20from%20a%20Win10ms%20Image.%20Within%20the%20Marketplace%20standard%20Win10ms%20images%20are%20available%20but%20most%20organizations%20require%20customized%20images%20including%20configuration%20settings%20and%20software%20such%20as%20FSLogix%20for%20profile%20management%20and%20Microsoft%20Teams%20optimized%20for%20WVD.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EKeeping%20these%20Session%20Hosts%20up%20to%20date%20can%20be%20a%20challenge%20as%20feature%20updates%20are%20not%20supported%20for%20Win10ms%20in%20Azure.%20Also%20considering%20multiple%20users%20potentially%20are%20connected%20to%20the%20same%20VM%2C%20installing%20updates%20could%20be%20disruptive%20as%20well.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EDepending%20on%20the%20capacity%20required%20organizations%20could%20potentially%20use%20a%20large%20amount%20of%20Session%20Hosts.%20Ensuring%20all%20these%20VM%E2%80%99s%20have%20an%20identical%20configuration%20and%20have%20a%20consistent%20end-user%20experience%2C%20updating%20these%20VM%E2%80%99s%20can%20be%20labor%20intensive%20and%20often%20is%20error%20prone%20activity.%20%26nbsp%3BAutomating%20the%20update%20of%20the%20Session%20Hosts%20in%20a%20controlled%20and%20repeatable%20process%20is%20a%20trivial%20requirement%20for%20a%20successful%20WVD%20deployment.%20This%20also%20prevents%20%E2%80%9Cconfiguration%20drift%E2%80%9D%20between%20VM%E2%80%99s%20which%20can%20occur%20over%20time.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlthough%20System%20Center%20Endpoint%20Manager%20and%20Microsoft%20Deployment%20Toolkit%20(MDT)%20today%20are%20used%20in%20many%20organizations%2C%20these%20technologies%20are%20not%20fully%20optimized%20and%20integrated%20with%20Azure.%20In%20the%20case%20of%20SCCM%2C%20Win10ms%20Market%20Place%20Images%20would%20need%20to%20be%20copied%20locally%20and%20back%20to%20Azure%20resulting%20in%20additional%20and%20often%20manual%20activities.%20Additionally%2C%20the%20Win10ms%20Image%20for%20most%20organizations%20should%20require%20relatively%20less%20configuration%20and%20optimization%20as%20the%20Marketplace%20Win10ms%20image%20is%20already%20optimized%20for%20WVD%20from%20the%20Marketplace.%20From%20an%20application%20perspective%2C%20with%20the%20capability%20to%20support%20MSIX%2C%20App-Attach%20soon%2C%20these%20images%20should%20also%20not%20require%20having%20many%20applications%20installed.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%20id%3D%22toc-hId-1185771599%22%3E1.1%26nbsp%3B%20%3CSPAN%3EAzure%20Image%20Builder%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3ETo%20overcome%20these%20challenges%3CSTRONG%3E%20Azure%20Image%20Builder%3C%2FSTRONG%3E%20(AIB)%20can%20be%20used.%20AIB%20is%20developed%20for%20Azure%20to%20assist%20with%20the%20automated%20creation%20of%20Managed%20Images%20in%20Azure.%20As%20WVD%20is%20a%20PaaS%20in%20Azure%20these%20services%20have%20full%20integration.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAzure%20Image%20Builder%20can%20be%20used%20in%20different%20ways%20to%20build%20a%20Win10ms%20Master%20Image.%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3EAIB%20Portal%20(future%20release)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAIB%20PowerShell%20(or%20Cli)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAIB%20DevOps%20Task%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%3EThis%20post%20will%20provide%20guidance%20on%20using%20the%20AIB%20DevOps%20Task.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%20id%3D%22toc-hId--621682864%22%3E1.2%26nbsp%3B%20%3CSPAN%3EAIB%20DevOps%20Task%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EFor%20large%20organizations%20and%20enterprises%2C%20key%20criteria%20for%20an%20Image%20Build%20process%20includes%20version%20control%2C%20reporting%2C%20requirements%20management%2C%20project%20management%2C%20automated%20builds%2C%20lab%20management%2C%20testing%20and%20release%20management%20capabilities.%20%3CSTRONG%3EAzure%20DevOps%3C%2FSTRONG%3E%20can%20be%20used%20to%20address%20these%20requirements%20by%20creating%20a%20WVD%20Win10ms%20Build%20Release%20Pipeline%20in%20Azure%20DevOps.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20document%20provides%20guidance%20on%20how%20to%20setup%20and%20use%20WVD%20Win10ms%20Build%20Release%20Pipeline%20to%20achieve%20a%20repeatable%20and%20controlled%20process%20(DevOps)%20for%20automating%20Win10ms%20builds%20(AIB)%20and%20versioning%20and%20replicating%20those%20Images%20to%20the%20locations%2FAzure%20Regions%20where%20they%20are%20needed%20(Shared%20Image%20Gallery).%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorRoel%20Schellens_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3ENote%3A%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%3CSPAN%3E%20this%20post%20is%20using%20the%20guidance%20as%20provided%20by%20Daniel%20Sol%20on%20his%20GitHub%20location%3A%20%3C%2FSPAN%3E%3C%2FEM%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Fblob%2Fmaster%2Fsolutions%2F1_Azure_DevOps%2FDocsReadme.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CEM%3Ehttps%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Fblob%2Fmaster%2Fsolutions%2F1_Azure_DevOps%2FDocsReadme.md%3C%2FEM%3E%3C%2FA%3E%3CEM%3E%20but%20uses%20it%20for%20a%20WVD%20scenario%20to%20create%20a%20Windows%2010%20ms%20Image.%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203087i950D732D0D010A76%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%221.png%22%20alt%3D%221.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%20id%3D%22toc-hId--632185968%22%3E2%20-%26nbsp%3B%3CSPAN%3EPre-requisites%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EThese%20instructions%20assume%20the%20following%20pre-requisites%20are%20in%20place%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EYou%20have%20Owner%20access%20to%20an%20Azure%20Subscription%20so%20you%20can%20create%20Resource%20Groups%2C%20VMs%2C%20Key%20Vaults%2C%20Images%20etc.%20In%20a%20real%20production%20environment%20these%20rights%20can%20be%20restricted%20to%20smaller%20scopes.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAAD%20has%20been%20setup%20for%20the%20subscription%20above%20where%20you%20have%20Global%20Admin%20access%2C%20so%20you%20can%20create%20Service%20Principals%20and%20Managed%20Identities.%20In%20a%20real%20production%20environment%20these%20rights%20can%20be%20restricted%20by%20RBAC.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3EAssumption%3A%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%3EThis%20post%20will%20provide%20guidance%20on%20how%20to%20setup%20a%20DevOps%20Pipeline%20for%20a%20Win10ms%20build.%20Note%20that%20this%20document%20is%20not%20intended%20to%20explain%20all%20the%20aspects%20of%20Azure%2C%20PowerShell%2C%20and%20DevOps.%20Some%20basic%20knowledge%20on%20these%20topics%20is%20assumed%20to%20be%20successful.%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%20id%3D%22toc-hId-1855326865%22%3E%3CSPAN%3E3%20-%20Setup%20Azure%20Image%20Builder%20with%20PowerShell%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EThese%20are%20some%20of%20the%20basic%20Azure%20components%20that%20need%20to%20be%20in%20place%20before%20we%20can%20start%20building.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20details%20of%20these%20tasks%20can%20be%20found%20in%20the%20links%20below.%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3ECreate%20a%20Resource%20Group%20(RG)%20%E2%80%93%20this%20will%20be%20used%20to%20store%20AIB%20and%20SIG%20components.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EEnable%20and%20register%20Azure%20Image%20Builder%20%3C%2FSPAN%3E%3COL%3E%0A%3CLI%3E%3CSPAN%3EVia%20PowerShell%20%E2%80%93%20commands%20-ERR%3AREF-NOT-FOUND-here%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EVia%20Azure%20CLI%20%E2%80%93%20commands%20-ERR%3AREF-NOT-FOUND-here%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3ENote%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%3A%20It%20takes%20a%20couple%20of%20minutes%20to%20register%20the%20service.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3E%3CSPAN%3ECreate%20an%20Azure%20user-assigned%20Managed%20Identity%3C%2FSPAN%3E%3COL%3E%0A%3CLI%3E%3CSPAN%3EVia%20PowerShell%20%E2%80%93%20commands%20-ERR%3AREF-NOT-FOUND-here%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EVia%20Azure%20CLI%20%E2%80%93%20commands%20-ERR%3AREF-NOT-FOUND-here%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3ENote%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%3A%20Use%20the%20resource%20group%20created%20earlier.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorRoel%20Schellens_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3COL%20start%3D%224%22%3E%0A%3CLI%3E%3CSPAN%3EGrant%20permissions%20to%20the%20Azure%20user-assigned%20Managed%20Identity%20to%20the%20resource%20group%3C%2FSPAN%3E%3COL%3E%0A%3CLI%3E%3CSPAN%3EVia%20PowerShell%20%E2%80%93%20commands%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Fblob%2Fmaster%2FaibPermissions.md%23azure-powershell-examples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EVia%20Azure%20CLI%20%E2%80%93%20commands%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Fblob%2Fmaster%2FaibPermissions.md%23az-cli-examples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3ENote%201%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%3CSPAN%3E%3A%20For%20the%20PS%20commands%2C%20update%20the%20variable%20%3CSTRONG%3E%24aibRoleImageCreationPath%3C%2FSTRONG%3E%20if%20you%20need%20to%20download%20in%20a%20different%20path%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3ENote%202%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%3CSPAN%3E%3A%20For%20the%20PS%20commands%2C%20make%20sure%20you%20create%20a%20variable%20%3CSTRONG%3E%24subscriptionID%3C%2FSTRONG%3E%20that%20is%20your%20Azure%20Subscription%20ID.%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorRoel%20Schellens_6%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%225%22%3E%0A%3CLI%3E%3CSPAN%3ECreate%20an%20Azure%20Shared%20Image%20Gallery%20(SIG)%20and%20an%20Image%20definition%20in%20the%20resource%20group%20created%20earlier.%20Azure%20CLI%20commands%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Fblob%2Fmaster%2Fsolutions%2F1_Azure_DevOps%2FBuildaPipeline.md%23code-to-do-steps-1---register-and-enable-requirements%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3COL%20start%3D%226%22%3E%0A%3CLI%3E%3CSPAN%3ECreate%20a%20storage%20account%20in%20the%20resource%20group%20created%20earlier%20that%20will%20be%20used%20to%20transfer%20the%20artifacts%20from%20ADO%20tasks%20to%20the%20image.%20Azure%20CLI%20commands%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Fblob%2Fmaster%2Fsolutions%2F1_Azure_DevOps%2FBuildaPipeline.md%23code-to-do-steps-1---register-and-enable-requirements%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CH1%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%20id%3D%22toc-hId-47872402%22%3E4%20-%20Create%20and%26nbsp%3B%3CSPAN%3EConfigure%20the%20Azure%20VM%20Image%20Builder%20DevOps%20Task%20Release%20Pipeline%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CH1%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%20id%3D%22toc-hId--1759582061%22%3E4.1%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%3ECreate%20a%20DevOps%20Organization%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EGo%20to%20%3CA%20href%3D%22https%3A%2F%2Fdev.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.azure.com%3C%2FA%3E%20and%20follow%20the%20steps%20as%20described%20in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdevops%2Forganizations%2Faccounts%2Fcreate-organization%3Fview%3Dazure-devops%23create-an-organization%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECreate%20an%20organization%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%20id%3D%22toc-hId-727930772%22%3E4.2%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%3ECreate%20a%20DevOps%20Project%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EGo%20to%20%3CA%20href%3D%22https%3A%2F%2Fdev.azure.com%2F%26lt%3Byour%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.azure.com%2F%3CYOUR%3E%3C%2FYOUR%3E%3C%2FA%3E%20organization%20name%26gt%3B%20and%20create%20a%20new%20project%20as%20described%20in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdevops%2Forganizations%2Fprojects%2Fcreate-project%3Fview%3Dazure-devops%26amp%3Btabs%3Dpreview-page%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECreate%20a%20project%20in%20Azure%20DevOps%3C%2FA%3E%3C%2FSPAN%3E%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%224.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203106iCB4DF8F063D069C5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%224.png%22%20alt%3D%224.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EName%20your%20project%20in%20the%20%E2%80%9C%3CSTRONG%3EProject%20name%E2%80%9D%20%3C%2FSTRONG%3Efield%20(1)%20and%20click%20%E2%80%9C%3CSTRONG%3ECreate%E2%80%9D%3C%2FSTRONG%3E%20(2).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%225.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203111i94816BD1A4B36C02%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%225.png%22%20alt%3D%225.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%20id%3D%22toc-hId--1079523691%22%3E4.3%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3ECreate%20a%20DevOps%20Git%20Repository%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EThe%20WVD%20Image%20requires%20to%20be%20customized%20through%20a%20customization%20script%20and%20potentially%20additional%20software%20is%20required.%20A%20repository%20needs%20to%20be%20created%20to%20store%20the%20customization%20script%20and%20potentially%20other%20content.%20Additionally%2C%20the%20customization%20script%20requires%20to%20be%20maintained%20with%20version%20control%20etc.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20Azure%20DevOps%2C%20Repos%20are%20used%20to%20manage%20your%20code%20and%2C%20in%20our%20example%2C%20the%20AIB%20Customization%20Powershell%20Script.%20%3C%2FSPAN%3EYou%20can%20connect%20your%20favorite%20development%20environment%20to%20Azure%20Repos%20to%20access%20your%20repos%20and%20manage%20the%20code.%20The%20code%20can%20be%20shared%20using%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdevops%2Frepos%2Fgit%2Fshare-your-code-in-git-cmdline%3Fview%3Dazure-devops%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECommand-line%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dms-vsts.team%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EVisual%20Studio%20Code%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdevops%2Frepos%2Fgit%2Fshare-your-code-in-git-vs-2017%3Fview%3Dazure-devops%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EVisual%20Studio%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdevops%2Frepos%2Fgit%2Fshare-your-code-in-git-xcode%3Fview%3Dazure-devops%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EXcode%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdevops%2Fjava%2Fdownload-eclipse-plug-in%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EEclipse%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdevops%2Fjava%2Fdownload-intellij-plug-in%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EIntelliJ%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3EConsideration%201%3A%20Type%20of%20Repository%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%3EThe%20Repository%20can%20be%20in%20any%20Azure%20DevOps%20supported%20repository.%20In%20our%20case%20we%20will%20use%20a%20standard%20Azure%20DevOps%20repository%20to%20host%20our%20PowerShell%20customization%20script%20used%20in%20the%20AID%20DevOps%20task%20but%20alternatively%20you%20could%20also%20use%20your%20GitHub%20repository.%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FEM%3E%3CEM%3E%3CSPAN%3EIf%20a%20GitHub%20repository%20will%20be%20used%20the%20steps%20in%20this%20paragraph%20can%20be%20skipped.%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3EConsideration%201%3A%20Size%20of%20Repository%20needed.%20%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%3EA%20Git%20Repo%20is%20not%20intended%20to%20store%20for%20example%20application%20Packages%20or%20other%20packages%20with%20large%20size%20(Artifacts%20in%20Azure%20DevOps%20are%20free%20up%20till%202Gb).%20An%20alternative%20solution%20to%20store%20large%20packages%20is%20in%20%3C%2FSPAN%3E%3C%2FEM%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-how-to-create-file-share%3Ftabs%3Dazure-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CEM%3EAzure%20File%20Share%3C%2FEM%3E%3C%2FA%3E%3CEM%3E%20storage%20which%20should%20be%20made%20accessible%20during%20the%20build.%20AIB%20supports%20the%20usage%20of%20existing%20VNETs%20that%20can%20be%20used.%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESelect%20%E2%80%9C%3CSTRONG%3ERepos%3C%2FSTRONG%3E%E2%80%9D%20(1)%20and%20select%20%E2%80%9C%3CSTRONG%3EInitializ%3C%2FSTRONG%3Ee%E2%80%9D%20(2).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203112iA4E42F1DF64B5611%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%226.png%22%20alt%3D%226.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECreate%20a%20Folder%20in%20the%20Repo%20by%20selecting%20the%203%20dots%20in%20the%20right%20top%20corner%20(1).%20Select%20%3CSTRONG%3E%E2%80%9C%2B%20New%3C%2FSTRONG%3E%E2%80%9D%20(2)%20and%20click%20on%20%E2%80%9C%3CSTRONG%3EFolder%3C%2FSTRONG%3E%E2%80%9D%20(3).%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%227.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203113i4BE46C7061144228%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%227.png%22%20alt%3D%227.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EProvide%20the%20name%20of%20the%20folder%20in%20the%20%E2%80%9C%3CSTRONG%3ENew%20folder%20name%3C%2FSTRONG%3E%E2%80%9D%20and%20use%20%E2%80%9C%3CSTRONG%3EWVD%3C%2FSTRONG%3E%E2%80%9D%20(or%20any%20other%20name%20you%20prefer).%20%3CBR%20%2F%3EProvide%20the%20name%20of%20the%20%E2%80%9CNew%20file%20name%E2%80%9D%20field%20(make%20sure%20it%20has%20the%20.ps1%20extension)%20and%20click%20on%20%E2%80%9C%3CSTRONG%3ECreate%3C%2FSTRONG%3E%E2%80%9D.%20In%20our%20example%20we%20use%20%E2%80%9C%3CSTRONG%3ECustomization.ps1%3C%2FSTRONG%3E%E2%80%9D%20for%20the%20New%20file%20name.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%228.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203114i37570CD8C66350E0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%228.png%22%20alt%3D%228.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3ENote%3A%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%20%3CSTRONG%3ESample%20script%20for%20WVD%20Windows%2010%20Enterprise%20multi%20session%20customization.%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESample%20customization%20scripts%20can%20be%20found%20in%20my%20GitHub%20repository%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FRoelDU%2FWVDImaging%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FRoelDU%2FWVDImaging.%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThese%20customization%26nbsp%3Bscript%20include%20the%20by%20Microsoft%20recommended%20customizations%20as%20documented%20here%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EPrepare%20and%20customize%20a%20master%20VHD%20image%20Azure%20How%20to%20prepare%2C%20customize%20and%20upload%20a%20Windows%20Virtual%20Desktop%20master%20image%20to%20Azure.docs.microsoft.com%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fset-up-customize-master-image%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fset-up-customize-master-image%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3Eand%20here%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EInstall%20Office%20on%20a%20master%20VHD%20image%20How%20to%20install%20and%20customize%20Office%20on%20a%20Windows%20Virtual%20Desktop%20master%20image%20to%20Azure.docs.microsoft.com%20and%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Finstall-office-on-wvd-master-image%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Finstall-office-on-wvd-master-image%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAdd%20the%20customization%20content%20(PowerShell%20script)%20to%20customize%20the%20Windows%2010%20build.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EOnce%20finished%20with%20the%20customization%20content%20(1)%20click%20on%20%E2%80%9C%3CSTRONG%3ECommit%3C%2FSTRONG%3E%E2%80%9D%20(2).%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%229.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203120i3758C6CBA3CF66C0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%229.png%22%20alt%3D%229.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20the%20next%20screen%20leave%20the%20default%20values%20and%20click%20on%20%E2%80%9C%3CSTRONG%3ECommit%3C%2FSTRONG%3E%E2%80%9D%20(1)%20again.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2210.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203122i5E430E5F1299B7B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2210.png%22%20alt%3D%2210.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%20id%3D%22toc-hId-1407989142%22%3E4.4%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3ECreate%20a%20DevOps%20Release%20Pipeline%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EIn%20Azure%20DevOps-specific%20terms%2C%20a%26nbsp%3B%3CSTRONG%3Epipeline%3C%2FSTRONG%3E%26nbsp%3Bis%20a%20sequence%20of%20steps%20on%20your%20code%2C%20in%20our%20example%20we%20can%20look%20at%20the%20code%20as%20the%20Custimization%20Powershell.%20A%26nbsp%3B%3CSTRONG%3Ebuild%3C%2FSTRONG%3E%26nbsp%3Bis%20a%26nbsp%3B%3CSTRONG%3Epipeline%3C%2FSTRONG%3E%26nbsp%3Bthat%20has%20no%20side-effects%2C%20it%20only%20takes%20in%20code%20and%20puts%20out%20compiled%20%22artifacts%22.%20A%26nbsp%3B%3CSTRONG%3Erelease%3C%2FSTRONG%3E%26nbsp%3Bis%20a%26nbsp%3B%3CSTRONG%3Epipeline%3C%2FSTRONG%3E%26nbsp%3Bthat%20has%20side-effects%2C%20it%20takes%20in%20artifacts%20and%20publishes%20or%20deploys%20them%20to%20environments.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20latter%20is%20more%20aligned%20with%20an%20Image%20build%20workflow%2C%20where%20we%20are%20building%20a%20Managed%20Image%20to%20be%20%3CSTRONG%3Ereleased%3C%2FSTRONG%3E%20as%20a%20Managed%20Image%2C%20potentially%20in%20a%20Shared%20Image%20Gallery%2C%20to%20be%20deployed%20in%20Azure%20and%20used%20in%20our%20different%20%3CSTRONG%3Eenvironments%3C%2FSTRONG%3E%20(dev%2C%20test%2C%20prod).%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20your%20project%2C%20navigate%20to%20the%26nbsp%3B%E2%80%9C%3CSTRONG%3EPipelines%E2%80%9D%3C%2FSTRONG%3E%26nbsp%3Bpage.%20Then%20choose%20the%20action%20to%20create%20a%20new%20Release%20Pipeline%20by%20Selecting%20%3CSTRONG%3EReleases%3C%2FSTRONG%3E%20(1)%20and%20click%20on%20%E2%80%9C%3CSTRONG%3ENew%20Pipeline%3C%2FSTRONG%3E%E2%80%9D%20(2).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2211.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203126iCE46D829D8F75B57%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2211.png%22%20alt%3D%2211.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnder%20%E2%80%9C%3CSTRONG%3ESelect%20a%20template%3C%2FSTRONG%3E%E2%80%9D%20click%20on%20%E2%80%9C%3CSTRONG%3EEmpty%20Job%3C%2FSTRONG%3E%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2214.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203127iFC615BE84C4A5AB2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2214.png%22%20alt%3D%2214.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EProvide%20a%20Name%20for%20the%20%3CSTRONG%3EStage%20name%3C%2FSTRONG%3E%20field%2C%20in%20our%20case%20we%20use%20%E2%80%9C%3CSTRONG%3EWin10ms%20Image%20Build%3C%2FSTRONG%3E%E2%80%9D.%20There%20is%20no%20need%20to%20click%20a%20button%20to%20confirm.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2215.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203128i49325D904C39CC01%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2215.png%22%20alt%3D%2215.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20on%20the%20%3CSTRONG%3EAdd%20an%20artefact%3C%2FSTRONG%3E.%20The%20Artifact%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2216.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203129i1FE5C53F29655587%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2216.png%22%20alt%3D%2216.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20%3CSTRONG%3EAdd%20an%20artefact%3C%2FSTRONG%3E%20window%2C%20select%20Azure%20Repos%20Git%20(1).%20Select%20your%20%3CSTRONG%3EProject%20name%3C%2FSTRONG%3E%20(2).%20Select%20the%20%3CSTRONG%3Esource%20(repository)%3C%2FSTRONG%3E%20(3)%20and%20select%20master%20as%20Default%20branch%20(4).%20Click%20%E2%80%9C%3CSTRONG%3EAdd%3C%2FSTRONG%3E%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2217.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203130iCC2B660E2E5C529E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2217.png%22%20alt%3D%2217.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20Artifact%20has%20been%20created%20we%20have%20linked%20the%20repository%20with%20our%20customization%20script%20to%20our%20release%20Pipeline%2C%20which%20can%20now%20be%20referred%20to%20and%20used%20during%20our%20Image%20build%20process.%3C%2FP%3E%0A%3CP%3ETo%20ensure%20the%20Artifact%20is%20updated%20with%20the%20most%20recent%20Repo%20Commit%20(version)%20we%20need%20to%20configure%20a%20Pull%20request%20trigger.%20Click%20the%20Trigger%20icon%20on%20the%20Artifact%20(1)%20and%20enable%20the%20%E2%80%9C%3CSTRONG%3EPull%20request%20trigger%3C%2FSTRONG%3E%E2%80%9D%20(2).%20Each%20time%20a%20new%20Release%20is%20created%2C%20the%20Artifact%20will%20pull%20the%20latest%20committed%20Repo%20content%20to%20be%20included%20in%20the%20Release%20Pipeline.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2218.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203131i2E6D2986D022142A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2218.png%22%20alt%3D%2218.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClick%20the%20%3CSTRONG%3Etask%3C%2FSTRONG%3E%20in%20the%20%3CSTRONG%3EWin10ms%20Image%20Build%20stage.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2219.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203132i291FF88D012AAF79%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2219.png%22%20alt%3D%2219.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20will%20now%20see%20the%20Agent%20Job%20which%20has%20not%20yet%20assigned%20any%20tasks.%3C%2FP%3E%0A%3CP%3EClick%20%E2%80%9C%3CSTRONG%3E%2B%3C%2FSTRONG%3E%E2%80%9D%20to%20add%20a%20task%20and%20search%20for%20%E2%80%9C%3CSTRONG%3EImage%20Builder%3C%2FSTRONG%3E%E2%80%9D%20(2).%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2220.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203133i0A94757B93BAF5E5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2220.png%22%20alt%3D%2220.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20the%20%E2%80%9C%3CSTRONG%3EAzure%20VM%20Image%20Builder%20DevOps%20Task%20(Preview)%3C%2FSTRONG%3E%E2%80%9D%20is%20not%20already%20installed%2C%20click%20the%20%3CSTRONG%3EInstall%20%3C%2FSTRONG%3E(1)%20button.%20In%20our%20example%20below%20the%20Task%20is%20already%20installed.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2221.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203134iA519C01A2868F5CF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2221.png%22%20alt%3D%2221.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20the%20%E2%80%9C%3CSTRONG%3EAzure%20VM%20Image%20Builder%20DevOps%20Task%20(Preview)%3C%2FSTRONG%3E%E2%80%9D%20task%20is%20already%20installed%2C%20click%20%E2%80%9C%3CSTRONG%3EAdd%3C%2FSTRONG%3E%E2%80%9D%20(1).%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2222.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203138i7902D45E5EBAD2B5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2222.png%22%20alt%3D%2222.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%20id%3D%22toc-hId--651729660%22%3E4.5%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3EConfigure%20Azure%20VM%20Image%20Builder%20DevOps%20task%20in%20Pipeline%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EThe%20Image%20Builder%20Task%20needs%20to%20be%20configured%20to%20your%20requirements.%20The%20Pipeline%20with%20the%20AIB%20task%20provides%20a%20way%20to%20create%20a%20repeatable%20process%20to%20create%20updated%20images%20in%20an%20automated%20way%20from%20a%20managed%20and%20versioned%20repository.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2223.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203145i42BDA92E3BA60B65%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2223.png%22%20alt%3D%2223.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20below%20example%20values%20will%20use%20the%20following%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3ESource%3A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20Market%20place%20image%20Windows%2010%20Enterprise%20Multi%20Session%2020H1%20with%20Office%20365%20installed%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3ECustomizer%3A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20A%20PowerShell%20script%20stored%20in%20the%20Repository%20(created%20earlier%20for%20the%20project)%20used%20by%20the%20Pipeline%20including%20all%20the%20customization%20we%20want%20to%20include%20in%20the%20Image.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%3EDistribute%3A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20In%20our%20example%20we%20will%20distribute%20the%20Image%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESelect%20the%20%E2%80%9C%3CSTRONG%3EAzure%20VM%20Image%20Builder%20DevOps%20Task%E2%80%9D%20%3C%2FSTRONG%3Echeckbox%3CSTRONG%3E.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2224.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203147i8EAE76AAA72154EB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2224.png%22%20alt%3D%2224.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%20id%3D%22toc-hId-1964865892%22%3E4.5.1%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%3EAzure%20Subscription%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3ESelect%20(1)%20the%20Azure%20subscription%20to%20use%20(2).%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2225.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203148iBF623291ECF99EB1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2225.png%22%20alt%3D%2225.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20selecting%20the%20Azure%20Subscription%20click%20the%20dropdown%20button%20next%20to%20Authorize%20(1)%20and%20select%20%E2%80%9C%3CSTRONG%3EAdvanced%20Options%3C%2FSTRONG%3E%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2226.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203150iCCB9B59858B5749D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2226.png%22%20alt%3D%2226.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20%E2%80%9C%3CSTRONG%3EAdd%20an%20Azure%20Resource%20Manager%20sercive%20connection%3C%2FSTRONG%3E%E2%80%9D%20select%20the%20Resource%20group%20you%20created%20earlier%20where%20AIB%20and%20the%20SIG%20is%20located.%20This%20will%20authorize%20the%20Pipeline%20to%20use%20the%20selected%20Resource%20Group.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2227.png%22%20style%3D%22width%3A%20688px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203153iDE4BD5874FAFC14D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2227.png%22%20alt%3D%2227.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3ENote%3A%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%26nbsp%3BAlternatively%26nbsp%3Byou%20can%20decide%20not%20to%20select%20a%20resource%20group%20where%20you%20allow%20this%20service%20connection%20to%20have%20access%20to%20all%20Resource%20Groups%20within%20the%20subscription.%20This%20might%20be%20useful%26nbsp%3Bwhen%20you%20like%20to%20re-use%20this%20connection%20for%20other%20purposes.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%20id%3D%22toc-hId-157411429%22%3E4.5.2%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3EResource%20Group%20and%20Location%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CEM%3ESelect%20the%20%E2%80%9C%3CSTRONG%3EResource%20Group%3C%2FSTRONG%3E%E2%80%9D%20(1)%20that%20Azure%20Image%20Builder%20is%20going%20to%20use%20to%20store%20the%20Image%20artifacts%20and%20select%20the%20location%20for%20resources%20to%20be%20created%20in%20the%20%E2%80%9C%3CSTRONG%3ELocation%3C%2FSTRONG%3E%E2%80%9D%20field%20(2).%20%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2228.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203155i2B0AB8CC3B2423CB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2228.png%22%20alt%3D%2228.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%20id%3D%22toc-hId--1650043034%22%3E4.5.3%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3EManaged%20Identity%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EProvide%20the%20%E2%80%9CIdentity%20Resource%20Id%E2%80%9D%20of%20the%20Managed%20Identity%20created%20earlier.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EThe%20%E2%80%9CIdentity%20Resource%20Id%E2%80%9D%20can%20be%20found%20under%20the%20property%20blade%20of%20the%20Managed%20Identity.%20%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2229.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203157i57653B8B9016F321%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2229.png%22%20alt%3D%2229.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%20id%3D%22toc-hId-837469799%22%3E%3CA%20target%3D%22_blank%22%20name%3D%22_Toc44697887%22%3E%3C%2FA%3E1.1.1%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%3EImage%20Type%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EFor%20the%20Image%20Type%20field%20select%20%E2%80%9C%3CSTRONG%3EMarketplace%3C%2FSTRONG%3E%E2%80%9D.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20%E2%80%9C%3CSTRONG%3EBase%20Image%3C%2FSTRONG%3E%E2%80%9D%20field%20can%20be%20ignored%20as%20we%20will%20provide%20the%20details%20in%20the%20%E2%80%9C%3CSTRONG%3EIf%20base%20image%20is%20not%20in%20the%20list%20(Optional)%3C%2FSTRONG%3E%E2%80%9D%20field.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETo%20get%20the%20values%20required%20for%20the%20%E2%80%9C%3CSTRONG%3EIf%20base%20image%20is%20not%20in%20the%20list%20(Optional)%3C%2FSTRONG%3E%E2%80%9D%20field%2C%20use%20the%20%3CSTRONG%3EGet-AzVMImage%3C%2FSTRONG%3E%20command.%20See%20reference%20table%20below%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%20width%3D%22100%25%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2230%25%22%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3EPublisher%20Name%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3EOffer%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3ESKU%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3EDescription%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20rowspan%3D%228%22%20width%3D%2230%25%22%3E%3CP%3E%3CSPAN%3EMicrosoftWindowsDesktop%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Ewindows-10%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E20h1-evd%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%20MS%202004%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Ewindows-10%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E20h1-ent%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%202004%20%E2%80%93%20Gen1%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Ewindows-10%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E19h2-evd%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%20MS%201909%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Ewindows-10%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E19h2-ent%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%201909%20%E2%80%93%20Gen1%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Ewindows-10%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E19h1-evd%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%20MS%201903%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Eoffice-365%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E20h1-evd-o365pp%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%20MS%202004%20with%20O365%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Eoffice-365%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E19h2-evd-o365pp%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%20MS%201909%20with%20O365%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3Eoffice-365%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E1903-evd-o365pp%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin10%20Ent%20MS%201903%20with%20O365%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2230%25%22%3E%3CP%3E%3CSPAN%3EMicrosoftWindowsServer%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214%25%22%3E%3CP%3E%3CSPAN%3EWindowsServer%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2220%25%22%3E%3CP%3E%3CSPAN%3E2019-datacenter%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2233%25%22%3E%3CP%3E%3CSPAN%3EWin%20Server%202019%20datacenter%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20our%20example%20we%20will%20choose%20the%20Marketplace%20image%20with%20Office%20included.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20format%20%E2%80%9Cpublisher%3Aoffer%3Asku%E2%80%9D%20can%20be%20extracted%20from%20the%20table%20above%20which%20is%20%3CSTRONG%3EMicrosoftWindowsDesktop%3Aoffice-365%3A20h1-evd-o365pp%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20the%20%E2%80%9C%3CSTRONG%3EIf%20base%20image%20is%20not%20in%20the%20list%20(Optional)%3C%2FSTRONG%3E%E2%80%9D%20field%20type%3A%20%3CSTRONG%3EMicrosoftWindowsDesktop%3Aoffice-365%3A20h1-evd-o365pp%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWe%20will%20leave%20the%20field%20%3CSTRONG%3E%E2%80%9CBase%20Image%20Version%20(optional)%E2%80%9D%3C%2FSTRONG%3E%20set%20to%20%E2%80%9C%3CSTRONG%3Elatest%3C%2FSTRONG%3E%E2%80%9D%20as%20we%20want%20the%20latest%20version.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%20id%3D%22toc-hId--969984664%22%3E4.5.5%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3EProvisioner%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EUnder%20%E2%80%9C%3CSTRONG%3ECustomize%3C%2FSTRONG%3E%E2%80%9D%20we%20will%20select%20%E2%80%9C%3CSTRONG%3EPowerShell%3C%2FSTRONG%3E%E2%80%9D%20for%20the%20%E2%80%9C%3CSTRONG%3EProvisioner%3C%2FSTRONG%3E%E2%80%9D%20field%20as%20we%20are%20creating%20a%20Windows%20Image.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%20id%3D%22toc-hId-1517528169%22%3E4.5.6%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3ERun%20Windows%20Update%20as%20last%20customization%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EIf%20preferred%2C%20you%20can%20select%20%E2%80%9C%3CSTRONG%3ERun%20Windows%20Update%20as%20last%20customization%3C%2FSTRONG%3E%E2%80%9D%20to%20ensure%20the%20Image%20includes%20all%20the%20latest%20updates.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3ENote%3A%20%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3EThis%20is%20the%20Windows%20Update%20configuration%20that%20is%20executed%3A%3C%2FEM%3E%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-applescript%22%3E%3CCODE%3E%22type%22%3A%20%22WindowsUpdate%22%2C%0A%20%20%20%20%22searchCriteria%22%3A%20%22IsInstalled%3D0%22%2C%0A%20%20%20%20%22filters%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%22exclude%3A%24_.Title%20-like%20'*Preview*'%22%2C%0A%20%20%20%20%20%20%20%20%22include%3A%24true%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%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EIt%20will%20install%20important%20and%20recommended%20Windows%20Updates%2C%20that%20are%20not%20preview.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%20id%3D%22toc-hId--289926294%22%3E4.5.7%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3EBuild%20path%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EClick%20on%20the%20three%20dots%20next%20to%20%E2%80%9CBuild%20path%E2%80%9D%20(1).%20A%20window%20will%20popup%20with%20our%20Repository%20from%20where%20we%20select%20the%20path.%20Click%20on%20the%20folder%20%E2%80%9C%3CSTRONG%3EWVD%3C%2FSTRONG%3E%E2%80%9D%20(2)%20which%20we%20have%20created%20earlier%20and%20click%20%E2%80%9C%3CSTRONG%3EOK%3C%2FSTRONG%3E%E2%80%9D%20(3).%20Make%20sure%20to%20click%20on%20the%20folder%20and%20not%20the%20customization.ps1%20script.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2230.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203161i2606037221EDB3AC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2230.png%22%20alt%3D%2230.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%20id%3D%22toc-hId--2097380757%22%3E4.5.8%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3EInline%20customization%20script%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EFor%20the%20%E2%80%9CInline%20customization%20script%E2%80%9D%20field%20enter%20a%20PowerShell%20inline%20commands%20separated%20by%20commas%2C%20and%20if%20you%20want%20to%20run%20a%20script%20in%20your%20build%20directory%2C%20you%20can%20use%3A%3C%2FSPAN%3E%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-applescript%22%3E%3CCODE%3E%26amp%3B%20'c%3A%5CbuildArtifacts%5CWVD%5CCustomization.ps1'%3C%2FCODE%3E%3C%2FPRE%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%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3ENote%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%3CSPAN%3E%3A%20If%20your%20base%20image%20restricts%20PowerShell%20scripts%20from%20executing%20unless%20signed%20an%20alternative%20inline%20script%20command%20should%20be%20used%20instead.%20%3C%2FSPAN%3E%3C%2FEM%3E%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-applescript%22%3E%3CCODE%3E'%26amp%3B%20set-executionpolicy%20remotesigned%20-scope%20Process%20-Force%3B%20c%3A%5CBuildArtifacts%5CWVD%5CCustomization.ps1'%3C%2FCODE%3E%3C%2FPRE%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%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%20id%3D%22toc-hId-390132076%22%3E4.5.8%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BStorage%20Account%3C%2FH2%3E%0A%3CP%3ESelect%20the%20storage%20account%20you%20created%20in%20the%20prereqs%2C%20if%20you%20do%20not%20see%20it%20in%20the%20list%2C%20Image%20Builder%20does%20not%20have%20permissions%20to%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3ENote%3A%26nbsp%3B%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3EWhen%20the%20build%20starts%2C%20Image%20Builder%20will%20create%20a%20container%20called%20'imagebuilder-vststask'%2C%20this%20is%20where%20the%20build%20artifacts%20from%20the%20repo%20are%20stored.%26nbsp%3B%3C%2FEM%3E%3CEM%3EYou%20need%20to%20manually%20delete%20the%20storage%20account%20or%20container%20after%20each%20build!!!%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%20id%3D%22toc-hId--719160446%22%3E4.5.10%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BDistribute%3C%2FH2%3E%0A%3CP%3EThere%20are%203%20distribute%20types%20supported%3A%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%20id%3D%22toc-hId-1897435106%22%3E4.5.10.1%26nbsp%3B%20Managed%20Image%3C%2FH3%3E%0A%3CP%3EThe%20ResourceID%20of%20the%20Managed%20Image%20needs%20to%20be%20provided%20in%20this%20format%3A%3C%2FP%3E%0A%3CP%3E%2Fsubscriptions%2F%3CSUBSCRIPTIONID%3E%2FresourceGroups%2F%3CRGNAME%3E%2Fproviders%2FMicrosoft.Compute%2Fimages%2F%3CIMAGENAME%3E%3C%2FIMAGENAME%3E%3C%2FRGNAME%3E%3C%2FSUBSCRIPTIONID%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ELocations%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%20id%3D%22toc-hId-89980643%22%3E4.5.10.2%26nbsp%3B%26nbsp%3B%3CSPAN%3EAzure%20Shared%20Image%20Gallery%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3EThe%20ResourceID%20of%20the%20%3CU%3EImage%20Definition%3C%2FU%3E%20needs%20to%20be%20provided%20in%20the%20following%20format%3A%3C%2FP%3E%0A%3CP%3E%2Fsubscriptions%2F%3CSUBSCRIPTIONID%3E%2FresourceGroups%2F%3CRGNAME%3E%2Fproviders%2FMicrosoft.Compute%2Fgalleries%2F%3CGALLERYNAME%3E%2Fimages%2F%3CIMAGEDEFNAME%3E%3C%2FIMAGEDEFNAME%3E%3C%2FGALLERYNAME%3E%3C%2FRGNAME%3E%3C%2FSUBSCRIPTIONID%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3ENote%3A%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%20The%20Image%20Definition%20for%20the%20Shared%20Image%20Gallery%20MUST%20already%20exist!%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ERegions%3A%3C%2FSTRONG%3E%20list%20of%20regions%2C%20comma%20separated%2C%20e.g.%20westus2%2C%20eastus%2C%20centralus%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%20id%3D%22toc-hId--1717473820%22%3E4.5.10.3%26nbsp%3B%20VHD%3C%2FH3%3E%0A%3CP%3EYou%20cannot%20pass%20any%20values%20to%20this%2C%20Image%20Builder%20will%20emit%20the%20VHD%20to%20the%20temporary%20Image%20Builder%20resource%20group%2C%20%E2%80%98'IT__'%2C%20in%20the%20'vhds'%20container.%20When%20you%20start%20the%20release%20build%2C%20image%20builder%20will%20emit%20logs%2C%20and%20when%20it%20has%20finished%2C%20it%20will%20emit%20the%20VHD%20URL.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20our%20example%20below%20we%20distribute%20to%20a%20Shared%20Image%20Gallery%20in%20a%20single%20location%20(westus2)%20.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2231.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203163iF0ABECAB2BC2E061%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2231.png%22%20alt%3D%2231.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%20id%3D%22toc-hId-770039013%22%3E4.5.10.3%26nbsp%3B%26nbsp%3B%3CSPAN%3EVM%20Size%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%3EYou%20can%20override%20the%20VM%20size%2C%20from%20the%20default%20of%20Standard_D1_v2.%20You%20may%20do%20this%20to%20reduce%20total%20customization%20time%2C%20or%20because%20you%20want%20to%20create%20the%20images%20that%20depend%20on%20certain%20VM%20sizes%2C%20such%20as%20GPU%20%2F%20HPC%20etc.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%20id%3D%22toc-hId--1166498169%22%3E4.5.11%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3ERun%20the%20Pipeline%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3EClick%20on%20%E2%80%9C%3CSTRONG%3ESave%3C%2FSTRONG%3E%E2%80%9D%20(1)%20and%20Click%20%E2%80%9C%3CSTRONG%3EOK%3C%2FSTRONG%3E%E2%80%9D%20(2)%20in%20the%20Save%20window.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2232.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203165iA2DF71ECB13B0F8A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2232.png%22%20alt%3D%2232.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ENow%20you%20can%20click%20%E2%80%9C%3CSTRONG%3ECreate%20Release%3C%2FSTRONG%3E%E2%80%9D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2233.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203166i58A05BEBF2FA93F8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2233.png%22%20alt%3D%2233.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20%E2%80%9C%3CSTRONG%3ECreate%20a%20new%20release%3C%2FSTRONG%3E%E2%80%9D%20windows%20click%20on%20%E2%80%9C%3CSTRONG%3ECreate%3C%2FSTRONG%3E%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20view%20the%20Release%20by%20clicking%20on%20%E2%80%9C%3CSTRONG%3ERelease-1%3C%2FSTRONG%3E%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2235.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203168iA14D1DABBE2F6BFF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2235.png%22%20alt%3D%2235.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%20id%3D%22toc-hId-1321014664%22%3E4.5.12%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%3ENavigate%20through%20Release%20Pipelines%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EEach%20time%20when%20you%20create%20a%20new%20Release%20Pipeline%20they%20are%20preserved%20under%20Releases%E2%80%9D%20(1).%20By%20clicking%20on%20the%20Release%20Number%20or%20button%20under%20Stages%20(2)%20you%20can%20look%20at%20the%20details%20of%20each%20previously%20run%20Release.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2236.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203169i3AE7420C24C0FE33%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2236.png%22%20alt%3D%2236.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%20id%3D%22toc-hId--486439799%22%3E5%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BU%3CSPAN%3Ese%20the%20newly%20build%20Image%20in%20WVD%20Spring%20Release!%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EAfter%20a%20successful%20Release%20Pipeline%20build%20you%20can%20use%20the%20Image%20when%20creating%20a%20new%20Hostpool.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EClick%20on%20%E2%80%9C%3CSTRONG%3EBrowse%20all%20images%20and%20disks%3C%2FSTRONG%3E%E2%80%9D%20(1)%2C%20select%20%E2%80%9C%3CSTRONG%3EMy%20Items%3C%2FSTRONG%3E%E2%80%9D%20(2)%2C%20select%20%E2%80%9C%3CSTRONG%3EShared%20Images%3C%2FSTRONG%3E%E2%80%9D%20(3)%20and%20select%20the%20Image%20we%20just%20created%20(4).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2237.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203170iAD71130F0D834622%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2237.png%22%20alt%3D%2237.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%20id%3D%22toc-hId-2001073034%22%3E6%26nbsp%3B%20%26nbsp%3B%3CSPAN%3ETroubleshooting%20AIB%20DevOps%20Release%20Pipeline%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EPacker%20Log%20files%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESelect%20the%20Agent%20job%201.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2238.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203174i1F857D84E7FD05BB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2238.png%22%20alt%3D%2238.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ENotice%20the%20%E2%80%9CTemplate%20name%E2%80%9D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2239.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203175iE848A4A27130EB79%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2239.png%22%20alt%3D%2239.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EA%20new%20Resource%20Group%20is%20created%20corresponding%20with%20the%20highlighted%20number%20in%20the%20template.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2240.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203176iB0081AB05E267411%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2240.png%22%20alt%3D%2240.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EOpen%20the%20Resource%20Group%20and%20open%20the%20Storage%20Account%20in%20the%20Resource%20Group%20to%20get%20the%20Blob%20Storage%20for%20the%20Packer%20Log%20files.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2241.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203177i408FFD4AFAF19A50%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2241.png%22%20alt%3D%2241.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3E%3CSPAN%3ENote%3A%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%3CSPAN%3E%20This%20Resource%20Group%20including%20the%20storage%20account%20will%20be%20deleted%20after%20the%20Image%20has%20been%20created.%20If%20you%20want%20to%20read%20the%20logs%20you%20will%20need%20to%20do%20it%20during%20the%20build%20and%20distribution%20of%20the%20Image.%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%3ESample%20output%20of%20Packer%20Log.%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2243.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203179i67AFC5F1D79F8958%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2243.png%22%20alt%3D%2243.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%20id%3D%22toc-hId-322701290%22%3E%3CSPAN%3EKnown%20Issues%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%3EThe%20(free)%20Agent%20job%20for%20the%20Release%20Pipeline%20has%20a%20limitation%20to%20only%20run%20for%2060%20minutes.%20After%2060%20minutes%20it%20will%20timeout%20and%20report%20it%20hasn%E2%80%99t%20heard%20from%20the%20agent.%20This%20is%20as%20expected%2C%20and%20the%20build%20will%20likely%20finish%20successful.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2244.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203180i3BDE703075D60385%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2244.png%22%20alt%3D%2244.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAs%20The%20Agent%20hasn%E2%80%99t%20finish%20it%20will%20not%20clean%20up%20the%20Resource%20Group%20created%20for%20the%20Release%20Pipeline%20which%20also%20includes%20the%20storage%20account%20with%20the%20Packer%20logs%20(see%20previous%20paragraph%20on%20Packer%20Log%20files).%26nbsp%3B%20%3CSTRONG%3EPlease%20make%20sure%20to%20clean%20up%20this%20Resource%20Group%20manually!%3C%2FSTRONG%3E%3C%2FSPAN%3E%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%3CP%3E%3CSTRONG%3EThe%20End!%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20hope%20this%20was%20useful%26nbsp%3Bto%20get%20you%20going.%20If%20anything%20is%20missing%20please%20feel%20free%20to%20reach%20out.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERoel%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1503913%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Image%20Builder%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevOps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%2010%20Enterprise%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Virtual%20Desktop%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1566751%22%20slang%3D%22en-US%22%3ERe%3A%20Building%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1566751%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F209248%22%20target%3D%22_blank%22%3E%40Roel%20Schellens%3C%2FA%3EThis%20is%20great%20but%20my%20org%20requires%20tags%20be%20created%20on%20new%20objects%20in%20Azure.%20How%20can%20I%20do%20this%20using%20your%20method%3F%20It's%20failing%20during%20the%20packer%20section%20creating%20the%20template%20since%20it's%20missing%20the%20required%20Azure%20tags.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1569683%22%20slang%3D%22en-US%22%3ERe%3A%20Building%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1569683%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F452596%22%20target%3D%22_blank%22%3E%40Hoppy_Shaw%3C%2FA%3E%26nbsp%3Byou%20can%20add%20any%20tags%20needed%20on%20the%20json%20image%20template%2C%20refer%20How%20it%20works%20point%201%20on%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Flinux%2Fimage-builder-overview%3Ftoc%3D%2Fazure%2Fvirtual-machines%2Fwindows%2Ftoc.json%26amp%3Bbc%3D%2Fazure%2Fvirtual-machines%2Fwindows%2Fbreadcrumb%2Ftoc.json%2C%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Flinux%2Fimage-builder-overview%3Ftoc%3D%2Fazure%2Fvirtual-machines%2Fwindows%2Ftoc.json%26amp%3Bbc%3D%2Fazure%2Fvirtual-machines%2Fwindows%2Fbreadcrumb%2Ftoc.json%2C%3C%2FA%3E%26nbsp%3Byou%20can%20also%20find%20some%20templates%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Ftree%2Fmaster%2Fquickquickstarts%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fdanielsollondon%2Fazvmimagebuilder%2Ftree%2Fmaster%2Fquickquickstarts%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1584036%22%20slang%3D%22en-US%22%3ERe%3A%20Building%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1584036%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F209248%22%20target%3D%22_blank%22%3E%40Roel%20Schellens%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESince%20yesterday%20(11%2F08%2F2020)%20and%20today%2C%20the%20windows%20update%20part%20of%20the%20Azure%20VM%20Image%20Builder%20DevOps%20Task%20no%20longer%20works.%20Getting%20this%20error%3A%20PACKER%20ERR%20error%20initializing%20provisioner%20'windows-update'%3A%20Incompatible%20API%20version%20with%20PACKER%20ERR%20plugin.%20Plugin%20version%3A%204%2C%20Ours%3A%205%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1584072%22%20slang%3D%22en-US%22%3ERe%3A%20Building%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1584072%22%20slang%3D%22en-US%22%3EThat%20is%20correct.%20We%20are%20currently%20looking%20into%20this.%20Will%20report%20back%20when%20we%20have%20more%20info.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1594854%22%20slang%3D%22en-US%22%3ERe%3A%20Building%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1594854%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Update%20function%20should%20work%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1783822%22%20slang%3D%22en-US%22%3ERe%3A%20Building%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1783822%22%20slang%3D%22en-US%22%3E%3CP%3ECool%20stuff%20Roel!%3C%2FP%3E%3CP%3ENot%20sure%20if%20this%20is%20me%2C%20but%20my%20release%20pipeline%20never%20seems%20to%20finish%20(using%20own%20agents).%3C%2FP%3E%3CP%3EThe%20RG%20is%20left%20with%20the%20temp%20storage%20account%20and%20the%20intermediate%20image%20remaining.%3C%2FP%3E%3CP%3ELast%20line%20of%20the%20log%20file%3A%3C%2FP%3E%3CP%3E%5B687ab117-35ce-4ddd-8a17-f76d0b8f2157%5D%20PACKER%20OUT%20Done%20exporting%20Packer%20logs%20to%20Azure%20Storage.%3C%2FP%3E%3CP%3EI%20can%20see%20and%20use%20the%20new%20image%20version%20in%20the%20shared%20image%20gallery.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20agent%20insists%20the%20process%20is%20still%20running%3A%3C%2FP%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Ecreated%20archive%20C%3A%5Cazp%5Cagent%5C_work%5C_temp%5Ctemp_web_package_21922271974179175.zip%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3ESource%20for%20image%3A%20%7B%20type%3A%20'PlatformImage'%2C%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Epublisher%3A%20'MicrosoftWindowsDesktop'%2C%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Eoffer%3A%20'office-365'%2C%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Esku%3A%20'20h1-evd-o365pp'%2C%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Eversion%3A%20'19041.508.2009070256'%20%7D%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Etemplate%20name%3A%20t_51_1602768302997%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Estarting%20put%20template...%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Eput%20template%3A%20Succeeded%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22log-line-container%20flex%20logs-console-line-default%22%3E%3CDIV%20class%3D%22log-content-container%22%3E%3CDIV%20class%3D%22line-content%22%3Estarting%20run%20template...%3C%2FDIV%3E%3CDIV%20class%3D%22line-content%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line-content%22%3EIt's%20been%20like%20this%20for%20over%20an%20hour%20now.%20Is%20it%20waiting%20for%20something%3F%20Should%20I%20be%20more%20patient%3F%3C%2FDIV%3E%3CDIV%20class%3D%22line-content%22%3ECan%20I%20check%20anywhere%20else%20for%20logging%20or%20status%3F%3C%2FDIV%3E%3CDIV%20class%3D%22line-content%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line-content%22%3ECheers%3C%2FDIV%3E%3CDIV%20class%3D%22line-content%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line-content%22%3EArjan%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1783825%22%20slang%3D%22en-US%22%3ERe%3A%20Building%20a%20Windows%2010%20Enterprise%20Multi%20Session%20Master%20Image%20with%20the%20Azure%20Image%20Builder%20DevOps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1783825%22%20slang%3D%22en-US%22%3E%3CP%3ELol%2C%20never%20mind.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOf%20course%2C%20as%20soon%20as%20I%20posted%20this%20comment%20the%20pipeline%20gracefully%20finishes%2C%20everything%20cleaned%20up%20as%20promised.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Microsoft

G'day WVD Community,

 

Organization are evaluating how to build Master Images for WVD. One of the options available is through the AIB DevOps Task which provides a high level of automation, repeatability and integration with Azure, which is where the WVD Service lives! 

 

This post is to provide an introduction on how to get started with Building a Windows 10 Enterprise Multi Session Master Image with the Azure Image Builder DevOps Task.

 

Note: As this guidance was in a Word document I have left the numbering intact.

 

What will we do in this post?

  1. Introduction
  2. Pre-requisites
  3. Setup Azure Image Builder with PowerShell

  4. Create and Configure the Azure VM Image Builder DevOps Task Release Pipeline

  5. Use the newly build Image in WVD Spring Release!

  6. Troubleshooting AIB DevOps Release Pipeline

 

Call out!

A big thank you to all the people helping me with this document, Marvin, Stefan, Jason, Jim and last but not least Scott for helping me getting started!

 

1 - Introduction

Windows 10 Enterprise multi-session (Win10ms), formerly known as Windows 10 Enterprise for Virtual Desktops (EVD), is a new Remote Desktop Session Host that allows multiple concurrent interactive sessions. Win10ms is available in the Azure Marketplace, used to build pooled Sessions Hosts in a Hostpool for Windows Virtual Desktops (WVD).

These WVD pooled Session hosts are Virtual Machines in Azure and need to be created from a Win10ms Image. Within the Marketplace standard Win10ms images are available but most organizations require customized images including configuration settings and software such as FSLogix for profile management and Microsoft Teams optimized for WVD.

Keeping these Session Hosts up to date can be a challenge as feature updates are not supported for Win10ms in Azure. Also considering multiple users potentially are connected to the same VM, installing updates could be disruptive as well.

Depending on the capacity required organizations could potentially use a large amount of Session Hosts. Ensuring all these VM’s have an identical configuration and have a consistent end-user experience, updating these VM’s can be labor intensive and often is error prone activity.  Automating the update of the Session Hosts in a controlled and repeatable process is a trivial requirement for a successful WVD deployment. This also prevents “configuration drift” between VM’s which can occur over time.

Although System Center Endpoint Manager and Microsoft Deployment Toolkit (MDT) today are used in many organizations, these technologies are not fully optimized and integrated with Azure. In the case of SCCM, Win10ms Market Place Images would need to be copied locally and back to Azure resulting in additional and often manual activities. Additionally, the Win10ms Image for most organizations should require relatively less configuration and optimization as the Marketplace Win10ms image is already optimized for WVD from the Marketplace. From an application perspective, with the capability to support MSIX, App-Attach soon, these images should also not require having many applications installed.

1.1  Azure Image Builder

To overcome these challenges Azure Image Builder (AIB) can be used. AIB is developed for Azure to assist with the automated creation of Managed Images in Azure. As WVD is a PaaS in Azure these services have full integration.

Azure Image Builder can be used in different ways to build a Win10ms Master Image.

  1. AIB Portal (future release)
  2. AIB PowerShell (or Cli)
  3. AIB DevOps Task

This post will provide guidance on using the AIB DevOps Task.

1.2  AIB DevOps Task

For large organizations and enterprises, key criteria for an Image Build process includes version control, reporting, requirements management, project management, automated builds, lab management, testing and release management capabilities. Azure DevOps can be used to address these requirements by creating a WVD Win10ms Build Release Pipeline in Azure DevOps.

This document provides guidance on how to setup and use WVD Win10ms Build Release Pipeline to achieve a repeatable and controlled process (DevOps) for automating Win10ms builds (AIB) and versioning and replicating those Images to the locations/Azure Regions where they are needed (Shared Image Gallery).

 

Note: this post is using the guidance as provided by Daniel Sol on his GitHub location: https://github.com/danielsollondon/azvmimagebuilder/blob/master/solutions/1_Azure_DevOps/DocsReadme.... but uses it for a WVD scenario to create a Windows 10 ms Image.

 

1.png

 

2 - Pre-requisites

These instructions assume the following pre-requisites are in place:

  • You have Owner access to an Azure Subscription so you can create Resource Groups, VMs, Key Vaults, Images etc. In a real production environment these rights can be restricted to smaller scopes.
  • AAD has been setup for the subscription above where you have Global Admin access, so you can create Service Principals and Managed Identities. In a real production environment these rights can be restricted by RBAC.

 Assumption:

This post will provide guidance on how to setup a DevOps Pipeline for a Win10ms build. Note that this document is not intended to explain all the aspects of Azure, PowerShell, and DevOps. Some basic knowledge on these topics is assumed to be successful.

 

3 - Setup Azure Image Builder with PowerShell

These are some of the basic Azure components that need to be in place before we can start building.

The details of these tasks can be found in the links below.

  1. Create a Resource Group (RG) – this will be used to store AIB and SIG components.
  2. Enable and register Azure Image Builder
    1. Via PowerShell – commands here
    2. Via Azure CLI – commands here

Note: It takes a couple of minutes to register the service.

             

  1. Create an Azure user-assigned Managed Identity
    1. Via PowerShell – commands here
    2. Via Azure CLI – commands here

Note: Use the resource group created earlier.

 
  1. Grant permissions to the Azure user-assigned Managed Identity to the resource group
    1. Via PowerShell – commands here
    2. Via Azure CLI – commands here

Note 1: For the PS commands, update the variable $aibRoleImageCreationPath if you need to download in a different path

Note 2: For the PS commands, make sure you create a variable $subscriptionID that is your Azure Subscription ID.

 

 

  1. Create an Azure Shared Image Gallery (SIG) and an Image definition in the resource group created earlier. Azure CLI commands here.
  1. Create a storage account in the resource group created earlier that will be used to transfer the artifacts from ADO tasks to the image. Azure CLI commands here.

4 - Create and Configure the Azure VM Image Builder DevOps Task Release Pipeline

4.1           Create a DevOps Organization

Go to https://dev.azure.com and follow the steps as described in Create an organization

 

4.2           Create a DevOps Project

Go to https://dev.azure.com/<your organization name> and create a new project as described in Create a project in Azure DevOps

 

4.png

 

Name your project in the “Project name” field (1) and click “Create” (2).

5.png

 

4.3           Create a DevOps Git Repository

The WVD Image requires to be customized through a customization script and potentially additional software is required. A repository needs to be created to store the customization script and potentially other content. Additionally, the customization script requires to be maintained with version control etc.

In Azure DevOps, Repos are used to manage your code and, in our example, the AIB Customization Powershell Script. You can connect your favorite development environment to Azure Repos to access your repos and manage the code. The code can be shared using:

Consideration 1: Type of Repository

The Repository can be in any Azure DevOps supported repository. In our case we will use a standard Azure DevOps repository to host our PowerShell customization script used in the AID DevOps task but alternatively you could also use your GitHub repository.  If a GitHub repository will be used the steps in this paragraph can be skipped.

Consideration 1: Size of Repository needed.

A Git Repo is not intended to store for example application Packages or other packages with large size (Artifacts in Azure DevOps are free up till 2Gb). An alternative solution to store large packages is in Azure File Share storage which should be made accessible during the build. AIB supports the usage of existing VNETs that can be used.

 

Select “Repos” (1) and select “Initialize” (2).

6.png

 

Create a Folder in the Repo by selecting the 3 dots in the right top corner (1). Select “+ New” (2) and click on “Folder” (3).

7.png

 

Provide the name of the folder in the “New folder name” and use “WVD” (or any other name you prefer).
Provide the name of the “New file name” field (make sure it has the .ps1 extension) and click on “Create”. In our example we use “Customization.ps1” for the New file name.

8.png

 

Note:  Sample script for WVD Windows 10 Enterprise multi session customization.

Sample customization scripts can be found in my GitHub repository: https://github.com/RoelDU/WVDImaging.

These customization script include the by Microsoft recommended customizations as documented here:

and here

 

Add the customization content (PowerShell script) to customize the Windows 10 build.

Once finished with the customization content (1) click on “Commit” (2).

9.png

 

In the next screen leave the default values and click on “Commit” (1) again.

10.png

 

4.4           Create a DevOps Release Pipeline

In Azure DevOps-specific terms, a pipeline is a sequence of steps on your code, in our example we can look at the code as the Custimization Powershell. A build is a pipeline that has no side-effects, it only takes in code and puts out compiled "artifacts". A release is a pipeline that has side-effects, it takes in artifacts and publishes or deploys them to environments.

The latter is more aligned with an Image build workflow, where we are building a Managed Image to be released as a Managed Image, potentially in a Shared Image Gallery, to be deployed in Azure and used in our different environments (dev, test, prod).

 

In your project, navigate to the “Pipelines” page. Then choose the action to create a new Release Pipeline by Selecting Releases (1) and click on “New Pipeline” (2).

11.png

 

Under “Select a template” click on “Empty Job”.

14.png

 

Provide a Name for the Stage name field, in our case we use “Win10ms Image Build”. There is no need to click a button to confirm.

15.png

 

Click on the Add an artefact. The Artifact

16.png

 

In the Add an artefact window, select Azure Repos Git (1). Select your Project name (2). Select the source (repository) (3) and select master as Default branch (4). Click “Add”.

17.png

 

Once the Artifact has been created we have linked the repository with our customization script to our release Pipeline, which can now be referred to and used during our Image build process.

To ensure the Artifact is updated with the most recent Repo Commit (version) we need to configure a Pull request trigger. Click the Trigger icon on the Artifact (1) and enable the “Pull request trigger” (2). Each time a new Release is created, the Artifact will pull the latest committed Repo content to be included in the Release Pipeline.

18.png

 

Click the task in the Win10ms Image Build stage.

19.png

 

We will now see the Agent Job which has not yet assigned any tasks.

Click “+” to add a task and search for “Image Builder” (2).

20.png

 

If the “Azure VM Image Builder DevOps Task (Preview)” is not already installed, click the Install (1) button. In our example below the Task is already installed.

21.png

 

If the “Azure VM Image Builder DevOps Task (Preview)” task is already installed, click “Add” (1).

22.png

 

4.5           Configure Azure VM Image Builder DevOps task in Pipeline

The Image Builder Task needs to be configured to your requirements. The Pipeline with the AIB task provides a way to create a repeatable process to create updated images in an automated way from a managed and versioned repository.

23.png

 

The below example values will use the following:

Source: Market place image Windows 10 Enterprise Multi Session 20H1 with Office 365 installed

Customizer: A PowerShell script stored in the Repository (created earlier for the project) used by the Pipeline including all the customization we want to include in the Image.

Distribute: In our example we will distribute the Image

 

Select the “Azure VM Image Builder DevOps Task” checkbox.

24.png

 

4.5.1       Azure Subscription

Select (1) the Azure subscription to use (2).

25.png

 

After selecting the Azure Subscription click the dropdown button next to Authorize (1) and select “Advanced Options”.

26.png

 

In the “Add an Azure Resource Manager sercive connection” select the Resource group you created earlier where AIB and the SIG is located. This will authorize the Pipeline to use the selected Resource Group.

27.png

Note: Alternatively you can decide not to select a resource group where you allow this service connection to have access to all Resource Groups within the subscription. This might be useful when you like to re-use this connection for other purposes.

 

4.5.2         Resource Group and Location

Select the “Resource Group” (1) that Azure Image Builder is going to use to store the Image artifacts and select the location for resources to be created in the “Location” field (2).

28.png

 

4.5.3       Managed Identity

Provide the “Identity Resource Id” of the Managed Identity created earlier.

The “Identity Resource Id” can be found under the property blade of the Managed Identity.

29.png

1.1.1       Image Type

For the Image Type field select “Marketplace”.

The “Base Image” field can be ignored as we will provide the details in the “If base image is not in the list (Optional)” field.

To get the values required for the “If base image is not in the list (Optional)” field, use the Get-AzVMImage command. See reference table below:

Publisher Name

Offer

SKU

Description

MicrosoftWindowsDesktop

windows-10

20h1-evd

Win10 Ent MS 2004

windows-10

20h1-ent

Win10 Ent 2004 – Gen1

windows-10

19h2-evd

Win10 Ent MS 1909

windows-10

19h2-ent

Win10 Ent 1909 – Gen1

windows-10

19h1-evd

Win10 Ent MS 1903

office-365

20h1-evd-o365pp

Win10 Ent MS 2004 with O365

office-365

19h2-evd-o365pp

Win10 Ent MS 1909 with O365

office-365

1903-evd-o365pp

Win10 Ent MS 1903 with O365

MicrosoftWindowsServer

WindowsServer

2019-datacenter

Win Server 2019 datacenter

 

In our example we will choose the Marketplace image with Office included.

The format “publisher:offer:sku” can be extracted from the table above which is MicrosoftWindowsDesktop:office-365:20h1-evd-o365pp

In the “If base image is not in the list (Optional)” field type: MicrosoftWindowsDesktop:office-365:20h1-evd-o365pp

We will leave the field “Base Image Version (optional)” set to “latest” as we want the latest version.

 

4.5.5       Provisioner

Under “Customize” we will select “PowerShell” for the “Provisioner” field as we are creating a Windows Image.

4.5.6       Run Windows Update as last customization

If preferred, you can select “Run Windows Update as last customization” to ensure the Image includes all the latest updates.

 

Note: This is the Windows Update configuration that is executed:

 

 

 

"type": "WindowsUpdate",
    "searchCriteria": "IsInstalled=0",
    "filters": [
        "exclude:$_.Title -like '*Preview*'",
        "include:$true"

 

 

 

It will install important and recommended Windows Updates, that are not preview.

 

4.5.7       Build path

Click on the three dots next to “Build path” (1). A window will popup with our Repository from where we select the path. Click on the folder “WVD” (2) which we have created earlier and click “OK” (3). Make sure to click on the folder and not the customization.ps1 script.

30.png

 

4.5.8       Inline customization script

For the “Inline customization script” field enter a PowerShell inline commands separated by commas, and if you want to run a script in your build directory, you can use:

 

 

 

& 'c:\buildArtifacts\WVD\Customization.ps1'

 

 

 

 

Note: If your base image restricts PowerShell scripts from executing unless signed an alternative inline script command should be used instead.

 

 

 

'& set-executionpolicy remotesigned -scope Process -Force; c:\BuildArtifacts\WVD\Customization.ps1'

 

 

 

 

4.5.8       Storage Account

Select the storage account you created in the prereqs, if you do not see it in the list, Image Builder does not have permissions to it.

 

Note: When the build starts, Image Builder will create a container called 'imagebuilder-vststask', this is where the build artifacts from the repo are stored. You need to manually delete the storage account or container after each build!!!

 

4.5.10       Distribute

There are 3 distribute types supported:

4.5.10.1  Managed Image

The ResourceID of the Managed Image needs to be provided in this format:

/subscriptions/<subscriptionID>/resourceGroups/<rgName>/providers/Microsoft.Compute/images/<imageName>

  • Locations

4.5.10.2  Azure Shared Image Gallery

The ResourceID of the Image Definition needs to be provided in the following format:

/subscriptions/<subscriptionID>/resourceGroups/<rgName>/providers/Microsoft.Compute/galleries/<galleryName>/images/<imageDefName>

Note: The Image Definition for the Shared Image Gallery MUST already exist!

 

Regions: list of regions, comma separated, e.g. westus2, eastus, centralus

 

4.5.10.3  VHD

You cannot pass any values to this, Image Builder will emit the VHD to the temporary Image Builder resource group, ‘'IT__', in the 'vhds' container. When you start the release build, image builder will emit logs, and when it has finished, it will emit the VHD URL.

 

In our example below we distribute to a Shared Image Gallery in a single location (westus2) .

31.png

4.5.10.3  VM Size

You can override the VM size, from the default of Standard_D1_v2. You may do this to reduce total customization time, or because you want to create the images that depend on certain VM sizes, such as GPU / HPC etc.

 

4.5.11       Run the Pipeline

Click on “Save” (1) and Click “OK” (2) in the Save window.

32.png

 

Now you can click “Create Release

33.png

 

In the “Create a new release” windows click on “Create”.

 

You can view the Release by clicking on “Release-1”.

35.png

 

4.5.12       Navigate through Release Pipelines

Each time when you create a new Release Pipeline they are preserved under Releases” (1). By clicking on the Release Number or button under Stages (2) you can look at the details of each previously run Release.

36.png

 

5       Use the newly build Image in WVD Spring Release!

After a successful Release Pipeline build you can use the Image when creating a new Hostpool.

Click on “Browse all images and disks” (1), select “My Items” (2), select “Shared Images” (3) and select the Image we just created (4).

37.png

 

6   Troubleshooting AIB DevOps Release Pipeline

 Packer Log files

Select the Agent job 1.

38.png

 

Notice the “Template name”

39.png

 

A new Resource Group is created corresponding with the highlighted number in the template.

40.png

 

Open the Resource Group and open the Storage Account in the Resource Group to get the Blob Storage for the Packer Log files.

41.png

Note: This Resource Group including the storage account will be deleted after the Image has been created. If you want to read the logs you will need to do it during the build and distribution of the Image.

 

Sample output of Packer Log.

43.png

 

Known Issues

The (free) Agent job for the Release Pipeline has a limitation to only run for 60 minutes. After 60 minutes it will timeout and report it hasn’t heard from the agent. This is as expected, and the build will likely finish successful.

44.png

 

As The Agent hasn’t finish it will not clean up the Resource Group created for the Release Pipeline which also includes the storage account with the Packer logs (see previous paragraph on Packer Log files).  Please make sure to clean up this Resource Group manually!

 

 

 

The End!

 

I hope this was useful to get you going. If anything is missing please feel free to reach out.

 

Roel

 

 

7 Replies
Highlighted

@Roel SchellensThis is great but my org requires tags be created on new objects in Azure. How can I do this using your method? It's failing during the packer section creating the template since it's missing the required Azure tags.  

Highlighted
Highlighted

@Roel Schellens 

 

Since yesterday (11/08/2020) and today, the windows update part of the Azure VM Image Builder DevOps Task no longer works. Getting this error: PACKER ERR error initializing provisioner 'windows-update': Incompatible API version with PACKER ERR plugin. Plugin version: 4, Ours: 5

Highlighted
That is correct. We are currently looking into this. Will report back when we have more info.
Highlighted
Highlighted

Cool stuff Roel!

Not sure if this is me, but my release pipeline never seems to finish (using own agents).

The RG is left with the temp storage account and the intermediate image remaining.

Last line of the log file:

[687ab117-35ce-4ddd-8a17-f76d0b8f2157] PACKER OUT Done exporting Packer logs to Azure Storage.

I can see and use the new image version in the shared image gallery.

 

The agent insists the process is still running:

created archive C:\azp\agent\_work\_temp\temp_web_package_21922271974179175.zip
Source for image: { type: 'PlatformImage',
publisher: 'MicrosoftWindowsDesktop',
offer: 'office-365',
sku: '20h1-evd-o365pp',
version: '19041.508.2009070256' }
template name: t_51_1602768302997
starting put template...
put template: Succeeded
starting run template...
 
It's been like this for over an hour now. Is it waiting for something? Should I be more patient?
Can I check anywhere else for logging or status?
 
Cheers
 
Arjan
Highlighted

Lol, never mind.

 

Of course, as soon as I posted this comment the pipeline gracefully finishes, everything cleaned up as promised.

 

Thanks again!