Forum Discussion
cazcon
2 years agoNew Member
Power BI API Rest to publish specific subfolder - get UUID subfolder
Currently Power BI have a API to publish to particular worskpaces Imports - Post Import - REST API (Power BI Power BI REST APIs) | Microsoft Learn Currently, Power BI has an API to publish to speci...
- Anonymous2 years ago
Hi,cazcon
I am glad to help you.
According to your description, you want to use Power BI API Rest to publish specific subfolder?
If I understand you correctly, then you can refer to my solution.
Based on your description, it is recommended that you try changing the subfolderObjectId in the Post URL to the subfolderId on the Power BI Service address bar.
POST https://api.powerbi.com/v1.0/myorg/imports?datasetDisplayName={datasetDisplayName}&nameConflict={nameConflict}&skipReport={skipReport}&overrideReportLabel={overrideReportLabel}&overrideModelLabel={overrideModelLabel}&subfolderId={subfolderId}I hope this advice is helpful.
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
cazcon
2 years agoNew Member
Thanks, Anonymous 🙌 The parameter worked. I hope Microsoft improves the documentation.