问题描述
发送请求时发生错误。
在C:\ Users \\\
ikthoma \Downloads\powershell_deployment.ps1:30 char:9
+       Start-AzDataFactoryV2Trigger -ResourceGroupName $ ResourceGrou ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
  + CategoryInfo         :CloseError:(:) [Start-AzDataFactoryV2Trigger],HttpRequestException
  + FullyQualifiedErrorId:Microsoft.Azure.Commands.DataFactoryV2.StartAzureDataFactoryTriggerCommand
An error occurred while sending the request.
At C:\Users\nikthoma\Downloads\powershell_deployment.ps1:30 char:9
+ Start-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGrou ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Start-AzDataFactoryV2Trigger], HttpRequestException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.DataFactoryV2.StartAzureDataFactoryTriggerCommand
从azure power shell连接到azure portal时遇到同样的错误这个命令(Connect-AzAccount)
Like getting same kind of error while connecting to azure portal from azure power shell for this command (Connect-AzAccount)
任何身体帮助
Can any body help
推荐答案
这些是Windows Azure Pack for PS所需的端口。您可以找到此信息和其他相关信息 这里。
您能否确保打开这些端口并使用最新版本的Powershell和PS模块(AZ)。
Can you Please make sure you have these ports open and that you are using the latest version of Powershell and of the PS module (AZ).
这篇关于从azure powershell连接到azure门户时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!