Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
After unsuccessull tests, i'd like to know if a service principal can use the powershell module
MicrosoftPowerBIMgmt in write mode ? I didn't find any doc.
Indeed, i try to rename workspaces but i always get an "unauthorized" message in powerShell authenticated via my service principal. The same command with my personnal account is ok. Both my account and my service principal are PowerBi Admin. Read-only api option is activated in PowerBi service.
Set-PowerBIWorkspace -Scope Organization -Id 1efe3ca9-62dd-4b63-bca4-8eb433f8f0ff -Name NewName -Description "Test" -ErrorAction Stop
WARNING: Only preview workspaces are supported when -Scope Organization is specified
Set-PowerBIWorkspace: Operation returned an invalid status code 'Unauthorized'
Read data is possible and works fine for my service principal.
Any idea ?
Thanks 😉
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |