microsoft / microsoft/powerbi-visuals-api
Power BI Custom Visual - License API Not Returning Trial or Purchase Information
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 108
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
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 any trial or purchase detail in the response.
What I'm expecting:
Information such as isTrial, isLicensed, purchaseSite, and expirationDate to be returned correctly when the visual is installed from AppSource
What I'm experiencing:
-
The API response is empty when No license purchase.
-
when license purchase then no any flag for istrial or expiration date.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Power BI License API call powerbi.licenses.getLicenseInfo() and the reported empty response for visuals installed from AppSource. Compare responses for no purchase and a purchase, including the expected trial, license, purchase-site, and expiration fields. Done means the API behavior or its documented limitation is established for both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100