How to grant PowerBI Service Workspace access using PowerShell


Introduction

If you are responsible for granting PowerBI Service workspace access within your organisation, then you’ll likely be aware that you can simply grant this access via app.powerbi.com. However, this can become repetitive if you are asked to maintain this regularly and time-consuming if you need to apply this to multiple users at once. By utilizing PowerShell, you are able to grant Power BI  workspace access quickly and efficiently via some simple scripting.

Set up steps

Open PowerShell with administrative rights.

If you have not already done so, you will be required to install the PowerBI cmdlet. This only needs to