Forum Discussion
Power BI Embedded
- 4 years ago
Hi. Even though I might not have the correct answer it make sense for me.
If you pause it, it won't work because the configuration is trying to reach out something that it's not working right now.
On the other hand if you turn the embedd configuration off. You are just saying the workspace it's a regular shared capacity. You CAN embed with a workspace with shared capacity as developer purpose. The reason to buy the licence is that the workspace with the licence can return infinite number of embed tokens. The shared capacity will return a limited amount of embed tokens for the requested service principal or account. You can check your status of embed tokens usage with an API request: https://docs.microsoft.com/en-us/rest/api/power-bi/available-features/get-available-features
The tricky one is the service principal. The only thing I can think about is that the Service Principal removed from the workspace is still working because you might have turned on the "Service Principal can request admin API" in your tenant. But, that's just a guess.
I hope that make sense
Hi Abarrau I do have one more question.
Could you tell me the location from where we have to do this API call?
It is not being stated in the documentation.
Thanks in advance!
I'm not sure what do you mean with location. You can make the request with any programing language or postman from your machine. You just need to be sure the login to get the embed token is being done with the same account you are using for embedding (or the same service principal).
Then you can make the request of available features with the bearer token obtained.
You can use already prebuilt libraries if you don't know how to handle the API. Like SimplePBI for python.
I hope that helps,