WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
117 stars 56 forks source link

Does the tool have copy to new instance from an existing instance feature #67

Closed lheng18 closed 4 years ago

lheng18 commented 5 years ago

I like the tool very much. Thanks for providing it. I saw the Power Shell API available, just wonder if the build task for it is available.

Thanks!

lheng18 commented 5 years ago

also create an CDS instance.

WaelHamze commented 5 years ago

@lheng18 can you please share the link?

I can't see copy mentioned anywhere here...https://docs.microsoft.com/en-us/powershell/module/microsoft.xrm.onlinemanagementapi/?view=dynamics365ce-ps

lheng18 commented 5 years ago

You are right. Copying or Cloning CE instance API is not available yet. How about creating a new Power App environment, Enable CDS database and assign user to the environment and delete environment? Here are the CmdLet list New-AdminPowerAppEnvironment ,New-AdminPowerAppCdsDatabase ,Set-AdminPowerAppEnvironmentRoleAssignment ,Remove-AdminPowerAppEnvironment

https://docs.microsoft.com/en-us/power-platform/admin/powerapps-powershell

Thanks!

WaelHamze commented 4 years ago

@lheng18 copy task is there now. If Env is not there, you will need to provision it first using the provision task.