Module 6 - Power Platform Application Lifecycle Management
Module 6 - Power Platform Application Lifecycle Management
Platform for
Administrators:
Power Platform Application Lifecycle
Management
Microsoft
Services
Conditions and Terms of Use
Microsoft Confidential
This training package is proprietary and confidential and is intended only for uses described in the training materials. Content and software is
provided to you under a Non-Disclosure Agreement and cannot be distributed. Copying or disclosing all or any portion of the content and/or
software included in such packages is strictly prohibited.
The contents of this package are for informational and training purposes only and are provided "as is" without warranty of any kind, whether
express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and non-
infringement.
Training package content, including URLs and other Internet website references, is subject to change without notice. Because Microsoft must
respond to changing market conditions, the content should not be interpreted to be a commitment on the part of Microsoft, and Microsoft
cannot guarantee the accuracy of any information presented after the date of publication. Unless otherwise noted, the companies,
organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association
with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
• For large organizations users' requests for new business apps and automation
should be managed from a centralized location where operations and solutions
architects should advise whether this solution should fulfill missing business
needs, or an organization already has this feature available.
• This request should run through a predefined process to collect certain approvals
and accepting request terms and conditions defines future responsibilities.
• Power Platform features can be used to build such a central hub.
• Upon requests approval, a concerned user or team can start implementing the
solution at the organization or departmental development environment.
• Consider all points mentioned in a previous slide regarding New Applications.
Managing Power Platform
Environments
Power Platform administrators should define ALM for their resources based
on organization/department level that is based on actual business needs
and available licenses.
Using Packages
Power Platform deployment methods: Using Solutions
Which Resources When you export an app, the dependent resources of the app
will also be included into the package. Initially only a subset of
Can Be Migrated all possible resource types will be supported as outlined in the
Using a Package table below.
Power Automate Yes There are two options to import a flow into an environment:
Create new: The flow will be created as a new flow in the environment where the package is imported.
Update: The flow already exists in the environment and will be updated when this package is imported.
Note: All resources that the flow depends on will also be included within the app package that is exported and will need to
be configured when the package is imported.
Custom Connectors No If an app depends on a custom connector, we do not currently support exporting the connector as a part of the package.
If you have an app that relies on a custom connector, your only current option is to manually re-create or update the
connector in your target environment and select that connector when you import the package.
Connections No If an app depends on a connection (such as a SQL connection w/ credentials), we do not currently support exporting the
connection or credentials as a part of the package.
If you have an app that relies on a shared connection like SQL, your only current option is to manually re-create that
connection with the appropriate credentials in your target environment and select that connection when you import the
package.
Common Data Service No Exporting Common Data Service customizations is no longer supported as a part of packaging. This is now supported
Customizations through export and importing the environment solutions.
Gateways No Gateways are only supported in the default (and {tenant name} (from preview) ) environments, so export/migration is not
supported.
Deployment Using Solutions
• In Power Platform, solutions are leveraged to transport apps and components from one environment to
another or to apply a set of customizations to existing apps.
• A solution can contain one or more apps and flows as well as other components such as site maps,
entities, processes, web resources, option sets, and more.
• Some components are nested within other components, for example, an entity contains forms, views,
charts, fields, entity relationships, messages, and business rules.
• Each of those components requires an entity to exist.
• A field can’t exist outside of an entity.
• Solutions need environments with CDS installed to be used – creating environment with CDS will
explained later in this module.
Managed and Unmanaged Solutions
A managed solution is a complete solution that is intended to An unmanaged solution is one that is still under development or
be distributed and installed. isn’t intended to be distributed. When the unmanaged solution
is complete and you want to distribute it, export it and package
• To create a managed solution, you choose the As it as a managed solution.
managed option when you export the solution.
• Solutions created by default as unmanaged are then exported
• You cannot edit the components of a managed solution. as managed or unmanaged.
• You cannot export a managed solution. • While a solution is unmanaged, you can continue to add and
• A managed solution cannot be modified and can be remove components to and from it.
uninstalled after it is imported. • You can export an unmanaged solution to transport
• All the components of that solution are deleted by unmanaged customizations from one environment to
uninstalling the solution. another.
• When an unmanaged solution is deleted, only the solution
• You cannot import a managed solution into the same
container of any customizations included in it is deleted. All
environment that contains the original unmanaged solution.
the unmanaged customizations remain in effect and belong
To test a managed solution, you need a separate to the default solution.
environment to import it into.
• You can’t delete the components by uninstalling the solution.
• When you import an unmanaged solution that contains
components that you have already customized, your
customizations will be overwritten by the customizations in
the imported unmanaged solution and can’t be undone.
La
b:
Exercise 1
Deploy Resources
Between
Environments Using
In this exercise, you will learn how to deploy
a
Package
different types of resources (Apps – Flows)
between different environments using a package.
Step 1) Create a New
App
1. Create a new app from phone layout
and name it Contoso Operations then
Create.
2. Add the following controls to the app
screen:
• Label: Text property = Send Email To
• Text box
• Button: Text property = Send Email
3. Select the button to register
associated flow to this app to send
emails.
Step 2) Create App Context
Flow (continued)
1. In Power Automate studio, switch to
Contoso Development environment
where created app is hosted.
2. Under Power Automate, select Create.
3. Select Instant flow.
4. Name the flow SendEmailFlow then
search for the PowerApps trigger as
shown in the screen shot.
5. Next to flow trigger, add an action step of
type Send an email (V2).
6. Switch action to Advanced mode
Step 2) Create App Context
Flow
7. Select the Ask in PowerApps button to
create flow variables which will be
passed from the created app.
8. Note: Select See more to view Ask in
PowerApps again to create variables for
“Subject” and “Body” fields.
9. Save and navigate back to the Contoso
Operations app to register the created
flow.
Step 3) Register Created Flow to App
Deploy Resources
Between
Environments Using
In this exercise, you will learn how to deploy
a
Solution
different types of resources (Apps – Flows)
between different environments using a solution.
Step 1) Setup CDS