web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Deployment Configurati...
Power Apps
Answered

Deployment Configuration file Connection References

(0) ShareShare
ReportReport
Posted on by 9

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

Categories:
  • Verified answer
    Bomberfrog Profile Picture
    9 on at

    Ended up giving up using Power Platform CLI and tried via DevOps and shared the connections from User B with the SPN running the pipelines and its solved the first part of my issue, no idea how i can do it via CLI but my goal was DevOps so no issues there for me. Now need to work out how to change the owner on import. However this is secondary. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard