Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Can't add user as "Viewer" using "Add Group User" API

The "Viewer" role doesn't seem to be supported using this API: https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser. I get the error:

 

{
  "error": {
    "code": "UnsupportedAccessRightError",
    "pbi.error": {
      "code": "UnsupportedAccessRightError",
      "parameters": {},
      "details": []
    }
  }
}

 

After some testing, the Admin API does support the Viewer role: https://docs.microsoft.com/en-us/rest/api/power-bi/admin/groups_adduserasadmin 

 

Why doesn't the non-admin API support the new Viewer role?

 

Thanks,

 

Ed

Status: New
Comments
v-chuncz-msft
Community Support

@ed-freeman 

 

To get faster and better technical support for this issue, you may directly create a support ticket.