Forum Discussion
Automate Power BI Deployment & Data Refresh via GitHub Integration
- 6 months ago
That looks promising chethan4046. Power BI supports Github and Azure DevOps better (kind of sad for Bitbucket) so yeah there is a good chance that it could be done cleanly. Give it a go! I might also give it a try over the weekend and thanks for sharing them!
Hi alish_b Thanks.
I am trying to use this method. What is your opnion on this
Here are the relevant APIs and documentation links.
Git (Fabric API):
Documentation: https://learn.microsoft.com/en-us/rest/api/fabric/core/git
Example API:
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/git/updateFromGit
This API can be used to update/sync the workspace from Git.
Dataset Refresh (Power BI API):
Documentation: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset
Example API:
https://api.powerbi.com/v1.0/myorg/groups/$WORKSPACE_ID/datasets/$DATASET_ID/refreshes
This API triggers a dataset refresh in the specified workspace.
That looks promising chethan4046. Power BI supports Github and Azure DevOps better (kind of sad for Bitbucket) so yeah there is a good chance that it could be done cleanly. Give it a go! I might also give it a try over the weekend and thanks for sharing them!
- v-menakakota5 months ago
Community Support
Hi chethan4046 ,
I would also take a moment to thank alish_b , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
I hope the issue has been resolved. If you continue to experience any problems, please reach out here and we will assist you.Best Regards,
Community Support Team- v-menakakota5 months ago
Community Support
Hi chethan4046 ,
I hope the issue has been resolved. If you continue to experience any problems, please reach out here and we will assist you.
Best Regards,
Community Support Team