Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Unanswered

Cannot copy environment using Microsoft.PowerApps.CLI (v1.16.6)

(0) ShareShare
ReportReport
Posted on by 39

Hi!

 

In version 1.16.6 of Microsoft.PowerApps.CLII can no longer copy a Dataverse environment (Dynamics 365 CE/CRM).

I get the following error message:

 

Error: There is an error parsing the data. Property 'linkedEnvironmentMetadata' is missing.

 

But, switching back to version 1.15.3, the exact same commands still works.

 

I use a service principal and connect using the argument "-k ADMIN", which I know is deprecated (but still required at this point, from what I can tell).

 

Does anyone of you know what may be the cause of this, and whether there is a work-around (besides explicitly using an older version), perhaps if there is a way to specify a value for the linkedEnvironmentMetadata property in some way? Or whether it is possible to copy an environment without using the -k switch (if that has something to do with this error)?

 

I would prefer to always install the latest version in our nightly build pipelines (which is where I mainly use this package), and not having to keep track of versions in those scripts, if avoidable.

 

Best regards,

Henrik Svensson

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Governance and Administering

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 11 Super User 2025 Season 1

#2
bscarlavai33 Profile Picture

bscarlavai33 5 Super User 2025 Season 1

#3
getsplash Profile Picture

getsplash 2

Overall leaderboard

Featured topics