Set-AzureDeployment Powershell cmdlet失败,错误为“0”;无法创建SSL/TLS安全通道“;

Set-AzureDeployment Powershell cmdlet失败,错误为“0”;无法创建SSL/TLS安全通道“;,powershell,azure,Powershell,Azure,在我的TFS 2013生成服务器上,在生成后事件上触发PowerShell脚本以将生成部署到我的Azure订阅。直到昨天天气还很好,突然开始出故障。当我手动运行PS脚本时,它工作正常(只要PS控制台以管理员身份打开) 此错误发生在Set-AzureDeployment cmdlet上,我在运行此cmdlet之前设置并选择了我的azure订阅。这是一个权限问题,因为当使用管理员权限触发脚本时,脚本运行正常,但不确定为什么会突然发生。有什么提示吗 我已在此处复制了完整的错误堆栈: 发送请求时出错。

在我的TFS 2013生成服务器上,在生成后事件上触发PowerShell脚本以将生成部署到我的Azure订阅。直到昨天天气还很好,突然开始出故障。当我手动运行PS脚本时,它工作正常(只要PS控制台以管理员身份打开)

此错误发生在Set-AzureDeployment cmdlet上,我在运行此cmdlet之前设置并选择了我的azure订阅。这是一个权限问题,因为当使用管理员权限触发脚本时,脚本运行正常,但不确定为什么会突然发生。有什么提示吗

我已在此处复制了完整的错误堆栈:

发送请求时出错。 请求被中止:无法创建SSL/TLS安全通道。 在c:\workspace\workspace\build-azure-sdk-tools-m中的Microsoft.WindowsAzure.Management.Storage.StorageAccountOperationsExtensions.Get(IStorageAccountOperations操作,字符串serviceName)中 si\WindowsAzurePowershell\src\ManagementLibraries\StorageManagement\StorageManagementClient.cs:第1895行 位于c:\workspace\workspace\build azure sdk tools msi\WindowsAzurePowershell\src\Commands.U中的Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureSubscription.GetCloudStorageAccount() tilities\Common\WindowsAzureSubscription.cs:第190行 位于c:\workspace\workspace\build azure sdk tools msi\WindowsAzurePowershell\src\c中的Microsoft.WindowsAzure.Commands.Storage.Common.StorageCloudCmdletBase
1.GetStorageAccountFromSubscription()
ommands.Storage\Common\StorageCloudCmdletBase.cs:第176行
在c:\workspace\workspace\build azure sdk tools msi\WindowsAzurePowershell\src\Commands.Sto中的Microsoft.WindowsAzure.Commands.Storage.Common.StorageCloudCmdletBase
1.GetCloudStorageAccount()
rage\Common\StorageCloudCmdletBase.cs:line 81

您可以检查机器和服务器上的日期/时间吗?也许有点歪?