Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I have a Power BI Embed for your customers scenario, but something odd is happening which I can't explain.
Setup:
Power BI Embedded A1 SKU.
Service principal as authentication methode, when i remove the service principal from the workspace it is still working.
Also when i remove the workspace from the Power BI Embedded, the reports will just continue loading. However when i readd the workspace to the A1 SKU and click pause on there the reports don't load anymore and I get the logical notification of cannot load model, capaciity operation is not failed....
Is this a bug, or do I have something wrong in the setup?
If you could help me, thanks.
Solved! Go to Solution.
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
Happy to help!
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,
Happy to help!
Hi Ibarrau,
Thats sounds logical im going to test it. Thank you for the reply!
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
Happy to help!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
34 | |
31 | |
19 | |
12 | |
8 |
User | Count |
---|---|
51 | |
36 | |
29 | |
14 | |
12 |