Forum Discussion
Power BI GitHub integration bug
- 1 year ago
Hi shahhaider902,
Thank you for sharing more details about your setup. I understand that manually fixing this across 50+ workspaces is not a feasible solution, the most efficient approach is to automate the Git cleanup process using GitHub’s REST API.
Use the GitHub REST API to programmatically delete the problematic folders instead of doing it manually. Automate the commit process after deletion to ensure changes are reflected in Fabric without manual intervention.Reference: GitHub API - Delete a file
This approach will save significant time by allowing you to clean up multiple workspaces in bulk rather than manually deleting folders one by one.
I trust this information proves useful. If it does, kindly "Accept it as a solution" and give it a 'Kudos' to help others locate it easily.
Thank you.
Hi Deku,
Thanks for giving reference to this LinkedIn post. I already went through this post and Ben's post on LinkedIn. Actually, I have around 50 workspaces with hundreds of reports and datasets. It would take me atleast 2 days to correct everything. Which I don't want. The fix I am currently doing is just delete the folder in GitHub with a commit, reconnect workspace and then sync the items. But it still takes lot of time. I did it for 5 workspaces and then stopped because it would be wastage of time. I am looking for a better time saving solution.
- v-ssriganesh1 year agoCommunity Support
Hi shahhaider902,
Thank you for sharing more details about your setup. I understand that manually fixing this across 50+ workspaces is not a feasible solution, the most efficient approach is to automate the Git cleanup process using GitHub’s REST API.
Use the GitHub REST API to programmatically delete the problematic folders instead of doing it manually. Automate the commit process after deletion to ensure changes are reflected in Fabric without manual intervention.Reference: GitHub API - Delete a file
This approach will save significant time by allowing you to clean up multiple workspaces in bulk rather than manually deleting folders one by one.
I trust this information proves useful. If it does, kindly "Accept it as a solution" and give it a 'Kudos' to help others locate it easily.
Thank you.- v-ssriganesh1 year agoCommunity Support
Hi shahhaider902,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.