{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/6447","repository_url":"https://api.github.com/repos/Azure/azure-powershell","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6447/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6447/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6447/events","html_url":"https://github.com/Azure/azure-powershell/issues/6447","id":331721365,"node_id":"MDU6SXNzdWUzMzE3MjEzNjU=","number":6447,"title":"Set-AzureRMResource hangs indefinitely instead of failing attempting to apply a tag to a DSC Configuration resource type.","user":{"login":"jmilczek","id":13070872,"node_id":"MDQ6VXNlcjEzMDcwODcy","avatar_url":"https://avatars0.githubusercontent.com/u/13070872?v=4","gravatar_id":"","url":"https://api.github.com/users/jmilczek","html_url":"https://github.com/jmilczek","followers_url":"https://api.github.com/users/jmilczek/followers","following_url":"https://api.github.com/users/jmilczek/following{/other_user}","gists_url":"https://api.github.com/users/jmilczek/gists{/gist_id}","starred_url":"https://api.github.com/users/jmilczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmilczek/subscriptions","organizations_url":"https://api.github.com/users/jmilczek/orgs","repos_url":"https://api.github.com/users/jmilczek/repos","events_url":"https://api.github.com/users/jmilczek/events{/privacy}","received_events_url":"https://api.github.com/users/jmilczek/received_events","type":"User","site_admin":false},"labels":[{"id":334528495,"node_id":"MDU6TGFiZWwzMzQ1Mjg0OTU=","url":"https://api.github.com/repos/Azure/azure-powershell/labels/Investigate","name":"Investigate","color":"0052cc","default":false},{"id":185013623,"node_id":"MDU6TGFiZWwxODUwMTM2MjM=","url":"https://api.github.com/repos/Azure/azure-powershell/labels/Resource%20Manager","name":"Resource Manager","color":"DDDDDD","default":false}],"state":"open","locked":false,"assignee":{"login":"cormacpayne","id":4462409,"node_id":"MDQ6VXNlcjQ0NjI0MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/4462409?v=4","gravatar_id":"","url":"https://api.github.com/users/cormacpayne","html_url":"https://github.com/cormacpayne","followers_url":"https://api.github.com/users/cormacpayne/followers","following_url":"https://api.github.com/users/cormacpayne/following{/other_user}","gists_url":"https://api.github.com/users/cormacpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/cormacpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cormacpayne/subscriptions","organizations_url":"https://api.github.com/users/cormacpayne/orgs","repos_url":"https://api.github.com/users/cormacpayne/repos","events_url":"https://api.github.com/users/cormacpayne/events{/privacy}","received_events_url":"https://api.github.com/users/cormacpayne/received_events","type":"User","site_admin":false},"assignees":[{"login":"cormacpayne","id":4462409,"node_id":"MDQ6VXNlcjQ0NjI0MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/4462409?v=4","gravatar_id":"","url":"https://api.github.com/users/cormacpayne","html_url":"https://github.com/cormacpayne","followers_url":"https://api.github.com/users/cormacpayne/followers","following_url":"https://api.github.com/users/cormacpayne/following{/other_user}","gists_url":"https://api.github.com/users/cormacpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/cormacpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cormacpayne/subscriptions","organizations_url":"https://api.github.com/users/cormacpayne/orgs","repos_url":"https://api.github.com/users/cormacpayne/repos","events_url":"https://api.github.com/users/cormacpayne/events{/privacy}","received_events_url":"https://api.github.com/users/cormacpayne/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-12T19:27:02Z","updated_at":"2018-07-12T19:52:50Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n\r\nIf this issue is a bug report:\r\n- Upgrade to the latest version of AzureRM and verify you are able to reproduce the issue\r\n    - You can install the latest version of AzureRM from the PowerShell Gallery\r\n        - https://www.powershellgallery.com/packages/AzureRM\r\n    - You can also install the latest version from the Releases section\r\n        - https://github.com/Azure/azure-powershell/releases\r\n- Ensure that you repro the issue with $DebugPreference = \"Continue\" to receive the debug stream\r\n- If this bug involves an exception being thrown, please run Resolve-AzureRmError to receive extended information on the error\r\n- Fill out the below template\r\n\r\nIf this issue is not a bug report, please remove the below template\r\n\r\n-->\r\n\r\n### Description\r\n\r\nUnable to perform suggested steps to propagate Resource Group tags to Resources as mentioned in the following article Microsoft:\r\n\r\nhttps://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags\r\n\r\n### Script/Steps for Reproduction\r\n\r\n$groups = Get-AzureRmResourceGroup\r\nforeach ($g in $groups)\r\n{\r\n    Find-AzureRmResource -ResourceGroupName $g.ResourceGroupName | ForEach-Object {Set-AzureRmResource -ResourceId $_.ResourceId -Tag $g.Tags -Force }\r\n}\r\n\r\n### Module Version\r\n\r\nAzureRM 6.2.1\r\n\r\n### Environment Data\r\n\r\nName                           Value                                                                                                                                                                                                                             \r\n----                           -----                                                                                                                                                                                                                             \r\nPSVersion                      5.0.10514.6                                                                                                                                                                                                                       \r\nWSManStackVersion              3.0                                                                                                                                                                                                                               \r\nSerializationVersion           1.1.0.1                                                                                                                                                                                                                           \r\nCLRVersion                     4.0.30319.42000                                                                                                                                                                                                                   \r\nBuildVersion                   10.0.10514.6                                                                                                                                                                                                                      \r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                                                                           \r\nPSRemotingProtocolVersion      2.3   \r\n\r\n### Debug Output\r\n\r\nI do not feel comfortable sharing this output to the public, but it seems to be in an endless loop attempting to apply a tag when it gets to a resource of the DSC Configuration type.\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/404630715","html_url":"https://github.com/Azure/azure-powershell/issues/6447#issuecomment-404630715","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6447","id":404630715,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDYzMDcxNQ==","user":{"login":"cormacpayne","id":4462409,"node_id":"MDQ6VXNlcjQ0NjI0MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/4462409?v=4","gravatar_id":"","url":"https://api.github.com/users/cormacpayne","html_url":"https://github.com/cormacpayne","followers_url":"https://api.github.com/users/cormacpayne/followers","following_url":"https://api.github.com/users/cormacpayne/following{/other_user}","gists_url":"https://api.github.com/users/cormacpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/cormacpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cormacpayne/subscriptions","organizations_url":"https://api.github.com/users/cormacpayne/orgs","repos_url":"https://api.github.com/users/cormacpayne/repos","events_url":"https://api.github.com/users/cormacpayne/events{/privacy}","received_events_url":"https://api.github.com/users/cormacpayne/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T19:52:49Z","updated_at":"2018-07-12T19:52:49Z","author_association":"MEMBER","body":"@jmilczek I'm unable to reproduce this issue in the latest version of `AzureRM` when updating a variety of resources. Are you only seeing this issue for a specific type of resource (in this case, DSC configuration)?"}}
{"actor":{"display_login":"cormacpayne"}}