This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hi,
I have a PowerShell script for Rebind my report in a workspace.
When I run that I get this error:
"Invoke-PowerBIRestMethod : Une ou plusieurs erreurs se sont produites.
Au caractère path\Desktop\TestRebind.ps1:38 : 1
+ Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/gro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
+ FullyQualifiedErrorId : Une ou plusieurs erreurs se sont produites.,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod"
My token looks like : "Bearer *********"
My API permissions are Read and Write ALL except for Tenant because I am not admin
Someone can help me please ?
Solved! Go to Solution.
Hi @v-lionel-msft ,
Yes I'm sure I have these permissions.
My error was fixed.
My problem was the "Headers" parameter of my invoke method.
I didn't need the token since I was already logged in.
Hi @Ybam ,
thank you for your sharing.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Ybam ,
Do you really have these two permissions?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-lionel-msft ,
Yes I'm sure I have these permissions.
My error was fixed.
My problem was the "Headers" parameter of my invoke method.
I didn't need the token since I was already logged in.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 9 | |
| 8 | |
| 6 |
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 17 | |
| 13 | |
| 13 |