{"action":"closed","issue":{"url":"https://api.github.com/repos/PowerShell/xExchange/issues/39","labels_url":"https://api.github.com/repos/PowerShell/xExchange/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/xExchange/issues/39/comments","events_url":"https://api.github.com/repos/PowerShell/xExchange/issues/39/events","html_url":"https://github.com/PowerShell/xExchange/issues/39","id":113368801,"number":39,"title":"MSFT_xExchReceiveConnector returns always false when using custom permissions","user":{"login":"IngoGege","id":14329934,"avatar_url":"https://avatars.githubusercontent.com/u/14329934?v=3","gravatar_id":"","url":"https://api.github.com/users/IngoGege","html_url":"https://github.com/IngoGege","followers_url":"https://api.github.com/users/IngoGege/followers","following_url":"https://api.github.com/users/IngoGege/following{/other_user}","gists_url":"https://api.github.com/users/IngoGege/gists{/gist_id}","starred_url":"https://api.github.com/users/IngoGege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngoGege/subscriptions","organizations_url":"https://api.github.com/users/IngoGege/orgs","repos_url":"https://api.github.com/users/IngoGege/repos","events_url":"https://api.github.com/users/IngoGege/events{/privacy}","received_events_url":"https://api.github.com/users/IngoGege/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-26T14:30:28Z","updated_at":"2015-11-05T16:59:01Z","closed_at":"2015-11-05T16:59:01Z","body":"MSFT_xExchReceiveConnector retunrs always false, when you are using custom permissions on the connector. An example would be an anonymous relaying connector:\r\nIt will show also the permissiongroup custom, but you can't use custom to set permissions.\r\n\r\nA way to fix this would be to remove 'Custom' as a return PermissionGroups. For anonymous relaying we could add a switch('AllowAnonymousRelay'=$true/$false) to add 'NT AUTHORITY\\ANONYMOUS LOGON' to this connector.\r\n@mhendric : What do you think?"}}