Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1251356%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Manage%20and%20Govern%20Hybrid%20Servers%20with%20Azure%20Arc%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1251356%22%20slang%3D%22en-US%22%3E%3CP%3EAwesome%20Blogpost%20Thomas%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fcool_40x40.gif%22%20alt%3D%22%3Acool%3A%22%20title%3D%22%3Acool%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1251410%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Manage%20and%20Govern%20Hybrid%20Servers%20with%20Azure%20Arc%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1251410%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9011%22%20target%3D%22_blank%22%3E%40James%20van%20den%20Berg%3C%2FA%3E%26nbsp%3B%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1166306%22%20slang%3D%22en-US%22%3EHow%20to%20Manage%20and%20Govern%20Hybrid%20Servers%20with%20Azure%20Arc%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1166306%22%20slang%3D%22en-US%22%3E%3CP%3EA%20couple%20of%20days%20ago%2C%20I%20wrote%20a%20blog%20post%20on%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fitops-talk-blog%2Fhow-to-add-a-server-to-azure-arc%2Fba-p%2F1139049%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehow%20you%20can%20onboard%20a%20server%20to%20Azure%20Arc%3C%2FA%3E.%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fazure-arc%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Arc%3C%2FA%3E%20for%20servers%20extends%20Azure%20Resource%20Manager%20to%20allow%20you%20to%20manage%20machines%20that%20are%20outside%20of%20Azure%2C%20using%20Azure%20management%20tools%20like%20Azure%20Log%20Analytics%20and%20Azure%20Policy.%20In%20this%20blog%20post%2C%20we%20will%20have%20a%20look%20at%20how%20you%20can%20manage%20and%20govern%20your%20servers%20with%20Azure%20Arc%20by%20using%20Azure%20Guest%20Configuration%20Policy.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBefore%20we%20go%20into%20how%20you%20can%20manage%20your%20hybrid%20servers%20running%20on-premises%20or%20in%20a%20multi-cloud%20environment%2C%20I%20want%20to%20give%20you%20a%20quick%20look%20at%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fgovernance%2Fpolicy%2Fconcepts%2Fguest-configuration%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Guest%20Configuration%20Policy%3C%2FA%3E.%20Guest%20Configuration%20uses%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fscripting%2Fdsc%2Foverview%2Foverview%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPowerShell%20Desired%20State%20Configuration%3C%2FA%3E%20(DSC)%20resource%20module%20to%20create%20the%20configuration%20for%20auditing%20of%20the%20Azure%20machines.%20It%20works%20with%20Linux%20and%20Windows%20machines.%20Think%20about%20something%20like%20group%20policies%20without%20the%20need%20for%20an%20Active%20Directory%20Domain%2C%20almost%20like%20Group%20Policies%20on%20steroids.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20Policy%20Guest%20Configuration%20can%20not%20only%20be%20used%20to%20audit%20settings%20inside%20machines.%20You%20can%20also%20use%20a%20remediation%20task%20to%20change%20settings%20inside%20the%20machines.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20a%20couple%20of%20built-in%20policies%20you%20can%20use%2C%20but%20you%20can%20also%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fgovernance%2Fpolicy%2Fhow-to%2Fguest-configuration-create%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewrite%20your%20custom%20policies%3C%2FA%3E.%20%26nbsp%3BFor%20now%2C%20this%20was%20only%20possible%20with%20virtual%20machines%20running%20in%20Azure%2C%20but%20with%20Azure%20Arc%2C%20we%20can%20now%20use%20this%20feature%20for%20our%20on-premises%20and%20multi-cloud%20servers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1410743593%22%20id%3D%22toc-hId--1410743593%22%3EHow%20to%20assign%20Azure%20Guest%20Configuration%20Policy%20to%20Azure%20Arc%20server%3C%2FH2%3E%0A%3CP%3ELet%E2%80%99s%20have%20a%20look%20at%20how%20we%20can%20assign%20an%20Azure%20policy%20to%20a%20server%20onboarded%20using%20Azure%20Arc.%20To%20show%20you%20how%20this%20feature%20works%2C%20I%20am%20taking%20a%20straightforward%20example.%20In%20my%20case%2C%20I%20have%20a%20couple%20of%20servers%2C%20some%20of%20them%20running%20in%20Azure%2C%20and%20some%20of%20them%20running%20on-premises.%20With%20the%20combination%20of%20Azure%20Arc%20and%20Azure%20Policy%2C%20I%20want%20to%20make%20sure%20that%20my%20servers%20are%20all%20set%20to%20the%20right%20time%20zone.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%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-center%22%20image-alt%3D%22thomasmaurer_0-1581422243589.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170305i65CD59BB9D2E5047%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_0-1581422243589.jpeg%22%20alt%3D%22Azure%20Policy%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20Policy%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ETo%20assign%20a%20policy%2C%20go%20to%20%3CSTRONG%3EAzure%20Policy%3C%2FSTRONG%3E%20in%20the%20Azure%20Portal%20and%20navigate%20to%20%3CSTRONG%3EAssignments%3C%2FSTRONG%3E.%20There%20you%20can%20assign%20a%20new%20policy%20or%20policy%20initiative%2C%20which%20is%20a%20set%20of%20policies.%20In%20my%20case%2C%20I%20am%20going%20to%20%3CSTRONG%3Eassign%20a%20built-in%20Policy%20definition%3C%2FSTRONG%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-center%22%20image-alt%3D%22thomasmaurer_1-1581422243601.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170304i2807372FC6E1EC69%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_1-1581422243601.jpeg%22%20alt%3D%22Assign%20Policy%20Definition%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAssign%20Policy%20Definition%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFirst%2C%20%3CSTRONG%3Eset%20the%20scope%3C%2FSTRONG%3E%20you%20want%20to%20assign%20the%20policy%20definition.%20This%20can%20be%20a%20management%20group%2C%20subscription%2C%20or%20policy.%20All%20the%20resources%20will%20inherit%20the%20policy%20or%20the%20policy%20definition%20under%20a%20specific%20scope.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENext%2C%20you%20will%20select%20the%20%3CSTRONG%3EInitiative%20definition%3C%2FSTRONG%3E%20which%20you%20want%20to%20assign.%20In%20my%20case%2C%20there%20is%20a%20build-in%20one%20called%20%3CSTRONG%3E%E2%80%9CAudit%20Windows%20VMs%20that%20are%20not%20set%20to%20the%20specified%20time%20zone%E2%80%9D%3C%2FSTRONG%3E.%20Optionally%20you%20can%20change%20the%20Assignment%20name%20and%20set%20description.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20the%20next%20page%2C%20we%20are%20going%20to%20set%20the%20%3CSTRONG%3Eparameters%3C%2FSTRONG%3E%20for%20this%20initiative.%20This%20one%20only%20has%20one%20parameter%2C%20and%20it%20is%20the%20time%20zone%20I%20want%20my%20servers%20to%20be%20in.%20In%20my%20case%2C%20this%20is%20UTC%2B01%3A00.%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-center%22%20image-alt%3D%22thomasmaurer_2-1581422243607.jpeg%22%20style%3D%22width%3A%20826px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170303i10F0A79E55466161%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_2-1581422243607.jpeg%22%20alt%3D%22Parameter%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EParameter%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAfter%20that%2C%20you%20can%20click%20on%20%3CSTRONG%3EReview%20%2B%20create%3C%2FSTRONG%3E.%20Your%20policy%20definition%20is%20now%20assigned%2C%20and%20it%20will%20start%20auditing%20the%20servers%20which%20are%20in%20scope.%20This%20will%20take%20a%20couple%20of%20minutes%20to%20complete.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1076769240%22%20id%3D%22toc-hId-1076769240%22%3ECheck%20compliance%20of%20your%20servers%3C%2FH2%3E%0A%3CP%3EIf%20you%20switch%20to%20the%20compliant%20view%20in%20Azure%20Policy%2C%20you%20can%20now%20see%20for%20which%20policies%20and%20policy%20definitions%20you%20have%20non-compliant%20resources.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%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-center%22%20image-alt%3D%22thomasmaurer_3-1581422243628.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170307i318F6DC43B2ABFC9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_3-1581422243628.jpeg%22%20alt%3D%22Compliance%20View%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECompliance%20View%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20click%20on%20our%20%3CSTRONG%3EAudit%20Windows%20VMs%20that%20are%20not%20set%20to%20the%20specified%20time%20zone%3C%2FSTRONG%3E%20definition%2C%20we%20can%20now%20see%20our%20non-compliant%20resources.%20You%20can%20see%20that%20we%20now%20see%20Azure%20virtual%20machines%20next%20to%20Azure%20Arc%20machines.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%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-center%22%20image-alt%3D%22thomasmaurer_4-1581422243649.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170308iEE78806190970695%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_4-1581422243649.jpeg%22%20alt%3D%22Non-compliant%20resources%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENon-compliant%20resources%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20it%20looks%20like%20my%20on-premises%20FS01%20server%20is%20not%20compliant%20and%20must%20be%20set%20to%20another%20time%20zone%20than%20UTC%2B01%3A00.%20If%20I%20have%20a%20look%20at%20the%20server%2C%20I%20can%20see%20that%20this%20is%20the%20case.%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-center%22%20image-alt%3D%22thomasmaurer_5-1581422243662.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170306iC307BF83AB797148%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_5-1581422243662.jpeg%22%20alt%3D%22Server%20Wrong%20Time%20Zone%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EServer%20Wrong%20Time%20Zone%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20I%20am%20a%20server%20admin%20of%20the%20FS01%20server%2C%20and%20I%20have%20access%20to%20Azure%20Arc%2C%20I%20can%20now%20also%20see%20this%20information%20directly%20within%20the%20Azure%20Arc%20resource%2C%20in%20the%20Azure%20Portal.%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-center%22%20image-alt%3D%22thomasmaurer_6-1581422243689.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170311iA96E94A24E93DAEA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_6-1581422243689.jpeg%22%20alt%3D%22Azure%20Arc%20Server%20-%20Policies%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20Arc%20Server%20-%20Policies%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--730685223%22%20id%3D%22toc-hId--730685223%22%3EAzure%20Guest%20Configuration%20Policy%20Remediation%3C%2FH2%3E%0A%3CP%3ETo%20fix%20this%20issue%2C%20I%20can%20now%20tell%20the%20server%20administrator%20of%20FS01%20to%20change%20the%20time%20zone%20setting%20on%20the%20server%2C%20or%20I%20can%20directly%20remediate%20the%20issue%20from%20the%20Azure%20Portal%20using%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fgovernance%2Fpolicy%2Fhow-to%2Fremediate-resources%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eremediation%20task%3C%2FA%3E.%20To%20do%20that%2C%20click%20on%20%3CSTRONG%3ECreate%20Remediation%20Task%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENOTE%3A%3C%2FSTRONG%3E%26nbsp%3BRemediation%20of%20settings%20inside%20machines%20with%20Policy%20Guest%20Configuration%20in%20Azure%20virtual%20machine%20is%20supported.%20However%2C%20Azure%20Arc%20is%20still%20in%20preview%20and%20might%20does%20not%20support%20that%20feature%20fully%20yet.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%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-center%22%20image-alt%3D%22thomasmaurer_7-1581422243702.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170310i9442FB4A80E91B5B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_7-1581422243702.jpeg%22%20alt%3D%22Remediation%20Task%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ERemediation%20Task%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAfter%20running%20the%20remediation%20task%2C%20you%20will%20see%20the%20server%20has%20the%20desired%20time%20zone%20configured.%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-center%22%20image-alt%3D%22thomasmaurer_8-1581422243708.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170309iE572D164C3659571%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_8-1581422243708.jpeg%22%20alt%3D%22Desired%20Time%20Zone%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDesired%20Time%20Zone%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20that%20the%20server%20is%20now%20%3CSTRONG%3Ecompliant%20with%20the%20Azure%20Guest%20Configuration%20Policy%3C%2FSTRONG%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-center%22%20image-alt%3D%22thomasmaurer_9-1581422243720.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170312i23F26DC7CA830332%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22thomasmaurer_9-1581422243720.jpeg%22%20alt%3D%22Azure%20Arc%20Server%20Compliant%20with%20Azure%20Guest%20Configuration%20Policy%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20Arc%20Server%20Compliant%20with%20Azure%20Guest%20Configuration%20Policy%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1756827610%22%20id%3D%22toc-hId-1756827610%22%3EAzure%20Friday%20Video%3C%2FH2%3E%0A%3CP%3EIf%20you%20want%20to%20watch%20a%20video%20overview%20of%20how%20you%20can%20manage%20and%20govern%20your%20hybrid%20servers%2C%20I%20recommend%20that%20you%20the%20%3CA%20href%3D%22https%3A%2F%2Fchannel9.msdn.com%2FShows%2FAzure-Friday%2FManage-and-govern-your-hybrid-servers-using-Azure-Arc%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Friday%20episode%3C%2FA%3E%20with%20Donovan%20Brown%20and%20me.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FivAS6i3-gzY%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DivAS6i3-gzY%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FivAS6i3-gzY%252Fhqdefault.jpg%26amp%3Bkey%3Db0d40caa4f094c68be7c29880b16f56e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22600%22%20height%3D%22337%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--50626853%22%20id%3D%22toc-hId--50626853%22%3EConclusion%3C%2FH2%3E%0A%3CP%3EI%20hope%20this%20gives%20you%20an%20overview%20of%20how%20you%20can%20manage%20and%20govern%20hybrid%20servers%20running%20on-premises%20and%20in%20multi-cloud%20environments%20using%20Azure%20Arc%20with%20Azure%20Guest%20Configuration%20Policy.%20Check%20out%20how%20you%20can%20onboard%20servers%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-arc%2Fservers%2Foverview%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Arc%3C%2FA%3E%2C%20and%20if%20you%20want%20to%20learn%20more%20about%20Azure%20Guest%20Configuration%20Policy%2C%20check%20out%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fgovernance%2Fpolicy%2Fconcepts%2Fguest-configuration%3FWT.mc_id%3Ditopstalk-blog-thmaure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Docs%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECredits%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FDCtheGeek%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDavid%20Coulter%3C%2FA%3E%20(Microsoft)%20for%20the%20collaboration%20on%20this%20article.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1166306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Manage%20and%20Govern%20Azure%20Arc%20Servers.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170317iE2E36618DE5AAC65%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Manage%20and%20Govern%20Azure%20Arc%20Servers.jpg%22%20alt%3D%22Manage%20and%20Govern%20Azure%20Arc%20Servers.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHow%20can%20you%20manage%20and%20govern%20your%20hybrid%20servers%20running%20on-prem%20and%20in%20multi-cloud%20environments%20with%20Azure%20Arc%20by%20using%20Azure%20Guest%20Configuration%20Policy%3F%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1166306%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EThomas%20Maurer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

A couple of days ago, I wrote a blog post on how you can onboard a server to Azure Arc. Azure Arc for servers extends Azure Resource Manager to allow you to manage machines that are outside of Azure, using Azure management tools like Azure Log Analytics and Azure Policy. In this blog post, we will have a look at how you can manage and govern your servers with Azure Arc by using Azure Guest Configuration Policy.

 

Before we go into how you can manage your hybrid servers running on-premises or in a multi-cloud environment, I want to give you a quick look at Azure Guest Configuration Policy. Guest Configuration uses a PowerShell Desired State Configuration (DSC) resource module to create the configuration for auditing of the Azure machines. It works with Linux and Windows machines. Think about something like group policies without the need for an Active Directory Domain, almost like Group Policies on steroids.  

 

Azure Policy Guest Configuration can not only be used to audit settings inside machines. You can also use a remediation task to change settings inside the machines.

 

We have a couple of built-in policies you can use, but you can also write your custom policies.  For now, this was only possible with virtual machines running in Azure, but with Azure Arc, we can now use this feature for our on-premises and multi-cloud servers.

 

How to assign Azure Guest Configuration Policy to Azure Arc server

Let’s have a look at how we can assign an Azure policy to a server onboarded using Azure Arc. To show you how this feature works, I am taking a straightforward example. In my case, I have a couple of servers, some of them running in Azure, and some of them running on-premises. With the combination of Azure Arc and Azure Policy, I want to make sure that my servers are all set to the right time zone.

 

 

Azure PolicyAzure Policy

To assign a policy, go to Azure Policy in the Azure Portal and navigate to Assignments. There you can assign a new policy or policy initiative, which is a set of policies. In my case, I am going to assign a built-in Policy definition.

 

Assign Policy DefinitionAssign Policy Definition

First, set the scope you want to assign the policy definition. This can be a management group, subscription, or policy. All the resources will inherit the policy or the policy definition under a specific scope.

 

Next, you will select the Initiative definition which you want to assign. In my case, there is a build-in one called “Audit Windows VMs that are not set to the specified time zone”. Optionally you can change the Assignment name and set description.

 

On the next page, we are going to set the parameters for this initiative. This one only has one parameter, and it is the time zone I want my servers to be in. In my case, this is UTC+01:00.

 

ParameterParameter

After that, you can click on Review + create. Your policy definition is now assigned, and it will start auditing the servers which are in scope. This will take a couple of minutes to complete.

 

Check compliance of your servers

If you switch to the compliant view in Azure Policy, you can now see for which policies and policy definitions you have non-compliant resources.

 

 

Compliance ViewCompliance View

If you click on our Audit Windows VMs that are not set to the specified time zone definition, we can now see our non-compliant resources. You can see that we now see Azure virtual machines next to Azure Arc machines.

 

 

Non-compliant resourcesNon-compliant resources

And it looks like my on-premises FS01 server is not compliant and must be set to another time zone than UTC+01:00. If I have a look at the server, I can see that this is the case.

 

Server Wrong Time ZoneServer Wrong Time Zone

If I am a server admin of the FS01 server, and I have access to Azure Arc, I can now also see this information directly within the Azure Arc resource, in the Azure Portal.

 

Azure Arc Server - PoliciesAzure Arc Server - Policies

Azure Guest Configuration Policy Remediation

To fix this issue, I can now tell the server administrator of FS01 to change the time zone setting on the server, or I can directly remediate the issue from the Azure Portal using a remediation task. To do that, click on Create Remediation Task.

 

NOTE: Remediation of settings inside machines with Policy Guest Configuration in Azure virtual machine is supported. However, Azure Arc is still in preview and might does not support that feature fully yet.

 

 

Remediation TaskRemediation Task

After running the remediation task, you will see the server has the desired time zone configured.

 

Desired Time ZoneDesired Time Zone

And that the server is now compliant with the Azure Guest Configuration Policy.

 

Azure Arc Server Compliant with Azure Guest Configuration PolicyAzure Arc Server Compliant with Azure Guest Configuration Policy

Azure Friday Video

If you want to watch a video overview of how you can manage and govern your hybrid servers, I recommend that you the Azure Friday episode with Donovan Brown and me.

 

 

 

Conclusion

I hope this gives you an overview of how you can manage and govern hybrid servers running on-premises and in multi-cloud environments using Azure Arc with Azure Guest Configuration Policy. Check out how you can onboard servers to Azure Arc, and if you want to learn more about Azure Guest Configuration Policy, check out the Microsoft Docs.

 

Credits: David Coulter (Microsoft) for the collaboration on this article.

 

2 Comments

Awesome Blogpost Thomas :cool:

Microsoft

Thanks @James van den Berg :)