ערוך

שתף באמצעות


Export and import canvas apps as a package

This article provides a step-by-step guide for exporting and importing canvas apps. Before you begin, review the overview article to learn about the different export and import options available.

Important

It's recommended to use solutions for application lifecycle management (ALM) to ensure proper management and support.

Export a canvas apps package

To export a canvas apps package, select your app, and then select Export Package.

Export package GIF demo with example export walkthrough.

You can change the default Import Action for each resource used by your canvas app. By default, resources in a canvas app package, including the app itself, are set to Update. However, you have the option to select Create as new during import, which will create the resource instead of updating an existing one. The import action you select will be the default action during the app import

Important

You can only import the exported package. Changes to the exported package file aren't supported.

To export a canvas app package

  1. Sign in to Power Apps.

  2. Select Apps from the left pane.

  3. Select the app that you want to export.

  4. Select Export Package.

    Select export.

  5. Enter the package Name and Description. You can also change the Environment name, if needed.

    Review package details.

  6. Select Update to choose the import action for the app package resource.

    Configure package content action.

  7. Select Create as new if the app should be created during import, or Update to update an existing app.

    Import setup.

    Note

    The Import Setup action text changes depending on your new selection.

  8. Repeat the previous step for each additional resource in the app package.

  9. (Optional) Select Import comment icon. (comment icon) to insert a comment for each resource.

    Import comment.

  10. Select Export to export the package.

The package is downloaded to your browser's default downloads folder.

Importing a canvas app package

To import a canvas app package, select Import canvas app. Be sure to select the correct actions for each app package resource—for example, create a new instance of an app or a flow. You can also read additional information in comments that were entered while the app package was being exported.

Import package GIF demo with example export walkthrough.

If you're updating an existing app or resource, be sure to publish the app so users can see the changes.

Tip

You can quickly confirm selections before importing an app package by viewing the icon changes for each resource type.

Icon Description
Create as new Create as new: A new resource will be created.
Import action changed Import action changed: The import action for the resource has been modified.
Action required Action required: You must select an import action before the app package can be imported.

To import a canvas app package

  1. Sign in to Power Apps.

  2. Select Apps from the left pane.

  3. Select Import canvas app.

    Select import.

  4. Select Upload, and select the app package file that you want to import.

  5. Select the Import Setup action, or Wrench icon. for a resource.

    Select import action.

    • If you select Create as new, you can change the resource name.

      Select import action - resource name.

    • If you select Update, select an app that you want to update during the import.

      Select import action - update.

  6. Repeat the previous step for each additional resource in the app package.

  7. (Optional) If the app package contains references to connections, you can choose the connection from the available connections list.

    Select connection during import.

    Select Select during import to choose the appropriate connection.

    Select connection.

    Note

    • If no connections are available, or the connection you want isn't listed, select Create new to create a new connection in a new browser tab. Ensure that you create the connection for the correct resource type. After creating the connection, return to the import app browser tab and select Refresh list to reflect and choose the newly created connection.
    • In some cases, it is necessary to reconfigure the flow association when you import a canvas app with flows. For more information, see Add an existing flow
  8. (Optional) If comments were entered for a resource during the export of the app package, the comment icon will appear filled and the text Comment yes will appear when you hover over it. Select the comment to view it.

    Comment available to view.

  9. Select Import to import the app package.

    Important

    If you select to Update an existing app, the new changes will be saved as a draft of the app. You'll need to publish the app so users can see the changes.