none
tf git permission causes TF400324: Team Foundation services are not available from server RRS feed

  • Question

  • My goal is to be able to set CreateBranch permission via Powershell. I have all the necessary dlls required to run tf.exe. I'm trying to connect to Azure Devops and I'm trying to achieve what Microsoft has given us as documentation here. Here are the important parts of my script that would help give some context:

    $env:HTTP_PROXY=$proxyUrl
    $env:HTTPS_PROXY=$proxyUrl

    I am to run az commands as well as git commands, but as soon as I run a tf command, everything fails

    & $tfExe git permission /deny:CreateBranch /group:[$project]\Contributors /collection:https://dev.azure.com/$organization/ /teamproject:$project /repository:$reponame 

    Here is my config for tf.exe.config. I have a feeling that these aren't the right configurations, but I cannot find anything online to help me

    <system.net>
        <settings>
            <ipv6 enabled="true"/>
            <servicePointManager expect100Continue="false" />
        </settings>
        <defaultProxy useDefaultCredentials="true" enabled="true">
            <proxy usesystemdefault="True" />
        </defaultProxy>
    </system.net>

    Tuesday, November 12, 2019 2:27 PM

Answers

All replies