In our workspace in PowerBI service there is a shared dataaset. The users for this workspace are changing very often, so I created a script in PowerShell to process a list of users and grant them "View" permissions to the workspace. Now we found out, that users additionally need a "build"-permission granted on a shared dataset - otherwise they are not able to export data to excel (see Build permission for shared datasets - Power BI | Microsoft Docs). Currently it is not possible to grant the "build"-permission by REST-API and / or PowerShell. I think it would be useful if this can be done programmatically in the future.