Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jyokela
Frequent Visitor

Getting Git integration to connect and sync

I follow the instructions here (https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-get-started?wt.mc_id=fabric_inprod...) to connect the workspace to GIT for version control.

I have created an access token and added an account through the "Authorize GitHub user" However, in the next step where I "Connect to a workspace" the Branch and Folder options along with the "Connect and sync" and "Cancel" buttons do not show up. I have tried leaving the Repository URL blank along with trying a few different repositories, however nothing ever allows me to connect and sync. (https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-integration-process?tabs=Azure%2Ca...)

 

I understand that this is a preview feature and this may just be a bug I am experiencing, but I wanted to know if anyone has had this occur and if anyone has found a solution to connect the workspace after experiencing this error.

 

Capture.JPG

7 REPLIES 7
jyokela
Frequent Visitor

Thanks, I have tried updated Chrome and Edge. I have created a token with all the permissions just to make sure that wasn't the issue. I mentioned in the first post that I had tried multiple repositories (some new and some with data in them). One time I attached a brand new repostitory with no data and no branches and the connection gave me an error telling me that it needed to have a branch and when I created one and tried again it just took me to the screenshot I gave before.

Anonymous
Not applicable

Hi,@jyokela Thank you for your reply.

After discussing your issue with other members of the team, I think it may be that you are getting your Access tokens wrong.
Please try to get Personal access tokens (classic)
and set all the permissions, you may be having this problem because you don't have the corresponding permissions and therefore you are not accessing the content you expected.
URL:
Managing your personal access tokens - GitHub Docs

vjtianmsft_0-1726653142633.png
Here is my test:

vjtianmsft_1-1726653265258.png

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I am using the classic personal access token, I have tried the version with just REPO permissions and one with ALL the permissions checked, all have the same result. I have also went into the orginization settings and allowed those connections...

jyokela_0-1727202687815.png

jyokela_1-1727202788290.png

And created another token, just in case a new one was required...
I have tried to link to my personal repository and the orginization repositiory, nothing seems to give me any different result. I have tried both the classic and the beta tokens. When I make an error I am getting notifications in Power BI that a connection failed or cannot be made, but I have made 6 different "successful" connections and they all end up bringing be back to the same result... where I cannot sync

Anonymous
Not applicable

Hi,@jyokela .I am glad to help you.

Has your problem been solved?
If you have found suitable solutions, please share them as it will help more users with similar problems.
Or you can mark the valid suggestions provided by other users as solutions.
Thank you very much for your understanding and support of Power BI.

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

no, I just cannot get it to work and don't have time to deal with it, so putting it on the back burner for now.

Anonymous
Not applicable

Hi,@jyokela .I am glad to help you.

 

I retested using the personal access token (calssic) and it works fine!
You can do the same with the steps I've provided to see if it works, and thus narrow down the possible scope of the problem.

I created a repository branch main

 

vjtianmsft_0-1727276016960.png

 

settings >choose Developer Settings

 

 

vjtianmsft_1-1727276045566.png

 

choose new personal access tokens(calssic)

 

vjtianmsft_2-1727276072935.png

 

give your token a descriptive name.

I give full permissions when setting up the token.

 

vjtianmsft_3-1727276107608.png

vjtianmsft_4-1727276121128.png

 

 

Log in as administrator to power BI service, manage portal, open settings

git integration > users can synchronize workspace projects with GitHub repositories

 

vjtianmsft_5-1727276175956.png

vjtianmsft_6-1727276183913.png

vjtianmsft_7-1727276220673.png

 

vjtianmsft_8-1727276229268.png

It's important to wait for this to take effect (I waited 5 minutes), as it takes time to take effect.
After waiting for a while, I was able to connect to the git repository branch and was able to transfer files

vjtianmsft_9-1727276286853.png

 

vjtianmsft_10-1727276297570.png

 

semantic model successfully uploaded to github repository

 

vjtianmsft_11-1727276333293.png

Points that I tested down and think need attention:

1. Administrator enable the option of git hub in Power BI Admin portal.


2. After connecting to the git hub, make sure the branch exists and wait for the token to take effect (I waited for a while during the test).


3. When setting up tokens, you must give as many permissions as possible (I gave all permissions in my test, you can try to give all permissions first to test, and then slowly reduce the token permissions to narrow down the scope and check which permissions are necessary).
URL:
Managing your personal access tokens - GitHub Docs

I hope my test can help you, looking forward to your reply!

 

Anonymous
Not applicable

Hi,@jyokela .I am glad to help you.

According to your description, you have encountered an unexpected situation when using the Git integration feature in Power BI service:
When the repository has been set up, the system doesn't have anything that allows connection.
This is very strange, here are my suggestions for you.


1.Check access rights: Make sure the access token you created has enough rights to access the desired repository and branch.
2.Verify the Git repository URL: Make sure the repository URL you entered is correct and accessible. If possible, try using a different repository or create a new test repository to try it out.
3.Browser Cache Issues: Try clearing your browser cache or logging back into the Power BI service in incognito mode and re-setting up your Git integration.
4.Update your browser or change browsers: Sometimes browser version compatibility issues can cause some features to not display properly. Try updating your current browser or switching to another major browser.

As you mentioned, the Git integration feature is currently in Preview, so there may be occasional surprises.

Could you provide more details (including more details of the testing process and corresponding screenshots) so that our team can pinpoint the possible problem? (Please note that the screenshots hide necessary privacy information)

Unfortunately, due to environmental reasons, I am not able to perform the corresponding tests to reproduce the problem you are having, so your later reply is important, more information about the error can help to quickly locate the problem, looking forward to your reply.

I tried to test the feature, but it failed:

vjtianmsft_0-1726554410824.png

vjtianmsft_1-1726554419432.png

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.