The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I'm trying to use the Power BI Rest API via Powershell authenticating with my service principle to retrieve a workspaceid for a given named workspace via "Get-PowerBIWorkspace", unfortunately I receive "Get-PowerBIWorkspace : Operation returned an invalid status code 'Unauthorized'"?? Do service principles not have access to this API? I can access via "Login-PowerBIServiceAccount" authenticating with my Power BI Admin account so I guess not. How can I re-write the below for the APIs a service principle can access?...
Solved! Go to Solution.
Fixed this by removing "-Scope Organization"
That was surprisingly easy 🙂
Fixed this by removing "-Scope Organization"
That was surprisingly easy 🙂
User | Count |
---|---|
6 | |
4 | |
3 | |
3 | |
2 |
User | Count |
---|---|
9 | |
7 | |
6 | |
5 | |
4 |