Hi!
In version 1.16.6 of Microsoft.PowerApps.CLI, I 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
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 2