Forum Discussion

Analitika's avatar
Analitika
Post Prodigy
4 years ago
Solved

Token usage in Power BI

Hello,

 

I would like to ask why I am always getting usage 0? Here is get request: GET https://api.powerbi.com/v1.0/myorg/availableFeatures.

 

  • Embed tokens with Pro or Premium Per User (PPU) license are intended for development testing, so a Power BI master account or service principal can only generate a limited number of tokensPurchase a capacity for embedding in a production environment. There's no limit to how many embed tokens you can generate when you purchase a capacity. Go to Available Features to check the usage value that indicates the current embedded usage in percentage.

    Embed Power BI content in an embedded analytics application with service principal and an application secret - Power BI

    Learn how to authenticate for embedded analytics using an Azure Active Directory application service principal and an application secret.https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal 

14 Replies

  • this is token generation usage (in %) on shared capacity. So it seems the token when generated will always be zero first time.

    • Analitika's avatar
      Analitika
      Post Prodigy

      So if my Power BI version is PRO, it uses embedTrial token?

      • PowerrrBrrr's avatar
        PowerrrBrrr
        Helper III

        Thats right... it is using the free tokens for now.. once you start consuming this tokens you will receive a notification that you have used 50% of your token and should switch to a capacity plan.

    • Analitika's avatar
      Analitika
      Post Prodigy

      PowerrrBrrr 

      How to check real state, usage of it? I have to sign in report and then run featureName but result still 0.

  • Hello,

     

    I can't find how to start consuming tokens. I need to see what is their usage? All time I am getting 0 usage.

  • V-lianl-msft's avatar
    V-lianl-msft
    Community Support

    To consume Power BI content you need an access token. Depending on your solution, this token can be either an Azure AD token or an embed token.When there are tokens in use in your test environment, 0 will not be displayed

  • V-lianl-msft's avatar
    V-lianl-msft
    Community Support

    Embed tokens with Pro or Premium Per User (PPU) license are intended for development testing, so a Power BI master account or service principal can only generate a limited number of tokensPurchase a capacity for embedding in a production environment. There's no limit to how many embed tokens you can generate when you purchase a capacity. Go to Available Features to check the usage value that indicates the current embedded usage in percentage.

    Embed Power BI content in an embedded analytics application with service principal and an application secret - Power BI

    Learn how to authenticate for embedded analytics using an Azure Active Directory application service principal and an application secret.https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal