Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am trying to create a dataset with the API and have been using a service principal to authenticate my other API calls. Unfortunately it looks like service principal authentication is now allowed for the push semantic model endpoint according to https://learn.microsoft.com/en-us/power-bi/developer/embedded/push-datasets-limitations . Is this correct? As my organization does not allow delegated user access to the power bi API, is there another way to access this API endpoint?
Thanks in advance.
Solved! Go to Solution.
Are you actually trying to create a push dataset or a normal one?
You can use the Create Item API to create a regular semantic model. The SPN will need contributor access to the target workspace
Hi @GigaGandalf
Thank you for reaching out to the Microsoft Fabric Community Forum.
Thank you for @Deku for your prompt response.
We understand that you're encountering an issue related to creating push datasets using the Power BI REST API. As confirmed by the official Microsoft documentation, service principal authentication is currently not supported for creating push datasets via this API.
Since your organization’s restriction on delegated user access, the recommended solution is to utilize the XMLA endpoint within a Power BI Premium workspace. This method allows you to programmatically create and manage datasets using a service principal, fully supporting your security requirements and enabling complex schema definitions.
If Power BI Premium is not available in your environment, we suggest considering streaming datasets or dataflows in combination with a manually created dataset as alternative options.
For more information, please refer to the official Microsoft Documentation related to XMLA endpoint.
If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.
Thank You!
Hi @v-karpurapud,
thank you for your response. I am aware of the XMLA Endpoint, unfortunately, I am operating in a web context and it is my understanding that the required MSOLAP library for XMLA connectivity is not available for web applications.
Are you actually trying to create a push dataset or a normal one?
You can use the Create Item API to create a regular semantic model. The SPN will need contributor access to the target workspace
Hi @Deku,
thank you for your response. I was in fact not aware of the fabric API and under the impression that only the powerbi api exists. The create semantic model endpoint covers my needs.
Now I only have to figure out how to create proper semantic model definitions 😄
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |