Hi @Sibi Kumar (INFOSYS LIMITED) ,
Welcome to Microsoft Q&A forum and thanks for reaching out here.
I understand you're encountering an "Invalid Git config" error message when trying to access Azure Synapse and enable Git. Based on the information you've provided and the screenshot, here are some potential causes and troubleshooting steps:
- As you mentioned having owner access to the Azure Git repo, double-check that you have the "Contributor" or "Data Factory Contributor" role at the subscription level in Azure Active Directory. These roles are required to enable and manage Git in Azure Synapse.
- While Azure Git might be disabled within Synapse, you could still be using an Azure DevOps connection for version control. Check if your Synapse workspace is linked to an Azure DevOps repository and ensure you have the appropriate permissions there.
- Go to your Synapse workspace in the Azure portal.
- Click on "Manage" and then "Git repositories."
- If an Azure DevOps repository is listed, verify your access level and ensure it's sufficient for pushing changes.
- Ensure you're working on the correct branch in your Git repository. If you're on a branch other than the "main" or "master" branch, you might encounter issues enabling Git. Try switching to the appropriate branch and see if the error persists.
- Occasionally, temporary glitches or service disruptions can cause unexpected behavior. Try refreshing the Azure Synapse portal or logging out and back in to see if the issue resolves itself.
- If your Azure Synapse is connected to an Azure DevOps project, there might be configuration issues with the integration. Verify that the connection is set up correctly and that you have the required permissions within the DevOps project.
If you're still having issues, please provide more details about your configuration and the steps you've taken so far, and we can try to assist you further.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.