Forum Discussion
Uploading PBIX File in C# sample (HELP!)
- 7 years ago
Hi brunozanoelo
You don't need dedicated capacity now. It has no connection with the autentication.
Are you running behind the code behind any proxy ? Which blocks your autentication ?
Can you try executing in Post man ?
Jayendran Thank you for the help. I really appreciate it.
It worked to authenticate but now I´m facing one problem in my workspace. I already set all the permissions to this app, including read/write workspaces.
Error (cannot find workspace)
Workspace
Permissons
Any tip? I´m trying everything in Azure and nothing solve this problem.?
Warm Regards.
Hi brunozanoelo ,
I tried the same thing it works for me.
Here some few tips
- Check whether you user credentials (user name/password) having access to the workspace.
- Using the fiddler find what API is exactly calling and whether you are getting any error in the fiddler
I see that this is calling
https://api.powerbi.com/v1.0/myorg/groups
https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroups
It requires the scope of Workspace.Read.All or Workspace.ReadWrite.All but from the screenshot you also having that
- brunozanoelo7 years agoPost Patron
Hello my friend,
I´ve found that the problem is actually not in the workspace, but still in the authentication function.
See the image bellow. I think my code is correct, isn't? The client ID it´s the correct one, I already checked!
Auth not passed- Jayendran7 years agoSolution Sage
Hi brunozanoelo
Yes pls use the fiddler to find what was the failure from the API. Since it's not reproduce from my side. Fiddler will get the exact issue here
- brunozanoelo7 years agoPost Patron
Success using the fiddler
More permissions
But in the app, the errorstill persist.