One of the main limitations of PowerApps was the fact that only one individual could edit the application at a time. Three years ago (November 2021), Microsoft announced the experimental Git version control feature for the Power Apps studio.
With the Git version control enabled, it is feasible for two or more makers to load a canvas app into Power Apps Studio, make independent changes, and then save those changes to merge them with the changes made by other makers.
To activate the experimental Git version controll setting follow the bellow steps :
Open your Power App in edit mode, go to Settings () – Updates – Experimental, and turn on the toggle “Show the Git version control setting”, like the image below shows.
The previous action will add a new section to the Git version control. To begin with, the connect to git repo process, click the Connect button.
Fill in the requested form mandatory fields and select Apply.
Field | Value |
Git repository | https://dev.azure.com/org_name/project_name/_git/repo_name |
Branch | main or as I chose for the demo a different name, like PowerAppsDemo |
Directory name | powerapps |
The last step is to Sign in to your repository, but before doing this step you should create a Personal Access Token (PAT)
After generationg a new PAT you can complete the sign in process .
If the branch does not exist in the repository, it will create a new one, you only have to select Yes on the prompt Create branch message.
Following the configuration steps, you will be able to view the details of the repository on the Settings – Git version control page