Answered by:
tf git permission causes TF400324: Team Foundation services are not available from server

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>
- Moved by Micah McKittrickMicrosoft employee Tuesday, November 12, 2019 5:54 PM
Tuesday, November 12, 2019 2:27 PM
Answers
-
Hi Marc. You can find the Devops forums here: https://developercommunity.visualstudio.com/spaces/21/index.html
Please post your question there and that community should be able to help :)
- Proposed as answer by Richard MuellerMVP, Banned Tuesday, November 12, 2019 8:45 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 19, 2019 1:02 PM
Tuesday, November 12, 2019 5:54 PM -
I'd try asking for help over here.
https://developercommunity.visualstudio.com/spaces/21/index.html
https://developercommunity.visualstudio.com/spaces/22/index.html
https://stackoverflow.com/questions/tagged/tfs
https://stackoverflow.com/questions/tagged/azure-devopshttps://social.technet.microsoft.com/Forums/windows/en-US/home?forum=winserverpowershell
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Tuesday, November 12, 2019 8:45 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 19, 2019 1:02 PM
Tuesday, November 12, 2019 5:58 PM
All replies
-
Hi Marc. You can find the Devops forums here: https://developercommunity.visualstudio.com/spaces/21/index.html
Please post your question there and that community should be able to help :)
- Proposed as answer by Richard MuellerMVP, Banned Tuesday, November 12, 2019 8:45 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 19, 2019 1:02 PM
Tuesday, November 12, 2019 5:54 PM -
I'd try asking for help over here.
https://developercommunity.visualstudio.com/spaces/21/index.html
https://developercommunity.visualstudio.com/spaces/22/index.html
https://stackoverflow.com/questions/tagged/tfs
https://stackoverflow.com/questions/tagged/azure-devopshttps://social.technet.microsoft.com/Forums/windows/en-US/home?forum=winserverpowershell
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Tuesday, November 12, 2019 8:45 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 19, 2019 1:02 PM
Tuesday, November 12, 2019 5:58 PM