We have Private Link enabled Databricks Workspace, created using Vnet Injection.
We are trying to deploy Notebooks from Azure repos using Azure Devops Pipeline,
Following is the yaml written:

pool:
  vmImage: windows-latest
  


stages:
  - stage: Build
    jobs: 
    - job: copy
      steps:
      
      - task: CopyFiles@2
        inputs:
          SourceFolder: '$(Build.SourcesDirectory)'
          Contents: '**'
          TargetFolder: '$(Build.ArtifactStagingDirectory)'

      - task: PublishBuildArtifacts@1
        inputs:
          PathtoPublish: '$(Build.ArtifactStagingDirectory)'
          ArtifactName: 'Notebooks'
          publishLocation: 'Container'


  - stage: Development
    jobs:
      - deployment: DeployTodev
        displayName: Deploy to Dev
        environment: 'DBX_Test'
        strategy:
          runOnce:
           deploy:
            steps:
            
            - task: DownloadBuildArtifacts@1
              inputs:
                buildType: 'current'
                downloadType: 'single'
                artifactName: 'Notebooks'
                downloadPath: '$(Build.ArtifactStagingDirectory)'
            
            - task: CmdLine@2
              inputs:
                script: |
                  echo Write your commands here
                  
                  echo Hello world
                  
                  
                  cd $(Build.ArtifactStagingDirectory)
                  
                  
                  dir /p

            - task: configuredatabricks@0
              inputs:
                url: $(databricksHost)
                token: $(databricksToken)


            - task: databricksDeployScripts@0
              inputs:
                authMethod: 'bearer'
                bearerToken: $(databricksToken)
                region: $(region)
                localPath: '$(Build.ArtifactStagingDirectory)/Notebooks/'
                databricksPath: '/deploy'
                clean: true

This is executing successfully, but not copying the notebooks to deploy folder.
What could be the issue here?
could it be because we are using “windows-latest” as agent VM, and it doesnt have connectivity.