UiPath Documentation
cicd-integrations
2024.10
false
CI/CD 集成用户指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Azure DevOps 扩展程序故障排除

如果在使用 Azure DevOps 扩展程序时遇到问题,请考虑以下故障排除方案。

描述

从 Azure DevOps 运行任务或管道时,可能会遇到问题,这通常是由于命令中为 Orchestrator 设置了不正确的作用域所致。

发生此问题时,您可能会遇到以下错误消息:

  • Failed to run the command. Could not connect to Cloud Orchestrator: https://cloud.uipath.com/, Account Name for App: ***, Application Id: ***, Application Scope(s): ***, Tenant: ***, Organization Unit: Shared. Please make sure that the provided URL (https://cloud.uipath.com/) is correct, available from your build agent, and not blocked by a firewall."Failed to run the command. Could not connect to Cloud Orchestrator: https://cloud.uipath.com/, Account Name for App: ***, Application Id: ***, Application Scope(s): ***, Tenant: ***, Organization Unit: Shared. Please make sure that the provided URL (https://cloud.uipath.com/) is correct, available from your build agent, and not blocked by a firewall."
    Failed to run the command. Could not connect to Cloud Orchestrator: https://cloud.uipath.com/, Account Name for App: ***, Application Id: ***, Application Scope(s): ***, Tenant: ***, Organization Unit: Shared. Please make sure that the provided URL (https://cloud.uipath.com/) is correct, available from your build agent, and not blocked by a firewall."Failed to run the command. Could not connect to Cloud Orchestrator: https://cloud.uipath.com/, Account Name for App: ***, Application Id: ***, Application Scope(s): ***, Tenant: ***, Organization Unit: Shared. Please make sure that the provided URL (https://cloud.uipath.com/) is correct, available from your build agent, and not blocked by a firewall."
    
  • uipcli Error: 0: UiPath.CommandLine.Core.IdentityHandlers.Exceptions.AccessTokenFetchException: Could not fetch access token.uipcli Error: 0: UiPath.CommandLine.Core.IdentityHandlers.Exceptions.AccessTokenFetchException: Could not fetch access token.
    uipcli Error: 0: UiPath.CommandLine.Core.IdentityHandlers.Exceptions.AccessTokenFetchException: Could not fetch access token.uipcli Error: 0: UiPath.CommandLine.Core.IdentityHandlers.Exceptions.AccessTokenFetchException: Could not fetch access token.
    
  • {'message':'You are not authorized!','errorCode':0,'result':null,'targetUrl':null,'success':false,'error':{'code':0,'message':'You are not authorized!','details':'You are not allowed to perform this operation.','validationErrors':null},'unAuthorizedRequest':true,'__abp':true} at UiPath.Orchestrator.Client.Util.ExceptionsHandler.RunWithFriendlyExceptionMessages[T] (Func`1 func)
    {'message':'You are not authorized!','errorCode':0,'result':null,'targetUrl':null,'success':false,'error':{'code':0,'message':'You are not authorized!','details':'You are not allowed to perform this operation.','validationErrors':null},'unAuthorizedRequest':true,'__abp':true} at UiPath.Orchestrator.Client.Util.ExceptionsHandler.RunWithFriendlyExceptionMessages[T] (Func`1 func)
    
  • Could not connect to Cloud Orchestrator: https://automationsuite.lux.eib.org/, Account Name for App: , Application Id: , Application Scope(s): , Tenant: , Organization Unit: . Please make sure that the provided URL (https://..***.org/) is correct, available from your build agent, and not blocked by a firewallCould not connect to Cloud Orchestrator: https://automationsuite.lux.eib.org/, Account Name for App: , Application Id: , Application Scope(s): , Tenant: , Organization Unit: . Please make sure that the provided URL (https://..***.org/) is correct, available from your build agent, and not blocked by a firewall
    Could not connect to Cloud Orchestrator: https://automationsuite.lux.eib.org/, Account Name for App: , Application Id: , Application Scope(s): , Tenant: , Organization Unit: . Please make sure that the provided URL (https://..***.org/) is correct, available from your build agent, and not blocked by a firewallCould not connect to Cloud Orchestrator: https://automationsuite.lux.eib.org/, Account Name for App: , Application Id: , Application Scope(s): , Tenant: , Organization Unit: . Please make sure that the provided URL (https://..***.org/) is correct, available from your build agent, and not blocked by a firewall
    

补救措施

您必须确保在命令中为 Orchestrator 设置了正确的作用域。

有关详细信息,请参阅API 访问权限应用程序作用域

  • 与 Orchestrator 作用域相关的问题
  • 描述
  • 补救措施

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新