{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/3325","repository_url":"https://api.github.com/repos/Azure/azure-powershell","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/3325/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/3325/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/3325/events","html_url":"https://github.com/Azure/azure-powershell/issues/3325","id":197668847,"number":3325,"title":"Get-AzureRmIotHub could not convert string'routes' to dictionary key","user":{"login":"lex88w","id":24515162,"avatar_url":"https://avatars.githubusercontent.com/u/24515162?v=3","gravatar_id":"","url":"https://api.github.com/users/lex88w","html_url":"https://github.com/lex88w","followers_url":"https://api.github.com/users/lex88w/followers","following_url":"https://api.github.com/users/lex88w/following{/other_user}","gists_url":"https://api.github.com/users/lex88w/gists{/gist_id}","starred_url":"https://api.github.com/users/lex88w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lex88w/subscriptions","organizations_url":"https://api.github.com/users/lex88w/orgs","repos_url":"https://api.github.com/users/lex88w/repos","events_url":"https://api.github.com/users/lex88w/events{/privacy}","received_events_url":"https://api.github.com/users/lex88w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-27T08:45:50Z","updated_at":"2016-12-27T08:45:50Z","closed_at":null,"body":"### Cmdlet(s)\r\nGet-AzureRmIotHub\r\n\r\n### PowerShell Version\r\n\r\n     5.0.10586.117\r\n\r\n\r\n### Module Version\r\n\r\n### OS Version\r\nInstructions: to get OS version, type `$PSversionTable` and look for value associated with `BuildVersion`\r\nBuildVersion                   10.0.10586.117\r\n### Description\r\n\r\n### Debug Output\r\n\r\n\r\nGet-AzureRmIotHub : Could not convert string 'Routes' to dictionary key type\r\n'Microsoft.Azure.Commands.Management.IotHub.Models.PSDiagnosticCategory'. Create a TypeConverter to convert from the\r\nstring to the key type object. Path '[0].properties.operationsMonitoringProperties.events.Routes', line 1, position\r\n1590.\r\nAt line:1 char:1\r\n+ Get-AzureRmIotHub\r\n+ ~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : CloseError: (:) [Get-AzureRmIotHub], JsonSerializationException\r\n    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Management.IotHub.GetAzureRmIotHub\r\n\r\n### Script/Steps for Reproduction\r\n"}}
{"actor":{"display_login":"lex88w"}}