{"action":"created","issue":{"url":"https://api.github.com/repos/DevScope/powerbi-powershell-modules/issues/40","repository_url":"https://api.github.com/repos/DevScope/powerbi-powershell-modules","labels_url":"https://api.github.com/repos/DevScope/powerbi-powershell-modules/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/DevScope/powerbi-powershell-modules/issues/40/comments","events_url":"https://api.github.com/repos/DevScope/powerbi-powershell-modules/issues/40/events","html_url":"https://github.com/DevScope/powerbi-powershell-modules/issues/40","id":336060251,"node_id":"MDU6SXNzdWUzMzYwNjAyNTE=","number":40,"title":"New-PBIGroupUser error when using -groupUserAccessRight Member","user":{"login":"aaronu7","id":3922844,"node_id":"MDQ6VXNlcjM5MjI4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3922844?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronu7","html_url":"https://github.com/aaronu7","followers_url":"https://api.github.com/users/aaronu7/followers","following_url":"https://api.github.com/users/aaronu7/following{/other_user}","gists_url":"https://api.github.com/users/aaronu7/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronu7/subscriptions","organizations_url":"https://api.github.com/users/aaronu7/orgs","repos_url":"https://api.github.com/users/aaronu7/repos","events_url":"https://api.github.com/users/aaronu7/events{/privacy}","received_events_url":"https://api.github.com/users/aaronu7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T02:59:54Z","updated_at":"2018-07-27T05:16:17Z","closed_at":null,"author_association":"NONE","body":"**Command:**\r\nNew-PBIGroupUser -authToken $token -groupId $groupId -emailAddress $email -groupUserAccessRight Member\r\n\r\n**Error:**\r\nInvoke-PBIRequest : The remote server returned an error: (400) Bad Request. - \r\n'{\"error\":{\"code\":\"UnsupportedAccessRightError\",\"pbi.error\":{\"code\":\"UnsupportedAccessRightError\",\"parameters\":{},\"details\":[]}}}'\r\nAt C:\\Program Files\\WindowsPowerShell\\Modules\\PowerBIPS\\2.0.1.3\\PowerBIPS.psm1:501 char:12\r\n+ ...   $result = Invoke-PBIRequest -authToken $authToken -method Post -res ...\r\n+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Write-Error], WebException\r\n    + FullyQualifiedErrorId : System.Net.WebException,Invoke-PBIRequest\r\n"},"comment":{"url":"https://api.github.com/repos/DevScope/powerbi-powershell-modules/issues/comments/408313880","html_url":"https://github.com/DevScope/powerbi-powershell-modules/issues/40#issuecomment-408313880","issue_url":"https://api.github.com/repos/DevScope/powerbi-powershell-modules/issues/40","id":408313880,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODMxMzg4MA==","user":{"login":"tonswart","id":18550104,"node_id":"MDQ6VXNlcjE4NTUwMTA0","avatar_url":"https://avatars1.githubusercontent.com/u/18550104?v=4","gravatar_id":"","url":"https://api.github.com/users/tonswart","html_url":"https://github.com/tonswart","followers_url":"https://api.github.com/users/tonswart/followers","following_url":"https://api.github.com/users/tonswart/following{/other_user}","gists_url":"https://api.github.com/users/tonswart/gists{/gist_id}","starred_url":"https://api.github.com/users/tonswart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonswart/subscriptions","organizations_url":"https://api.github.com/users/tonswart/orgs","repos_url":"https://api.github.com/users/tonswart/repos","events_url":"https://api.github.com/users/tonswart/events{/privacy}","received_events_url":"https://api.github.com/users/tonswart/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T05:16:17Z","updated_at":"2018-07-27T05:16:17Z","author_association":"NONE","body":"Mind the \"Note:\" on https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser\r\n\r\nAPI Version: v1.0 \r\nGrants the specified user permissions to the specified workspace.\r\nNote: Only Admin access right is supported. "}}
{"actor":{"display_login":"tonswart"}}