Forum Discussion

shahhaider902's avatar
shahhaider902
Frequent Visitor
1 year ago
Solved

Power BI GitHub integration bug

 

It has been like more than a month, I am getting uodates from GitHub without any reason. I have not touched my GitHub repo where we have synced our favric items. I am not able to make new commits to the GitHub,.

 

  • v-ssriganesh's avatar
    v-ssriganesh
    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.

7 Replies

  • Deku's avatar
    Deku
    Super User

    Do you have folder in your repo, if yes see see this post

  • v-ssriganesh's avatar
    v-ssriganesh
    Community Support

    Hi shahhaider902,
    Thank you for reaching out to the Microsoft Fabric community forum.

    Based on the information you've provided, it seems there are some updates and conflicts related to the Git integration. Here are a few steps you can try to resolve the issue:

    • The notification indicates that there are 4 conflicts that need to be resolved to update the workspace. Please try resolving these conflicts first.
    • The recent update introduced folder support in Git, which might have resulted in new changes that you did not initiate. This could be the reason for the unexpected updates. For detailed information, you can refer to the official Microsoft documentation: Get started with Git integration - Microsoft Fabric | Microsoft Learn

    If the issue persists, try disconnecting the workspace from GitHub and reconnecting it. Use a different root folder from the previous connection to see if that helps.

    Thank you Deku for sharing your valuable insights.

    If this information is helpful, please Accept it as a solution and give a "kudos" to assist other community members in resolving similar issues more efficiently.

    Thank you.

  • v-ssriganesh's avatar
    v-ssriganesh
    Community Support

    Hi shahhaider902,

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

  • shahhaider902's avatar
    shahhaider902
    Frequent Visitor

    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-ssriganesh's avatar
      v-ssriganesh
      Community 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-ssriganesh's avatar
        v-ssriganesh
        Community 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.

  • v-ssriganesh's avatar
    v-ssriganesh
    Community Support

    Hello shahhaider902,

    Could you please confirm if your query have been resolved? If they have, kindly mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.

    Thank you.