Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Unable to authenticate using 'Authenticate a Salesforce Org' in Release Pipelines (Azure Pipelines) #147

Closed
azlam-abdulsalam opened this issue Sep 15, 2020 · 3 comments
Assignees
Labels
breaking bug Something isn't working

Comments

@azlam-abdulsalam
Copy link
Contributor

We are investigating Authentication failures while using sfpowerscripts Authenticate Org Task, The underlying sfdx-cli command has broken the contract, for eg: if you are using sfdx-cli to authenticate an org in release pipeline, the new version seems to have a requirement for the project directory,

We will be updating for any workarounds or any patch required for the tasks!

@azlam-abdulsalam azlam-abdulsalam self-assigned this Sep 15, 2020
@azlam-abdulsalam azlam-abdulsalam added bug Something isn't working breaking labels Sep 15, 2020
@azlam-abdulsalam azlam-abdulsalam pinned this issue Sep 15, 2020
@azlam-abdulsalam
Copy link
Contributor Author

We have just raised the issue with cli team forcedotcom/cli#615

@azlam-abdulsalam
Copy link
Contributor Author

Here is a temporary work around for this issue

  • Unzip the below zip directory
  • Import the .json file contained in the zip directory into task group ( Task Groups/Import)
  • Save the task group
  • Add this task group into your release pipelines before authentication

Create a Dummy SFDX Project Task Directory.zip

@azlam-abdulsalam
Copy link
Contributor Author

Closing this as salesforce cli team switched core version back to 2.11.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant