web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Answered

Restore Solution from DevOps

(1) ShareShare
ReportReport
Posted on by 7
Hello,
 
I found quite a few topics regarding how to enable source control and push changes to DevOps, but some how couldn't fine how to restore solution to PowerPlatform from DevOps...
 
Could you please point me to right manual? :)
Categories:
I have the same question (0)
  • Verified answer
    wolenberg_ Profile Picture
    500 Moderator on at
    Restore Solution from DevOps
    Hi There, restoring a Power Apps solution from DevOps back into Power Platform involves importing the unpacked solution files (stored in source control) into an environment. Here's a clear path to get you started:
     
    How to Restore a Power Platform Solution from DevOps

    1. Use Power Platform CLI (PAC)
    The Power Platform CLI is the recommended tool to pack your solution files and import them into an environment.
    Steps:
    • Open your DevOps repo or local folder where the solution is stored (usually unpacked as XML + folders).
    • Run the following command to pack the solution:
    pac solution pack --folder ./YourSolutionFolder --zipfile ./YourSolution.zip --log
    
     
    • Then import the packed solution:
    pac solution import --path ./YourSolution.zip --environment <your-env-id>
     
     
    2. Use DevOps Pipeline (Optional)
     
    If you're automating this via Azure DevOps:
    •  Use the Power Platform Build Tools extension.
    •  Add tasks like:
      ⁠◦  Pack Solution
      ⁠◦  Import Solution
    •  Configure service connection to your Power Platform environment.
     
    3. Manual Import (If You Have the ZIP)
     
    If your DevOps repo stores the packed solution (.zip):
    •  Go to Power Apps > Solutions
    •  Click Import
    •  Upload the .zip file
    •  Follow the prompts to complete the import
     
    Make sure your solution is managed or unmanaged depending on your deployment strategy. Also, confirm that all dependencies (e.g., custom connectors, environment variables) are available in the target environment.
     
     

    You can find the full guide here:  

    📘 Microsoft Learn – ALM with Power Platform

    If this helped or could help others in the community, feel free to give it a like or kudo — it helps surface useful answers for everyone! 
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 790 Most Valuable Professional

#2
developerAJ Profile Picture

developerAJ 473

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 383 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics