{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/1464","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1464/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1464/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1464/events","html_url":"https://github.com/Azure/azure-powershell/issues/1464","id":121403484,"number":1464,"title":"Add-AzureRmDnsRecordConfig conversion error with DnsRecordSet","user":{"login":"mcm-ham","id":8325692,"avatar_url":"https://avatars.githubusercontent.com/u/8325692?v=3","gravatar_id":"","url":"https://api.github.com/users/mcm-ham","html_url":"https://github.com/mcm-ham","followers_url":"https://api.github.com/users/mcm-ham/followers","following_url":"https://api.github.com/users/mcm-ham/following{/other_user}","gists_url":"https://api.github.com/users/mcm-ham/gists{/gist_id}","starred_url":"https://api.github.com/users/mcm-ham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcm-ham/subscriptions","organizations_url":"https://api.github.com/users/mcm-ham/orgs","repos_url":"https://api.github.com/users/mcm-ham/repos","events_url":"https://api.github.com/users/mcm-ham/events{/privacy}","received_events_url":"https://api.github.com/users/mcm-ham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T05:12:05Z","updated_at":"2015-12-10T05:12:05Z","closed_at":null,"body":"Steps to reproduce\r\n\r\n```\r\nLogin-AzureRmAccount\r\nNew-AzureRmDnsZone -Name contoso.com -ResourceGroupName MyAzureResourceGroup\r\nNew-AzureRmDnsRecordSet -Name \"@\" -RecordType \"MX\" -ZoneName \"contoso.com\" -ResourceGroupName \"MyAzureResourceGroup\" -Ttl 3600\r\n$rs = Get-AzureRmDnsRecordSet -ResourceGroupName MyAzureResourceGroup -ZoneName contoso.com -RecordType MX\r\nAdd-AzureRmDnsRecordConfig -Exchange \"mail.contoso.com\" -Preference 0 -RecordSet $rs\r\n```\r\nI then get this error:\r\n`Add-AzureRmDnsRecordConfig : Cannot convert 'Microsoft.Azure.Commands.Dns.DnsRecordSet' to the type 'Microsoft.Azure.Commands.Dns.DnsRecordSet' required by \r\nparameter 'RecordSet'. Specified method is not supported.`"}}