Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JohannesLent
Regular Visitor

How can I test the Licensing API?

Hi,

I would like to use the licensing API as shown in this article:

https://learn.microsoft.com/en-us/power-bi/developer/visuals/licensing-api

 

I'm all set up, but I can't get a sensible response from the API, since the developer visual isn't on AppSource.

Is the only way to get a "personalized" response to create a test visual and upload it to AppSource (that would take 3 weeks if I'm not mistaken) or is there another way?

 

Thanks!

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @JohannesLent ,

 

Have you ever tried to test it in developer mode?

To override the AppSource version with a local file version, enable Developer mode in either Power BI Desktop, or Power BI service.

To enable Developer mode in Power BI desktop, follow the instructions in Enable Developer mode in Power BI Desktop

To enable Developer mode in Power BI service, follow the instructions in Set up Power BI service for developing a visual.

 

For more details, please refer to:

Testing submissions of Power BI custom visuals - Power BI | Microsoft Learn

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
JohannesLent
Regular Visitor

Hi,

thank you for your answer, but that was not what I was looking to find. My problem was not about getting the visual to work, but I wanted to test out the response which the API responds gives back to me. Apparently the only way to actually test this response (specifically I want to know LicenseInfoResult.plans) is to upload a dummy visual. Ofcourse my company could add licensing to our products and I could implement the API, but they said I should test it first, before we change productive code in Power BI.
So thank you for your answer, but my problem is solved for now.

v-jianboli-msft
Community Support
Community Support

Hi @JohannesLent ,

 

Have you ever tried to test it in developer mode?

To override the AppSource version with a local file version, enable Developer mode in either Power BI Desktop, or Power BI service.

To enable Developer mode in Power BI desktop, follow the instructions in Enable Developer mode in Power BI Desktop

To enable Developer mode in Power BI service, follow the instructions in Set up Power BI service for developing a visual.

 

For more details, please refer to:

Testing submissions of Power BI custom visuals - Power BI | Microsoft Learn

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.