Forum Discussion

NileshBhayani's avatar
NileshBhayani
Frequent Visitor
1 year ago
Solved

Power BI Custom Visual - License API Not Returning Trial or Purchase Information

I have published a custom visual on AppSource and I'm trying to use the Power BI License API (powerbi.licenses.getLicenseInfo()) to check the user's license status. However, the API does not return a...
  • v-veshwara-msft's avatar
    v-veshwara-msft
    1 year ago

    Thank you for confirming the API version and sharing the code snippet.

    Based on your implementation, you're using the Licensing API correctly. However, if certain expected properties like "isTrial" or "expirationDate" are not returned, and you're unable to determine the license state through the API, this might require deeper investigation from the Microsoft Support team.

    I recommend raising a support ticket with all the relevant details so our engineering team can look into it further.

    Submit a Support Ticket 

     

    Hope this helps. Please reach out for further assistance.
    Please consider marking the helpful reply as Accepted Solution to assist others with similar issues.

    Thank you.