{"id":311,"date":"2015-10-08T15:09:00","date_gmt":"2015-10-08T15:09:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/azuregov\/2015\/10\/08\/configuring-arm-on-azure-gc\/"},"modified":"2015-10-08T15:09:00","modified_gmt":"2015-10-08T15:09:00","slug":"configuring-arm-on-azure-gc","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azuregov\/configuring-arm-on-azure-gc\/","title":{"rendered":"Configuring ARM on Azure GC"},"content":{"rendered":"<p><strong>**Update 6-12-2016:<\/strong> We posted additional details on Azure Government and PowerShell <a href=\"https:\/\/blogs.msdn.microsoft.com\/azuregov\/2016\/06\/12\/managing-azure-government-subscriptions-with-powershell\/\">here<\/a>.<\/p>\n<p><strong>**Update 4-9-2016: <\/strong>The Azure Module no longer requires\u00a0<em>switch-mode<\/em> and as such, these references have been removed. The Azure Government environment is now part of the install and is no longer required to be manually added&#8211;these instructions have been updated.<\/p>\n<p>This example starts with a newly minted Server 2012 R2. Using a brand new server, here are the steps to configure PowerShell for Azure Resource Manager on the Azure Government Cloud.<\/p>\n<div>1&#8211;Download and install the Web Platform Installer from <a href=\"http:\/\/www.microsoft.com\/web\/downloads\/platform.aspx\">here<\/a>\u00a0and click the <strong>Free Download<\/strong> button.<\/div>\n<p style=\"margin-left: 4pt\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/6557.2015-10-08_17-25-22.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/6557.2015-10-08_17-25-22.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<div>2&#8211;Select the latest Azure PowerShell release, by clicking the <strong>Add<\/strong> button.<\/div>\n<p style=\"margin-left: 4pt\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/6558.2015-10-08_17-13-20.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/6558.2015-10-08_17-13-20.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<div>3&#8211;Install the module by clicking the <strong>Install<\/strong>\u00a0button.<\/div>\n<p style=\"margin-left: 4pt\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/5141.2015-10-08_17-19-51.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/5141.2015-10-08_17-19-51.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<div>4&#8211;Click the <strong>I Accept<\/strong> button to continue.<\/div>\n<p style=\"margin-left: 4pt\">\u00a0<a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/0363.2015-10-08_17-22-44.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/0363.2015-10-08_17-22-44.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<div>5&#8211;Click the <strong>Finish<\/strong> button.<\/div>\n<p style=\"margin-left: 4pt\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/7215.2015-10-08_17-27-27.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/7215.2015-10-08_17-27-27.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<p>6&#8211;Register the <strong>Azure Government Account<\/strong> with the <strong>Azure Government Environment<\/strong> by entering the following:<\/p>\n<div style=\"margin-left: 31pt\">\n<table style=\"border-collapse: collapse\" border=\"0\">\n<colgroup>\n<col style=\"width: 623px\" \/><\/colgroup>\n<tbody valign=\"top\">\n<tr>\n<td style=\"padding-left: 7px;padding-right: 7px;border: solid 0.5pt\">\u00a0<span style=\"font-family: 'Lucida Console';font-size: 9pt;color: blue\">Add-AzureRMAccount\u00a0<\/span><span style=\"font-family: 'Lucida Console';font-size: 9pt;color: navy\">-EnvironmentName <\/span><span style=\"font-family: 'Lucida Console';font-size: 9pt;color: #8a2be2\">AzureUSGovernment<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div style=\"margin-left: 31pt\"><\/div>\n<div>7&#8211;Enter the credentials of a \u00a0valid Azure-G service user\u00a0and click the <strong>Continue<\/strong> button.<\/div>\n<p><span style=\"color: red\"><strong>NOTE<\/strong><\/span>: Ensure that all other browser windows are closed prior to performing this step so that previous session data is not present.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/3618.2015-10-08_17-43-16.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/3618.2015-10-08_17-43-16.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<div>8&#8211;Enter your <strong>password<\/strong> and click the <strong>Continue<\/strong> button.<\/div>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/6567.2015-10-08_17-43-51.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/6567.2015-10-08_17-43-51.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n<p>[Optional] If you have multiple subscriptions, use the following to select the one that you would like to use:<\/p>\n<table border=\"0\" width=\"465\">\n<colgroup>\n<col \/><\/colgroup>\n<tbody valign=\"top\">\n<tr>\n<td>\n<table style=\"height: 46px\" border=\"0\" width=\"611\">\n<colgroup>\n<col \/><\/colgroup>\n<tbody valign=\"top\">\n<tr>\n<td>\u00a0Select-AzureRMSubscription\u00a0-SubscriptionId\u00a0[SubscriptionID]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>9&#8211; To verify the\u00a0<strong>Azure Resource Manager\u00a0<\/strong>namespaces that are available, enter the following command:<\/p>\n<table border=\"0\">\n<colgroup>\n<col \/><\/colgroup>\n<tbody valign=\"top\">\n<tr>\n<td>Get-AzureRMResourceProvider<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Similar output should be displayed:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/2350.2015-10-08_18-01-07.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/2350.2015-10-08_18-01-07.png\" alt=\"\" border=\"0\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>**Update 6-12-2016: We posted additional details on Azure Government and PowerShell here. **Update 4-9-2016: The Azure Module no longer requires\u00a0switch-mode and as such, these references have been removed. The Azure Government environment is now part of the install and is no longer required to be manually added&#8211;these instructions have been updated. This example starts with [&hellip;]<\/p>\n","protected":false},"author":1756,"featured_media":20423,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[59,95,115,271,307,462],"class_list":["post-311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azuregov","tag-arm","tag-azure-government","tag-azure-resource-manager","tag-environment","tag-gc","tag-powershell"],"acf":[],"blog_post_summary":"<p>**Update 6-12-2016: We posted additional details on Azure Government and PowerShell here. **Update 4-9-2016: The Azure Module no longer requires\u00a0switch-mode and as such, these references have been removed. The Azure Government environment is now part of the install and is no longer required to be manually added&#8211;these instructions have been updated. This example starts with [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts\/311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/users\/1756"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/comments?post=311"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts\/311\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/media\/20423"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/media?parent=311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/categories?post=311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/tags?post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}