{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/3486","repository_url":"https://api.github.com/repos/Azure/azure-quickstart-templates","labels_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/3486/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/3486/comments","events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/3486/events","html_url":"https://github.com/Azure/azure-quickstart-templates/issues/3486","id":230292159,"number":3486,"title":"Deploying the Azure Resources through ARM from Visual Studio fails at first step...","user":{"login":"vgopensource","id":23493655,"avatar_url":"https://avatars2.githubusercontent.com/u/23493655?v=3","gravatar_id":"","url":"https://api.github.com/users/vgopensource","html_url":"https://github.com/vgopensource","followers_url":"https://api.github.com/users/vgopensource/followers","following_url":"https://api.github.com/users/vgopensource/following{/other_user}","gists_url":"https://api.github.com/users/vgopensource/gists{/gist_id}","starred_url":"https://api.github.com/users/vgopensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgopensource/subscriptions","organizations_url":"https://api.github.com/users/vgopensource/orgs","repos_url":"https://api.github.com/users/vgopensource/repos","events_url":"https://api.github.com/users/vgopensource/events{/privacy}","received_events_url":"https://api.github.com/users/vgopensource/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"bmoore-msft","id":10090014,"avatar_url":"https://avatars2.githubusercontent.com/u/10090014?v=3","gravatar_id":"","url":"https://api.github.com/users/bmoore-msft","html_url":"https://github.com/bmoore-msft","followers_url":"https://api.github.com/users/bmoore-msft/followers","following_url":"https://api.github.com/users/bmoore-msft/following{/other_user}","gists_url":"https://api.github.com/users/bmoore-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/bmoore-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmoore-msft/subscriptions","organizations_url":"https://api.github.com/users/bmoore-msft/orgs","repos_url":"https://api.github.com/users/bmoore-msft/repos","events_url":"https://api.github.com/users/bmoore-msft/events{/privacy}","received_events_url":"https://api.github.com/users/bmoore-msft/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmoore-msft","id":10090014,"avatar_url":"https://avatars2.githubusercontent.com/u/10090014?v=3","gravatar_id":"","url":"https://api.github.com/users/bmoore-msft","html_url":"https://github.com/bmoore-msft","followers_url":"https://api.github.com/users/bmoore-msft/followers","following_url":"https://api.github.com/users/bmoore-msft/following{/other_user}","gists_url":"https://api.github.com/users/bmoore-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/bmoore-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmoore-msft/subscriptions","organizations_url":"https://api.github.com/users/bmoore-msft/orgs","repos_url":"https://api.github.com/users/bmoore-msft/repos","events_url":"https://api.github.com/users/bmoore-msft/events{/privacy}","received_events_url":"https://api.github.com/users/bmoore-msft/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-05-22T06:02:02Z","updated_at":"2017-06-05T19:34:29Z","closed_at":"2017-06-05T19:34:29Z","body":"[Deploy-AzureResourceGroup.ps1](https://github.com/Azure/azure-quickstart-templates/blob/master/Deploy-AzureResourceGroup.ps1)\r\n\r\n### Issue Details\r\n\r\nI am trying to deploy resources to Azure using Visual Studio (ARM) and DSC but I just started facing issues from past week , it always complains about the -EnvironmentName resource , which should be default parameter , manual intelligence works fine and provide all the default details.\r\n\r\nanyone experience the same ?\r\n\r\n```\r\n_05:52:09 - [ERROR] Add-AzureRmAccount : A parameter cannot be found that matches parameter name \r\n05:52:09 - [ERROR] 'EnvironmentName'.\r\n05:52:09 - [ERROR] At line:1 char:2366\r\n05:52:09 - [ERROR] + ...abc@outlook.com' -EnvironmentName \r\n05:52:09 - [ERROR] 'AzureCloud'));&'c:\\users\\abc\\documents\\visua ...\r\n05:52:09 - [ERROR] +                    ~~~~~~~~~~~~~~~~\r\n05:52:09 - [ERROR]     + CategoryInfo          : InvalidArgument: (:) [Add-AzureRmAccount], Param \r\n05:52:09 - [ERROR]    eterBindingException\r\n05:52:09 - [ERROR]     + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Azure.Commands. \r\n05:52:09 - [ERROR]    Profile.AddAzureRMAccountCommand\r\n05:52:09 - [ERROR]  \r\n05:52:09 - [ERROR] Run Login-AzureRmAccount to login.\r\n[ERROR] + CategoryInfo          : InvalidOperation: (:) [New-AzureRmResourceGroup], PSInvalidOperationException\r\n[ERROR] + FullyQualifiedErrorId : InvalidOperation,Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupCmdlet\r\n05:52:09 - \r\n05:52:09 - Deploying template using PowerShell script failed\r\n```.\r\n\r\n### Repro steps\r\n1. Choose any template using Visual Studio for Azure resource Group.\r\n2. I choose simple \"Windows Virtual Machine\"\r\n3. Hit Deploy after putting credentials , got the error.\r\n4. EnvironmentName is additional Parameter , Not able to induce this.\r\n\r\n\r\nI understand Add-AzureRmAccount has the -EnvironmentName as a sub option but this must be calculated through the Visual Studio or script should be able to get this passed to VS.\r\n\r\nAny help would be appreciated ?"},"comment":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/comments/306280810","html_url":"https://github.com/Azure/azure-quickstart-templates/issues/3486#issuecomment-306280810","issue_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/3486","id":306280810,"user":{"login":"bmoore-msft","id":10090014,"avatar_url":"https://avatars2.githubusercontent.com/u/10090014?v=3","gravatar_id":"","url":"https://api.github.com/users/bmoore-msft","html_url":"https://github.com/bmoore-msft","followers_url":"https://api.github.com/users/bmoore-msft/followers","following_url":"https://api.github.com/users/bmoore-msft/following{/other_user}","gists_url":"https://api.github.com/users/bmoore-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/bmoore-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmoore-msft/subscriptions","organizations_url":"https://api.github.com/users/bmoore-msft/orgs","repos_url":"https://api.github.com/users/bmoore-msft/repos","events_url":"https://api.github.com/users/bmoore-msft/events{/privacy}","received_events_url":"https://api.github.com/users/bmoore-msft/received_events","type":"User","site_admin":false},"created_at":"2017-06-05T19:34:29Z","updated_at":"2017-06-05T19:34:29Z","body":"@vgopensource - Grab the latest version of the PS Cmdlets - 4.0.2 - https://github.com/Azure/azure-powershell/releases/tag/v4.0.2-May2017.  There was a breaking change in the 4.0 release that, well, broke us.\r\n\r\n@krnese - thanks for the ping..."}}
{"actor":{"display_login":"bmoore-msft"}}