Can someone help me on this error. I can't clone from the Azure Devops to the local one - azure-devops

The Git repository with name or identifier sdsdsd does not exist or you do not have permissions for the operation you are attempting.
fatal: repository 'https://dev.azure.com/azdevopsmar22/Version%20Controlling%20with%20Git%20in%20Azure%20Repos/_git/sdsdsd/'

The error implies there is a security restriction on the Repo you are trying to access. Try one of the following:
On windows, use windows credentials to add git#https://<git-username>#dev.azure.com/<azdevopsmar22>. Refer this blog ,
Azure devops check security
Within the AzureDevOps organization, your project, select settings --> Repository --> Select the repo that you have trouble accessing --> security. Check if read permissions are set on the group you belong to.

Related

"Failed to load Azure Repos source specified by this pipeline" Error When another Project Administartor tries to run the Pipeline

When I am running the pipeline there is no error that occurs.
But when another project administrator tries to Run a CI pipeline they get an "Failed to load Azure Repos source specified by this pipeline" Error.
Like below:
I assigned the other users as Project administrators and they too have the same permissions as me. Yet they get this error. How to mitigate this? Is it an organization-related setting or a project-related issue?
The users can still run the CI pipeline by clicking on the run button, just that they cannot select the "branch/tag" and this error keeps popping up.
Failed to load Azure Repos source specified by this pipeline. Please ensure Azure Repos is enabled for this project.
The cause of the issue can be related to the Access Level of the users.
If the access level of the users are Stakeholder, they will have no access to the repos and get the error above even though they are Project admin.
Navigate to Organization Settings -> Users and check the Access Level of the users.
You need to grant Basic Access level to the users and they will have access to see the repo and select the branch when running Pipeline.
Refer to this doc: About access levels in Azure DevOps

Repository not found in Azure DevOps

My project repository is available & user level permission is set as basic. Group user permission set all allow but another user not see repository & showing this message.
"It is possible the repository did exist at one point, but your project administrator renamed or deleted it. Please ensure that the repository exists and that you have access."
Admin users can see the repository & can pull & push.
I can reproduce your issue:
Only needs two steps:
1, the teams permission be able to read project level information.
2, Give read permission of the specific repo to the specific team.
If still unable to view the repo, please check the specific user permission of the repo, if it denied, team permission will not work.
The above is the minimum required permissions. If you need more, add them based on your requirements.

GitHub Azure Synapse Access issue: You don't have permission to import resource to the repository, please resolve the permissions in GitHub

When I attempt to connect to GitHub repository from Azure Data Factory I have no problem. However, when I try to connet to GitHub from Synapse, see image, I get the error:
You don't have permission to import resource to the repository, please
resolve the permissions in GitHub
I'm not sure why I'm not getting the same permissions error message ADF
Just so you know I have the following permissions configured for Synapse, but it I'm still getting the error:
I connected the GitHub repository from Azure Synapse and Azure Data factory it’s working fine for me.
If you have an Existing resource to the repository in GitHub mentioned in import branch, otherwise make sure to unmark it. Because of that, you are getting the error as seen in the above image.
If you have already connected to GitHub and only granted permission to access a personal account, follow the below steps to grant permissions to an organization
Go to GitHub and open Settings -> Select Applications. In the Authorized OAuth apps tab, you should see Azure Synapse > Select the Azure Synapse and grant the access to your organization
Reference:
https://learn.microsoft.com/en-gb/azure/data-factory/source-control#author-with-github-integration

Azure Visual Studio 2019 failed to push to Azure DevOps Git

Background
I have an Azure Synapse SQL server which have some tables and stored procedures. Visual Studio 2019 (VS2019) is connected to the SQL server using Active Directory Interactive Authentication with use name being a Service Account Email.
I have built a Azure DevOps Demo, with following setups (Organization, Project, Git Repository).
I have added the Service Account Email to the Azure DevOps project and repository level, with contributor access.
I am trying to synchronize the stored procedures with my Azure DevOps Repository.
I am able to use VS2019 > Team Explorer > Manage Connections, and set the Service Account Email as the "hosted repositories for", and see my Repositories appear in the list.
Problem
It turned out that when I try to push Git Changes, by Team Explorer > New Repository > Existing remote, where I entered the full URL of my repository https//dev.azure.com/%Organization%/%Project%/_git/%Repository%, following error turned up: Git failed with a fatal error. unable to access 'above URL': SSL certificate problem, unable to get local issuer certificate. How can I resolve this error?
How to push all of my existing stored procedures to my Repository?
Faced the same issue, requesting you to go through the link. Hope this will resolve the issue:
Authentication failed for https://xxx.visualstudio.com/DefaultCollection/_git/project

Cannot access Git Organization/repository from AzureDevOps (Build Pipeline)

I have created an organization inside GitHub and moved my personal repo to the organization repo. Then I have added service connection with Git and also did GitHub connection inside azure DevOps. Now I would like to access my organization repo from azure build pipeline but it is not listing my organization repo and it only shows personal accounts repos.
It is saying "This setting is required". But I have added git connection and also service connection.
Accepting your help and suggestion.
Please check whether the selected service connection is to a GitHub-InstallationToken. When I choose this type of service connection, I reproduce this problem.
In addition , you can try to create a new service connection authorized with GitHub personal access token to see if this problem still exists.