I'm working on creating an automated process to create a new report/dataset from a template using Microsoft Flow and the Power BI API. Using Flow limits me quite a bit, but I believe this should be plausible.
A couple options and my limitations are:
- Import from .pbix file to destination workspace, then update report parameters (Post Import in Group)
- I'm unaware of any way to convert the .pbix file in Flow and passing to the request body. Is this a viable option? The only solutions I've found use scripting languages that aren't a current option.
- Copy Report from Template workspace to destination workspace (Clone Report in Group)
- I'm stuck here not having a datatset to tie this to (targetModelId parameter). Is there a way to duplicate a dataset from another workspace (or another source) prior to cloning report? I don't need the data, but just need the scheme, so maybe there's a way to extract that instead?
Are there any other options that could fit this Flow-API model?