<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>azure governance Archives - Apostolidis Cloud Corner</title>
	<atom:link href="https://www.cloudcorner.gr/tag/azure-governance/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloudcorner.gr/tag/azure-governance/</link>
	<description>Remarks from a Cloud Architect encounters</description>
	<lastBuildDate>Tue, 25 Feb 2020 22:05:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.cloudcorner.gr/wp-content/uploads/2021/04/cropped-cloudcorner2-32x32.png</url>
	<title>azure governance Archives - Apostolidis Cloud Corner</title>
	<link>https://www.cloudcorner.gr/tag/azure-governance/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Azure Dashboard using Resource Graph Explorer</title>
		<link>https://www.cloudcorner.gr/microsoft/azure-dashboard-using-resource-graph-explorer/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure-dashboard-using-resource-graph-explorer/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 25 Feb 2020 21:10:37 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure dashboard]]></category>
		<category><![CDATA[azure governance]]></category>
		<category><![CDATA[azure resource graph]]></category>
		<category><![CDATA[azure rm]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[governance]]></category>
		<category><![CDATA[kusto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[resource graph explorer]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=3053</guid>

					<description><![CDATA[<p>At this post we will see how we can Visualise our Azure environment using the Resource Graph Explorer. Resource Graph</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure-dashboard-using-resource-graph-explorer/">Azure Dashboard using Resource Graph Explorer</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">At this post we will see how we can Visualise our Azure environment using the Resource Graph Explorer. Resource Graph Explorer allows you to run Resource Graph queries, create charts and pin them to the Azure Dashboard.</p>
<p>Resource Graph Explorer is part of Azure Governance. You can find more guides about Azure Governance at my posts like <a href="https://www.e-apostolidis.gr/microsoft/azure-policy-limit-the-azure-vm-sizes/" target="_blank" rel="noopener noreferrer">How to limit the Azure VM Sizes</a> and <a href="https://www.e-apostolidis.gr/microsoft/azure-policy-enforce-tags-for-resource-creation/" target="_blank" rel="noopener noreferrer">How to enforce tags for resources creation</a> using the <a href="https://www.e-apostolidis.gr/tag/azure-governance/">Azure Governance tag</a>.</p>
<h3 style="text-align: justify;">Create a chart showing the number of VMs by Operating System at my tenant.</h3>
<p style="text-align: justify;">Open the Azure Portal and search for the Resource Graph Explorer and open it</p>
<p id="wZFVFYA" style="text-align: justify;"><img fetchpriority="high" decoding="async" class="alignnone wp-image-3055 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e1e1af472077.png" alt="azure dashboard" width="437" height="193" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e1e1af472077.png 437w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e1e1af472077-300x132.png 300w" sizes="(max-width: 437px) 100vw, 437px" /></p>
<p style="text-align: justify;">The window that will open looks familiar because it uses the same query language like Log Analytics, the Kusto. On the right side, at the Resource Window, you can search for any resource type, click it and it will be added to the Query Window. We will start with the &#8220;resources&#8221; that will bring us all resources</p>
<p id="dQKuGbu" style="text-align: justify;"><img decoding="async" class="alignnone wp-image-3059 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20b701af0ee.png" alt="resource graph" width="713" height="286" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b701af0ee.png 713w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b701af0ee-300x120.png 300w" sizes="(max-width: 713px) 100vw, 713px" /></p>
<p style="text-align: justify;">Then we will search for virtual machines to find the correct type</p>
<p id="RlInShA" style="text-align: justify;"><img decoding="async" class="alignnone wp-image-3060 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20b71eb0d80.png" alt="azure dashboard" width="559" height="200" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b71eb0d80.png 559w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b71eb0d80-300x107.png 300w" sizes="(max-width: 559px) 100vw, 559px" /></p>
<p style="text-align: justify;">clicking the microsoft.computer/virtualmachines it will automatically change the query to narrow the search to bring only the Virtual Machines</p>
<p id="DImgSpG" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3061 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20b7399b5a7.png" alt="kusto" width="804" height="199" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b7399b5a7.png 804w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b7399b5a7-300x74.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b7399b5a7-768x190.png 768w" sizes="auto, (max-width: 804px) 100vw, 804px" /></p>
<p style="text-align: justify;">To see the results just press &#8220;Run Query&#8221;. At the Resources window you can see all the VMs properties, like name, location, tags, resourcegroup and a property named &#8220;properties&#8221;. If you open this you will see all the details of the VMs.</p>
<p id="kZbhhcz" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3062 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20b784c0bb4.png" alt="kusto" width="1356" height="537" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b784c0bb4.png 1356w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b784c0bb4-300x119.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b784c0bb4-1024x406.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b784c0bb4-768x304.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20b784c0bb4-1320x523.png 1320w" sizes="auto, (max-width: 1356px) 100vw, 1356px" /></p>
<p style="text-align: justify;">The Operating System property is under &#8220;storageProfile&#8221; / &#8220;osDisk&#8221; / osType. So we need to alter our query like this:</p>
<pre class="EnlighterJSRAW">resources
 | where type == "microsoft.compute/virtualmachines"
 | summarize count() by tostring(properties.storageProfile.osDisk.osType)</pre>
<p style="text-align: justify;">Running the above query will bring the VMs by OS. Next Results you can click Charts to select the Chart you like.</p>
<p style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3065 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/vmbyos.gif" alt="azure dashboard" width="480" height="282" /></p>
<p style="text-align: justify;">You can save the query to add a name and also reuse it. The name will appear once we add the chart to the Azure Dashboard, it will be the title.</p>
<p id="epjbDLs" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3067 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20bc245872a.png" alt="save query" width="580" height="594" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bc245872a.png 580w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bc245872a-293x300.png 293w" sizes="auto, (max-width: 580px) 100vw, 580px" /></p>
<p style="text-align: justify;">For our Dashboard I will use a Donut chart. To add it to the Azure Dashboard click &#8220;Pin to dashboard&#8221;</p>
<p id="IcJzNwb" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3068 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20bc3c94021.png" alt="pin" width="394" height="154" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bc3c94021.png 394w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bc3c94021-300x117.png 300w" sizes="auto, (max-width: 394px) 100vw, 394px" /></p>
<p style="text-align: justify;">And this is the dashboard view</p>
<p id="FaWfhZM" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3069 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20bc55b6c68.png" alt="azure dashboard" width="630" height="648" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bc55b6c68.png 630w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bc55b6c68-292x300.png 292w" sizes="auto, (max-width: 630px) 100vw, 630px" /></p>
<h3 id="EScbmGf" style="text-align: justify;">We can add more resources, like Public IP Addresses</h3>
<p style="text-align: justify;">Change the query to this:</p>
<div style="text-align: justify;">
<div>
<pre class="EnlighterJSRAW">Resources
 | where type == "microsoft.network/publicipaddresses"</pre>
<p>Run it and you will get a result with all Public IP Addresses</p>
</div>
</div>
<p id="zOVXngn" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3074 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20bf1067a30.png" alt="kusto" width="1383" height="508" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bf1067a30.png 1383w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bf1067a30-300x110.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bf1067a30-1024x376.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bf1067a30-768x282.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bf1067a30-1320x485.png 1320w" sizes="auto, (max-width: 1383px) 100vw, 1383px" /></p>
<p style="text-align: justify;">To expand the properties, add the &#8221; | project properties &#8221; at the query and  click the &#8220;see details&#8221; link.</p>
<p id="VmjZWyi" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3075 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/img_5e20bfaa54c8a.png" alt="properties" width="796" height="464" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bfaa54c8a.png 796w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bfaa54c8a-300x175.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/01/img_5e20bfaa54c8a-768x448.png 768w" sizes="auto, (max-width: 796px) 100vw, 796px" /></p>
<p style="text-align: justify;">View the properties details and find the name of the ip address key</p>
<p style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3076 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/01/ips.gif" alt="details" width="477" height="200" /></p>
<p style="text-align: justify;">To create a chart with all Public IP Addresses run the below query</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">Resources  
| where type == "microsoft.network/publicipaddresses"
| summarize count() by tostring(properties.ipAddress)</pre>
<p style="text-align: justify;">And this is the result, pined to Azure Dashboard</p>
<p id="MVsUbvh" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-3271 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/02/img_5e55914588f62.png" alt="azure dashboard" width="366" height="363" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e55914588f62.png 366w, https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e55914588f62-300x298.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e55914588f62-150x150.png 150w" sizes="auto, (max-width: 366px) 100vw, 366px" /></p>
<p>Add a chart to show the location of all of my resources</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">summarize count() by location | project  location, total=count_| order by total desc 
| where total &gt; 1</pre>
<p id="TjnhEnq"><img loading="lazy" decoding="async" class="alignnone wp-image-3275 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/02/img_5e55980953ef6.png" alt="azure dashboard" width="363" height="364" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e55980953ef6.png 363w, https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e55980953ef6-300x300.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e55980953ef6-150x150.png 150w" sizes="auto, (max-width: 363px) 100vw, 363px" /></p>
<p style="text-align: justify;">Now at my Azure Dashboard I have VMs per OS, all Public IP Addresses and the location of all of my resources</p>
<p id="aAvMnGL"><img loading="lazy" decoding="async" class="alignnone wp-image-3276 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/02/img_5e559822491a5.png" alt="azure dashboard" width="1090" height="444" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e559822491a5.png 1090w, https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e559822491a5-300x122.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e559822491a5-1024x417.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/02/img_5e559822491a5-768x313.png 768w" sizes="auto, (max-width: 1090px) 100vw, 1090px" /></p>
<p>&nbsp;</p>
<p style="text-align: justify;">Find more at the <a href="https://docs.microsoft.com/en-us/azure/governance/resource-graph/">Azure Resource Graph documentation</a></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:pro&#120;imag&#114;&#064;h&#111;&#116;m&#097;il.&#099;&#111;&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure-dashboard-using-resource-graph-explorer%2F&amp;linkname=Azure%20Dashboard%20using%20Resource%20Graph%20Explorer" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure-dashboard-using-resource-graph-explorer%2F&amp;linkname=Azure%20Dashboard%20using%20Resource%20Graph%20Explorer" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure-dashboard-using-resource-graph-explorer%2F&#038;title=Azure%20Dashboard%20using%20Resource%20Graph%20Explorer" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure-dashboard-using-resource-graph-explorer/" data-a2a-title="Azure Dashboard using Resource Graph Explorer"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure-dashboard-using-resource-graph-explorer/">Azure Dashboard using Resource Graph Explorer</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure-dashboard-using-resource-graph-explorer/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Policy &#124; Enforce tags for resource creation</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-policy-enforce-tags-for-resource-creation/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-policy-enforce-tags-for-resource-creation/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 02 Sep 2019 14:38:55 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure governance]]></category>
		<category><![CDATA[azure policy]]></category>
		<category><![CDATA[azure tags]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[governance]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[webinar]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=2799</guid>

					<description><![CDATA[<p>Azure Policy &#124; Enforce tags for resource creation Azure Governance After the previous post about how to use Azure Policy</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-policy-enforce-tags-for-resource-creation/">Azure Policy | Enforce tags for resource creation</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: left;">Azure Policy | Enforce tags for resource creation</h1>
<h2 style="text-align: justify;">Azure Governance</h2>
<p style="text-align: justify;">After the previous post about <a href="https://www.e-apostolidis.gr/microsoft/azure-policy-limit-the-azure-vm-sizes/" target="_blank" rel="noopener noreferrer">how to use Azure Policy to limit the Azure VM sizes</a>, I continue the series of posts about Azure Governance with a video guide on how to enforce tags for resource creation. The idea is to explain through examples and how-to-guides, the tools that Microsoft Azure provides to help the administrators to enforce rules to all subscriptions. Some examples of those rules are, to help the organizations to stay compliant with their corporate standards, to standardize the resources creation and management, to manage the permissions and access controls, etc.</p>
<h2 style="text-align: justify;">Azure Policy</h2>
<p style="text-align: justify;">Azure Policy is a powerful tool for Azure Governance. We can define rules for all Azure Subscriptions the we manage. We can use this rules for simple limitation actions, like permitting only specific VM Series and Sizes that can be created and also more complex rule sets that helps you standardize the whole Azure deployment.</p>
<h3 style="text-align: justify;">Enforce tags for resource creation</h3>
<p style="text-align: justify;">So, why tags? Why we need to add tags to all Azure resources? The Microsoft Azure environments are getting bigger and bigger and managed by multiple people and teams. That makes it difficult to understand who created a resource and what is the purpose of that resource. Another critical matter that we need tags is Cost Management. At the Azure Cost Management Portal, we can sort and arrange the resource cost using the Tags. This way we can provide an expense dashboard with the actual cost of the resources per department, project or whatever tags we have added to the Resource.</p>
<h3 style="text-align: justify;">Guide: Video</h3>
<p style="text-align: justify;">View my video guide on how to use Azure Policy to enforce tags for resource creation</p>
<p><iframe loading="lazy" title="Use Azure Policy to enforce tags for resource creation" width="840" height="473" src="https://www.youtube.com/embed/h6qXy20o0fY?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p style="text-align: justify;">You can find more at Microsoft Docs: <a href="https://docs.microsoft.com/en-us/azure/governance/policy/">https://docs.microsoft.com/en-us/azure/governance/policy/</a></p>
<p style="text-align: justify;">
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:p&#114;&#111;xima&#103;r&#064;h&#111;t&#109;ail&#046;&#099;o&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-policy-enforce-tags-for-resource-creation%2F&amp;linkname=Azure%20Policy%20%7C%20Enforce%20tags%20for%20resource%20creation" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-policy-enforce-tags-for-resource-creation%2F&amp;linkname=Azure%20Policy%20%7C%20Enforce%20tags%20for%20resource%20creation" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-policy-enforce-tags-for-resource-creation%2F&#038;title=Azure%20Policy%20%7C%20Enforce%20tags%20for%20resource%20creation" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-policy-enforce-tags-for-resource-creation/" data-a2a-title="Azure Policy | Enforce tags for resource creation"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-policy-enforce-tags-for-resource-creation/">Azure Policy | Enforce tags for resource creation</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/azure-policy-enforce-tags-for-resource-creation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Govern your Azure environment</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/govern-your-azure-environment/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/govern-your-azure-environment/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Sun, 28 Jul 2019 18:15:01 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure governance]]></category>
		<category><![CDATA[azurebootcamp]]></category>
		<category><![CDATA[presentation]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=2773</guid>

					<description><![CDATA[<p>Govern your Azure environment It was a day full of Microsoft Azure and technology, from both IT Pro &#38; Dev</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/govern-your-azure-environment/">Govern your Azure environment</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Govern your Azure environment</h1>
<p>It was a day full of Microsoft Azure and technology, from both IT Pro &amp; Dev perspective. A sunny day at Athens, with a lot of fun. For sure we had a great time!</p>
<p>You can download my Athens Azure Bootcamp 2019 presentation, Govern your Azure environment, from this <a href="https://papostolidisgr-my.sharepoint.com/:p:/g/personal/pantelis_e-apostolidis_gr/EUS8pnejNdNEhrm0GVe4qaYBkFH2s_ZZKqGh9AaDY0NTFw?e=nQaNSD">link</a>: <a href="https://papostolidisgr-my.sharepoint.com/:p:/g/personal/pantelis_e-apostolidis_gr/EUS8pnejNdNEhrm0GVe4qaYBkFH2s_ZZKqGh9AaDY0NTFw?e=nQaNSD">https://papostolidisgr-my.sharepoint.com/:p:/g/personal/pantelis_e-apostolidis_gr/EUS8pnejNdNEhrm0GVe4qaYBkFH2s_ZZKqGh9AaDY0NTFw?e=nQaNSD</a></p>
<p>Please find the demos of my presentation at the <a href="https://www.e-apostolidis.gr/videos/">Videos</a> page: <a href="https://www.e-apostolidis.gr/videos/">https://www.e-apostolidis.gr/videos/</a></p>
<p>Standardize &amp; enforce your company&#8217;s Azure Resources configuration, for regulatory compliance, cost control, security &amp; design consistency</p>
<p id="UWhJgpl"><img loading="lazy" decoding="async" class="alignnone wp-image-2775 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/07/img_5d3de3d139c49.png" alt="aab" width="1188" height="665" /></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:pro&#120;im&#097;&#103;&#114;&#064;ho&#116;ma&#105;&#108;&#046;&#099;&#111;&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fgovern-your-azure-environment%2F&amp;linkname=Govern%20your%20Azure%20environment" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fgovern-your-azure-environment%2F&amp;linkname=Govern%20your%20Azure%20environment" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fgovern-your-azure-environment%2F&#038;title=Govern%20your%20Azure%20environment" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/govern-your-azure-environment/" data-a2a-title="Govern your Azure environment"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/govern-your-azure-environment/">Govern your Azure environment</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/govern-your-azure-environment/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Policy &#124; Limit the Azure VM Sizes</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-policy-limit-the-azure-vm-sizes/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-policy-limit-the-azure-vm-sizes/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 28 May 2019 13:50:16 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure governance]]></category>
		<category><![CDATA[azure policy]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[policy]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=2629</guid>

					<description><![CDATA[<p>Azure Policy &#124; Limit the Azure VM Sizes Azure Governance This post, Azure Policy, is the first of a series</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-policy-limit-the-azure-vm-sizes/">Azure Policy | Limit the Azure VM Sizes</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">Azure Policy | Limit the Azure VM Sizes</h1>
<h2 style="text-align: justify;">Azure Governance</h2>
<p style="text-align: justify;">This post, Azure Policy, is the first of a series of posts about Azure Governance. The idea is to explain through examples and how-to-guides, the tools that Microsoft Azure provides to help the administrators to enforce rules to all subscriptions. Some examples of those rules are, to help the organizations to stay compliant with their corporate standards, to standardize the resources creation and management, to manage the permissions and access controls, etc.</p>
<h2 style="text-align: justify;">Azure Policy</h2>
<p style="text-align: justify;">Azure Policy is a powerful tool for Azure Governance. With Azure Policy we can define rules for all Azure Subscriptions the we manage. We can use this rules for simple limitation actions, like permitting only specific VM Series and Sizes that can be created and also more complex rule sets that helps you standardize the whole Azure deployment.</p>
<h3 style="text-align: justify;">Limit the Azure VM Sizes</h3>
<p style="text-align: justify;">In this fist post we will go through a simple policy, the &#8220;Allowed virtual machine SKUs&#8221;. With this policy  you can control what Azure VM series and sizes are permitted for deployment. You can apply this policy  to a whole Management group, to a Subscription or to a single Resource Group.</p>
<h3 style="text-align: justify;">Step by Step Guide</h3>
<p style="text-align: justify;">Open the Azure portal, https://portal.azure.com, and login with your account. At the top search box write &#8220;policy&#8221;. From the search results select the &#8220;policy&#8221;.</p>
<p id="mLyGndu" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2630 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2adca1990.png" alt="Azure Policy" width="1044" height="639" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2adca1990.png 1044w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2adca1990-300x184.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2adca1990-768x470.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2adca1990-1024x627.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2adca1990-600x367.png 600w" sizes="auto, (max-width: 1044px) 100vw, 1044px" /></p>
<p style="text-align: justify;">At the Policy screen, select the &#8220;Definitions&#8221;. To create and apply a policy we need to start from a Policy Definition.</p>
<p id="raUoVTI" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2631 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2b0eaaac0.png" alt="Azure Policy" width="877" height="495" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2b0eaaac0.png 877w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2b0eaaac0-300x169.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2b0eaaac0-768x433.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2b0eaaac0-600x339.png 600w" sizes="auto, (max-width: 877px) 100vw, 877px" /></p>
<p style="text-align: justify;">At the Policy Definition screen, we can filter the definitions by scope, definition type, type and category. The &#8220;Allowed virtual machine SKUs&#8221; definition is under the &#8220;Compute&#8221; category. At the Category drop down menu, deselect everything and select only the &#8220;Compute&#8221;. Press the &#8220;Allowed virtual machine SKUs&#8221; definition.</p>
<p id="rgchCRY" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2633 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2c02879bd.png" alt="Azure Policy" width="1134" height="491" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c02879bd.png 1134w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c02879bd-300x130.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c02879bd-768x333.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c02879bd-1024x443.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c02879bd-600x260.png 600w" sizes="auto, (max-width: 1134px) 100vw, 1134px" /></p>
<p style="text-align: justify;">The &#8220;Allowed virtual machine SKUs&#8221; definition will open. Here we can see the code beneath the definition. It is written in json format. If we want to make changes at the definition we must first press &#8220;Duplicate definition&#8221;. This will create a copy of the definition. Then we can open the definition duplicatie and press &#8220;Edit definition. We will cover this at a future post.</p>
<p style="text-align: justify;">To select the VM sizes, the scope and apply the definition, press &#8220;Assign&#8221;</p>
<p id="ORMJNZu" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2634 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2c2b684c6.png" alt="Azure Policy" width="873" height="804" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c2b684c6.png 873w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c2b684c6-300x276.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c2b684c6-768x707.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c2b684c6-600x553.png 600w" sizes="auto, (max-width: 873px) 100vw, 873px" /></p>
<h3 style="text-align: justify;">Set the scope</h3>
<p style="text-align: justify;">At the Assign policy screen, first we need to select the scope. The scope is where the policy definition will apply. To set the scope press the little blue box with the three dots.</p>
<p id="DzuGnPb" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2635 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2c74f2737.png" alt="Azure Policy" width="849" height="898" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c74f2737.png 849w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c74f2737-284x300.png 284w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c74f2737-768x812.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c74f2737-600x635.png 600w" sizes="auto, (max-width: 849px) 100vw, 849px" /></p>
<p style="text-align: justify;">For scope, we can select a whole Management group, a whole subscription or a single Resource Group.</p>
<p id="YmcgGYT" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2636 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2c91f2c13.png" alt="Azure Policy" width="594" height="370" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c91f2c13.png 594w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2c91f2c13-300x187.png 300w" sizes="auto, (max-width: 594px) 100vw, 594px" /></p>
<h3 style="text-align: justify;">Select the Azure VM SKUs</h3>
<p style="text-align: justify;">After the scope, we need to select the allowed Azure VM SKUs. Open the drop down menu and select the SKUs that you will allow.</p>
<p id="zgITsSJ" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2637 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2cec6b7b5.png" alt="Azure Policy" width="826" height="605" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2cec6b7b5.png 826w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2cec6b7b5-300x220.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2cec6b7b5-768x563.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2cec6b7b5-600x439.png 600w" sizes="auto, (max-width: 826px) 100vw, 826px" /></p>
<p style="text-align: justify;">At this test policy, I selected all Standard F1-4 series, the Standard F2s &#8211; 4s and the Standard F2s_v2 &#8211; 4s_v2.</p>
<p style="text-align: justify;">We can change the &#8220;Assignment Name&#8221; to easily find the specific assignment at the Assigned Policies list. I changed the name to &#8220;Allowed only F1-4 virtual machine SKUs&#8221;</p>
<p style="text-align: justify;">The next step is the &#8220;Managed Identity&#8221;. Managed identity creates an Azure AD Identity, like a service account, that is used for resource creation. We need this only for some specific policies that must create a resource if it is doesn&#8217;t exists.</p>
<p style="text-align: justify;">We don&#8217;t need a Managed Identity to limit the Azure VM SKU sizes. So now we can press &#8220;Assign&#8221;.</p>
<p id="cgeKNTn" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2638 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2d0dafe3a.png" alt="Azure Policy" width="840" height="417" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2d0dafe3a.png 840w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2d0dafe3a-300x149.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2d0dafe3a-768x381.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2d0dafe3a-600x298.png 600w" sizes="auto, (max-width: 840px) 100vw, 840px" /></p>
<p style="text-align: justify;">A notification will inform you that the Policy will take effect after about 30 minutes. The policy needs this time to apply the rules to the selected scope.</p>
<p id="CbOSkoi" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2639 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced2d39cabda.png" alt="Azure Policy" width="512" height="251" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2d39cabda.png 512w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced2d39cabda-300x147.png 300w" sizes="auto, (max-width: 512px) 100vw, 512px" /></p>
<p style="text-align: justify;">Back to the policy Assignments screen, hit refresh and you will see the new Policy Assignment&#8217;s name and the Scope.</p>
<p id="DdEoYdr" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2643 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced352439417.png" alt="Azure Policy" width="930" height="572" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced352439417.png 930w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced352439417-300x185.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced352439417-768x472.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced352439417-600x369.png 600w" sizes="auto, (max-width: 930px) 100vw, 930px" /></p>
<h3 style="text-align: justify;">Test the policy</h3>
<p style="text-align: justify;">To test the policy, I waited 30 minutes and tried to create a Standard DS1 v2 VM at the devrg Resource Group. Although I am the Subscription Owner, the Service admin, the one that created the policy assignment, the Azure Resource Manager doesn&#8217;t allow me to create this VM.</p>
<p id="RbvPdbR" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2644 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced36916e198.png" alt="Azure Policy" width="738" height="438" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced36916e198.png 738w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced36916e198-300x178.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced36916e198-600x356.png 600w" sizes="auto, (max-width: 738px) 100vw, 738px" /></p>
<p style="text-align: justify;">And the error details: &#8220;disallowed by policy&#8221;</p>
<p id="CNaPmMi" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-2645 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/img_5ced36b22e986.png" alt="Azure Policy" width="545" height="367" srcset="https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced36b22e986.png 545w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced36b22e986-300x202.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2019/05/img_5ced36b22e986-120x80.png 120w" sizes="auto, (max-width: 545px) 100vw, 545px" /></p>
<p style="text-align: justify;">You can find more about Azure Policy at Microsoft Docs: <a href="https://docs.microsoft.com/en-us/azure/governance/policy/">https://docs.microsoft.com/en-us/azure/governance/policy/</a></p>
<p>You can also check my webinar: [embedyt] https://www.youtube.com/watch?v=QHk3XhnomaE[/embedyt]</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;&#111;&#120;&#105;magr&#064;h&#111;t&#109;&#097;&#105;l.&#099;&#111;m" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-policy-limit-the-azure-vm-sizes%2F&amp;linkname=Azure%20Policy%20%7C%20Limit%20the%20Azure%20VM%20Sizes" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-policy-limit-the-azure-vm-sizes%2F&amp;linkname=Azure%20Policy%20%7C%20Limit%20the%20Azure%20VM%20Sizes" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-policy-limit-the-azure-vm-sizes%2F&#038;title=Azure%20Policy%20%7C%20Limit%20the%20Azure%20VM%20Sizes" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-policy-limit-the-azure-vm-sizes/" data-a2a-title="Azure Policy | Limit the Azure VM Sizes"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-policy-limit-the-azure-vm-sizes/">Azure Policy | Limit the Azure VM Sizes</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/azure-policy-limit-the-azure-vm-sizes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
