{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/1962","repository_url":"https://api.github.com/repos/Azure/azure-quickstart-templates","labels_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/1962/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/1962/comments","events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/1962/events","html_url":"https://github.com/Azure/azure-quickstart-templates/issues/1962","id":154987783,"number":1962,"title":"Problems with ConfigureWinRM.ps1 ","user":{"login":"vPadmasri","id":19385145,"avatar_url":"https://avatars.githubusercontent.com/u/19385145?v=3","gravatar_id":"","url":"https://api.github.com/users/vPadmasri","html_url":"https://github.com/vPadmasri","followers_url":"https://api.github.com/users/vPadmasri/followers","following_url":"https://api.github.com/users/vPadmasri/following{/other_user}","gists_url":"https://api.github.com/users/vPadmasri/gists{/gist_id}","starred_url":"https://api.github.com/users/vPadmasri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vPadmasri/subscriptions","organizations_url":"https://api.github.com/users/vPadmasri/orgs","repos_url":"https://api.github.com/users/vPadmasri/repos","events_url":"https://api.github.com/users/vPadmasri/events{/privacy}","received_events_url":"https://api.github.com/users/vPadmasri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-16T08:57:03Z","updated_at":"2016-05-17T22:32:28Z","closed_at":null,"body":"### Issue Details\r\nWe are trying to Update the Windows RM Group VM with a self signed certification as we want to deploy to IIS using the RM group and we understand the  custom script extension which executes the script ConfigureWinRM.ps1 will do the same on the target machine. \r\n\r\n### Repro steps \r\nWhen we are using this script as a part of Release definition it is giving the following error \r\n\r\n\r\n2016-05-12T13:40:56.8068243Z ##[command]Import-Module -Name **l\\ResourceManager\\AzureResourceManager\\AzureRM.Profile\\AzureRM.Profile.psd1 -Global\r\n\r\n2 \r\n2016-05-12T13:41:00.2247654Z ##[command]Add-AzureRMAccount -ServicePrincipal -Tenant ******** -Credential System.Management.Automation.PSCredential\r\n\r\n3 \r\n2016-05-12T13:41:01.7741550Z ##[command]Select-AzureRMSubscription -SubscriptionId 211e3925-a492-44d7-8057-02f6cdf86410 -TenantId ********\r\n\r\n4 \r\n2016-05-12T13:41:03.3136447Z ##[error]WSManFault\r\n\r\n5 \r\n2016-05-12T13:41:03.3556451Z ##[error]    Message\r\n\r\n6 \r\n2016-05-12T13:41:03.3566448Z ##[error]        ProviderFault\r\n\r\n7 \r\n2016-05-12T13:41:03.3566448Z ##[error]            WSManFault\r\n\r\n8 \r\n2016-05-12T13:41:03.3576442Z ##[error]                Message = Access is denied. \r\n\r\n9 \r\n2016-05-12T13:41:03.3586444Z ##[error]Error number:  -2147024891 0x80070005\r\n\r\n10 \r\n2016-05-12T13:41:03.3596447Z ##[error]Access is denied. \r\n\r\n11 \r\n2016-05-12T13:41:06.7825404Z ##[error]CertEnroll::CX509Enrollment::_CreateRequest: Access denied. 0x80090010 (-2146893808 NTE_PERM)\r\n\r\n12 \r\n\r\n\r\n\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/comments/219874219","html_url":"https://github.com/Azure/azure-quickstart-templates/issues/1962#issuecomment-219874219","issue_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/1962","id":219874219,"user":{"login":"singhkay","id":6164178,"avatar_url":"https://avatars.githubusercontent.com/u/6164178?v=3","gravatar_id":"","url":"https://api.github.com/users/singhkay","html_url":"https://github.com/singhkay","followers_url":"https://api.github.com/users/singhkay/followers","following_url":"https://api.github.com/users/singhkay/following{/other_user}","gists_url":"https://api.github.com/users/singhkay/gists{/gist_id}","starred_url":"https://api.github.com/users/singhkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhkay/subscriptions","organizations_url":"https://api.github.com/users/singhkay/orgs","repos_url":"https://api.github.com/users/singhkay/repos","events_url":"https://api.github.com/users/singhkay/events{/privacy}","received_events_url":"https://api.github.com/users/singhkay/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T22:32:28Z","updated_at":"2016-05-17T22:32:28Z","body":"@vPadmasri What template is this?"}}