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
GigaGandalf
Frequent Visitor

Quick Create from Semantic Model via API

I would like to use the auto-create or quick create function of powerbi via the api with an existing semantic model. As far as I can tell, this is not supported by the default quick create function described in:

https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/embed-quick-report

which only allows either manual data insertion or accessing data sources that do not require authentication, which doesn't work for me in a corporate environment.

Is there another way to access the auto generate function as you would via the web interface to generate a report from an exsting semantic model via the API?

1 ACCEPTED SOLUTION
johnbasha33
Super User
Super User

@GigaGandalf 

You would use the Power BI REST API:

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/GenerateToken

OR

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/CloneReport

OR

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports

You Create a blank report based on the semantic model
Then you embed it for editing using an Embed Token
Power BI’s Auto Insights / AI suggestions (like auto visuals, visual suggestions) are automatically available in Edit Mode.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

View solution in original post

6 REPLIES 6
V-yubandi-msft
Community Support
Community Support

Hi @GigaGandalf ,

We haven’t received a response yet and want to ensure the solution met your needs. If you need any further assistance, feel free to reach out we’d be happy to help. If everything is working as expected, kindly mark it as Accepted as solution.

 

Thank You.

V-yubandi-msft
Community Support
Community Support

Hi @GigaGandalf ,

We noticed we haven't received a response from you yet, so we wanted to follow up and ensure the solution we provided addressed your issue. If you require any further assistance or have additional questions, please let us know.

Your feedback is valuable to us, and we look forward to hearing from you soon.

V-yubandi-msft
Community Support
Community Support

Hi @GigaGandalf ,

Currently, the Quick Create API does not support using existing semantic models in secured environments. However, did you have a chance to try the alternative solution shared by @lbendlin ? It provides a supported approach using the Power BI REST API, which may help achieve your goal.

 

If you need any clarification, feel free to ask. And if the issue is resolved, please consider marking the response as accepted  it helps other community members facing similar challenges.

 

If this functionality is important to your scenario, we recommend sharing your suggestion in the Fabric Ideas - Microsoft Fabric Community.

Microsoft actively reviews highly voted ideas, and it helps prioritize future feature development.

 

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.

 

johnbasha33
Super User
Super User

@GigaGandalf 

You would use the Power BI REST API:

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/GenerateToken

OR

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/CloneReport

OR

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports

You Create a blank report based on the semantic model
Then you embed it for editing using an Embed Token
Power BI’s Auto Insights / AI suggestions (like auto visuals, visual suggestions) are automatically available in Edit Mode.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

GigaGandalf
Frequent Visitor

Hi Ibendlin, thanks for your response.

Are you referring to Jupyter Notebooks? https://learn.microsoft.com/en-us/power-bi/create-reports/jupyter-quick-report It seems that that would be an option, yes, but I am unsure if I am able to embed this into my existing web application. I was hoping for a more direct approach using the API only, but I will look into this.

lbendlin
Super User
Super User

wasn't that something you can do from a notebook?

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.