Powershell automation to create new pbix files from templates (pbit files)

Now that we have pbit files to help create new pbix files quickly it would be great to be able to automate this process. Perhaps we could have some Powershell commands that would allow you to pass the needed parameters and output a new pbix file.
Needs Votes
Comments
mrmarkive
New Member
'Yes the ability to upload .pbit files with REST API + passing parameters on the fly would mean we can auto-populate new client projects using Embedded with a standard PowerBI report but with parameters specific to that client. Like the URL or connection string to their data. I can see that reports are now supported in Beta, to me this is less useful. My data can all be pulled in a refreshed through PowerBI Web so uploading the dataset is meaningless. - Upload template - Supply parameters - Return ReportID for my app to use - Refresh data immediately to populate report - Allow me to set refresh options on the report or set it for the group or something = Automated standard reporting for multiple clients using Embedded
mrmarkive
New Member
https://powerbi.microsoft.com/en-us/blog/upload-a-local-pbix-file-using-the-import-api/
jnix1
New Member
This would also make working with PBI in source control dramatically easier. 1+ gig datasets don't play nicely on any source control platform and the pbit workaround is not ideal at all.
xiaoc
Regular Visitor
This would also help from privacy compliance perspective. We don't want old data to stay in the file.
karlberan1
New Member
along the lines of https://msdn.microsoft.com/en-us/library/mt826236.aspx
r_zolotukhin_of
New Member
It is a good idea also if your online file is quite big and export to PBIX can take much time because of location difference, network etc.
sam_trexler
New Member
This is essentially what the previous commentby Karl Beran refers to in the documentation of the Export-PowerBIReport - but without the data. We would really like to export the definition of the report, which we could archive and maintain under source control, and be able to upload it later and then refresh to get all the data.
adewilde1
New Member
Would be really helpful to avoid having to export huge files with the API !
cman3712
New Member
Please Microsoft this is badly needed
cman3712
New Member
This is badly needed. Please Microsoft this should be implemented