I have a query related to Azure Devops Pipeline.
Is it possible to move form one tenant to another tenant.
Is it possible to move canvas app solution using Azure Devop Pipelines.
It yes, I am using Sharepoint lists. Can this be moved, as it wont be the part of solution, should it be done manually?
I am also using environment variables, How will this be mapped in the receiver tenant using pipelines.
I have few solutions that i need to move from one solution to another every sprint. So what will be the suitable plan/license for it.
Can you please share relevant documents or steps or related videos if any regarding this.
Yes, it is possible to move Power Apps solutions and their dependencies across tenants using Azure DevOps Pipelines, but it comes with a few challenges and considerations.
Let me break down your questions and provide solutions and resources.
Yes, it's possible to move resources (like Power Apps solutions, flows, and other configurations) from one Azure tenant to another. This is typically done through ALM (Application Lifecycle Management) processes, including the use of Power Platform Build Tools for Azure DevOps.
However, moving between tenants may involve:
Yes, you can move Canvas App solutions using Azure DevOps Pipelines. To do this, you will need to use Power Platform Build Tools to export and import solutions as part of your CI/CD pipeline.
Export Solution
task to export your solution, which will include your Canvas App, flows, and other components.Import Solution
task to import the solution into the destination environment (or tenant).SharePoint lists are not included directly in Power Apps solutions, so they won’t be automatically moved with the solution. You will need to handle the SharePoint list migration manually or automate the process through PowerShell or other tools.
You can:
If your Canvas App heavily depends on SharePoint lists, you'll need to ensure that the lists exist and are populated in the target environment before you import your solution.
For environment variables, you’ll need to manage them as part of the pipeline. Here’s how you can handle them:
Create Environment Variables in Target Tenant:
Export and Import Environment Variables:
Using Pipeline Variables:
For moving solutions every sprint, you will need to consider the following:
Power Apps Plan: You’ll need a Power Apps Per User Plan or a Power Apps Per App Plan for your users in the target environment. The type of plan depends on how many apps your users need access to.
Azure DevOps: Azure DevOps has different pricing tiers based on the number of users and the type of build pipelines (Free or paid). For CI/CD with Power Platform, you might need the Azure DevOps Pipelines service and possibly a Power Platform Build Tools license.
You can use the Microsoft Power Platform Build Tools for Azure DevOps, which requires the Power Apps (or Power Automate) licenses for the target environment.
For continuous deployment, it’s essential to have DevOps licenses for the build and release pipelines. These are typically part of your Azure DevOps or Microsoft 365 Enterprise plan, but for larger-scale projects, you may need Premium licenses.
Here are the key resources and steps that can guide you:
Power Platform Build Tools for Azure DevOps:
PowerShell Scripts for SharePoint List Migration:
Environment Variables:
Power Platform CI/CD Best Practices:
Power Platform ALM Overview:
Azure DevOps for Power Platform:
By following these steps and using the relevant tools, you can automate the migration of solutions, environment variables, and even SharePoint lists (with some manual effort or scripts) between tenants, supporting a smooth and efficient process for each sprint.
----------------------------------------------------------------------------------
If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,077
Most Valuable Professional