admin管理员组文章数量:1127941
I am currently working(fighting) with UiPath CLI (version 23.10.8753.32995) in order to pack my project and later on publish it to the orchestrator.
Background: We are using Github Enterprise with SSO, hooked up to our Azure AD. We are also running UiPath Cloud with Azure AD integration (working) - in UiPath Cloud I've set up an "External Application" that allows access to the Orchestrator API via OAuth. The "application type" that my External Application is using is "Confidential Application", and so I've populated my github secrets with AppID, AppSecret and AppScope.
Problem: As soon as I try to run the CLI from my github pipeline to pack my project, I get an error:
uipcli Error: 0 : ``Microsoft.Rest.HttpOperationException: Operation returned invalid status code '404'.
at UiPath.Orchestrator.Web.ClientV3.PackageFeedsClient.GetAccessibleFeedsAsync(Nullable`1 onlyPublishable, String api_version, CancellationToken cancellationToken)
at UiPath.CommandLine.Utils.FeedUtil.GetFeeds(PackageFeedsClient packageFeedsClient, StringBuilder accessToken)
at UiPath.CommandLine.Utils.FeedUtil.GetOrchestratorFeeds(BusinessTraceSource businessTraceSource, BaseAuthenticatedOptions options)``
I've been reading the docs, and one thing that I keep coming back to is the note in the "About CLI" where it says the cli does not support SSO connections, my eagerness to get this working keep believing that there must be another way, but I cannot find any, but I am not a quitter and so I turn to you brilliant minds. Do I let the ship sail and admit defeat due to the "CLI not supporting SSO connections" or ? Do I quit the fight in github and go with Automation Ops pipeline and source control from UiPath cloud instead ?
Source: UiPath Azure AD integration -
Source: UiPath External Application -
Source: UiPath about CLI -
I've tried changing and creating new External Application, downgrading the CLI, running CLI from my own machine (getting error 401) Ever since the enablement from the AD integration in uipath, the CLI has not been working from my github pipeline. (It worked prior to the AD integration enablement)
I am currently working(fighting) with UiPath CLI (version 23.10.8753.32995) in order to pack my project and later on publish it to the orchestrator.
Background: We are using Github Enterprise with SSO, hooked up to our Azure AD. We are also running UiPath Cloud with Azure AD integration (working) - in UiPath Cloud I've set up an "External Application" that allows access to the Orchestrator API via OAuth. The "application type" that my External Application is using is "Confidential Application", and so I've populated my github secrets with AppID, AppSecret and AppScope.
Problem: As soon as I try to run the CLI from my github pipeline to pack my project, I get an error:
uipcli Error: 0 : ``Microsoft.Rest.HttpOperationException: Operation returned invalid status code '404'.
at UiPath.Orchestrator.Web.ClientV3.PackageFeedsClient.GetAccessibleFeedsAsync(Nullable`1 onlyPublishable, String api_version, CancellationToken cancellationToken)
at UiPath.CommandLine.Utils.FeedUtil.GetFeeds(PackageFeedsClient packageFeedsClient, StringBuilder accessToken)
at UiPath.CommandLine.Utils.FeedUtil.GetOrchestratorFeeds(BusinessTraceSource businessTraceSource, BaseAuthenticatedOptions options)``
I've been reading the docs, and one thing that I keep coming back to is the note in the "About CLI" where it says the cli does not support SSO connections, my eagerness to get this working keep believing that there must be another way, but I cannot find any, but I am not a quitter and so I turn to you brilliant minds. Do I let the ship sail and admit defeat due to the "CLI not supporting SSO connections" or ? Do I quit the fight in github and go with Automation Ops pipeline and source control from UiPath cloud instead ?
Source: UiPath Azure AD integration - https://docs.uipath.com/automation-cloud/automation-cloud/latest/admin-guide/azure-ad-integration#configuring-azure-for-the-integration
Source: UiPath External Application - https://docs.uipath.com/automation-cloud/automation-cloud/latest/api-guide/accessing-uipath-resources-using-external-applications
Source: UiPath about CLI - https://docs.uipath.com/automation-ops/automation-cloud/latest/USER-GUIDE/about-uipath-cli#using-custom-nuget-feeds
I've tried changing and creating new External Application, downgrading the CLI, running CLI from my own machine (getting error 401) Ever since the enablement from the AD integration in uipath, the CLI has not been working from my github pipeline. (It worked prior to the AD integration enablement)
Share Improve this question asked Jan 8 at 15:52 No ReplyNo Reply 11 bronze badge New contributor No Reply is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. 1- What is the exact issue you are facing here! @No Reply – Jahnavi Commented Jan 9 at 10:27
1 Answer
Reset to default 0I finally solved this issue.
The UiPath CLI doesn't like the env.vars within the github pipeline, so using ${{ secrets.example }} is the way to go.
本文标签: azureUiPath CLIgithub deployment to uipath cloudStack Overflow
版权声明:本文标题:azure - UiPath CLI - github deployment to uipath cloud - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736707010a1948731.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论