Azure Databricks Integration with Azure Git Repos - azure

We have tried to integrate the databricks notebook with a repository in Azure Repo. But, we are getting this below error
Error while syncing Git history: Response from Azure DevOps Services: status code: 500, reason phrase: ?{"$id":"1","innerException":null,"message":"Unable to complete authentication for user due to looping logins","typeName":"Microsoft.VisualStudio.Services.Identity.IdentityLoopingLoginException, Microsoft.VisualStudio.Services.WebApi","typeKey":"IdentityLoopingLoginException","errorCode":0,"eventId":4207}
Both Azure DevOps Services organization and Databricks located in the same tenant.
Repos Link format: https://dev.azure.com/myorg/project/_git/repo
When we tried valid token with GitHub getting an this below error.

Related

Failed to set up deployment: Repository UpdateSiteSourceControl operation failed with Microsoft.Web.Hosting.SourceControls

I am trying to connect my Azure App services to Azure DevOps repository I am getting the following error, any guidance or resolutions
Failed to set up deployment: Repository UpdateSiteSourceControl operation failed with Microsoft.Web.Hosting.SourceControls.OauthException: Vso AddWebHook:
Failed because you are not an administrator on the VSTS project.
The error is clear, you need administrator right in the Azure DevOps

Connect TeamCity with Azure DevOps

I would like to have a TeamCity build operation in combination with Azure DevOps. I have already tried different options, but I always get a connection error.
I have tried the following options:
-VCS Root
-Connection (Azure DevOps PAT & OAuth 2.0)
Is a specific user required to access TeamCity and how do I need to configure the VCS Root correctly?
I have used Git as VCS type and Uploaded Key as authentication method.
Error:
Connection timeout: connection

Set up deployment to app service using personal access token

I've been given a personal access token (full access) which allows me to connect to a private Azure git repo within an Azure devops account from another subscription. Connecting to that repo locally using git is working fine.
I would like to set this up as a CI/CD deployment source for my app service but have been unable to find out how to do this. I tried Azure CLI:
az webapp deployment source config ... --repo-url https://anything:{pat}#dev.azure.com/Company/Project/_git/Reponame
This fails with a 500 error.
So I tried calling the Rest API directly but that also fails with the 500 error so not an Azure CLI issue.
Hoping someone can point me in the right direction,
Thanks for the help, much appreciated

CICD Authentication using SPN

I am creating a CI CD pipeline to move code between dev and test instances of databricks. I am able to achieve this using my personal token. Now, I am trying to do the same thing using a SPN and when I do the same, i get the following error.
HTTP ERROR 403
Problem accessing /api/2.0/workspace/mkdirs. Reason:
User not authorized.
Can any of you help me resolve this error or provide any links which talks about how to use SPN to authenticate from devops to databricks.
Does your SPN have Contributor Role on either the Databricks resources or Azure Resource Groups ? It could be throwing a very similar error if not.

Azure Devops integration error in Azure DataBricks

I am getting following error while syncing a azure databricks notebook with an Azure DevOps repo I've linked it to:
Error while syncing Git history: Numeric value (3204746134) out of range of int? at [Source: {"id":
The repository branch specified in azure databricks is successfully created over on Azure DevOps.
I tried removing the revision history of the notebook that is no longer required to reduce the number of changes to be checked-in. This did not help to fix the error.
There was error while syncing git repo with Azure databricks when repo size is above 3 GB. This was confirmed by the products team and a fix has been deployed.

Resources