Hello,
I am using the PP CLI to import a solution from Dev to UAT environment and am trying to use a JSON deployment configuration file.
For arguments sake I am authenticated in the CLI as User A and I want to use a connection reference for User B.
When I import the solution with connection values for User B's connections I get:
Error: An unexpected error occurred.
An unexpected error occurred.
If I amend my configuration file and delete the connnectionId value it successfully imports however it then does not use the correct connection.
"ConnectionReferences": [
{
"LogicalName": "hf_sharedflowpush_6132d",
"ConnectionId": "",
"ConnectorId": "/providers/Microsoft.PowerApps/apis/shared_flowpush"
},
There is also a Flow within my solution which i would like the owner to be User B not User A, however adding the email address of User B into the UserEmail field in the config file doesn't help.
"Workflows": [
{
"Name": "Send Emails Flow",
"WorkflowId": "xxxxxxx-xxxxx-xxxx-xxxx-xxxxxxx",
"UserEmail": "UserB@domain.co.uk"
}
I had hoped I could share the connection from User B with User A so it works but dont seem to be able to do that. As for the Flow Ownership tdo I need to create a SolutionComponentOwnershipConfiguration ?
Any pointers on this would be really helpful as im a bit stuck in my tests and want to move this into existing DevOps Pipelines once I get to grips with the deployment files.
Thanks

Report
All responses (
Answers (