Set up ALM Accelerator for Makers components
Important
The ALM Accelerator for Makers components are for reference only. For more robust deployment configurations, including components that need to be configured as part of—or after—solution deployment, we recommend that you use the ALM accelerator for Microsoft Power Platform. The GitHub integration in the ALM Accelerator for Makers will eventually be replaced by functionality in the ALM Accelerator for Power Platform app. More information: Set up the ALM accelerator for Microsoft Power Platform components and Use the ALM accelerator for Power Platform app
This solution uses GitHub actions for source control and deployments. The GitHub connector is used in flows to interact with GitHub. More information: Use the ALM Accelerator for Makers components
Prerequisites
Note
The ALM Accelerator for Makers components don't have a dependency on other components of the CoE Starter Kit. They can be used independently.
Environments
The ALM Accelerator for Makers components will manage deploying solutions from development to testing to production environments. You'll need separate environments for deploying ALM Accelerator for Makers, and for the development, testing, and production of your project:
Create an environment with a Microsoft Dataverse database for deploying ALM Accelerator for Makers.
The environment must have a data loss prevention (DLP) policy that allows Dataverse, Office 365 Outlook, Power Apps for Makers, Approvals, GitHub, and Power Platform for Admins connectors to be used together. Those connectors must be in the business data–only bucket of the DLP policy for this environment.
Any target environment—development, test, or production—will require a Dataverse database for deploying solutions.
Create a GitHub account at GitHub.com.
Create a GitHub org.
Users and permissions
You'll need the following users and permissions in Microsoft Power Platform and Azure Active Directory (Azure AD):
A licensed Power Apps user with the system administrator security role in the environment where ALM Accelerator for Makers will be deployed.
Note
This user must not have enabled multifactor authentication until the full support of service principals is enabled in GitHub workflows.
A licensed Azure user with permissions to create app registrations and grant admin consent to app registrations in Azure AD.
A GitHub account at GitHub.com.
Create an Azure AD app registration
Set up an Azure AD app registration that will be used to create environments and retrieve solutions within an environment:
Sign in to portal.azure.com.
Go to Azure Active Directory > App registrations.
Select + New Registration.
Enter GithubDevOpsApp for the name, and then select Register. Don't change any other settings.
Select API Permissions > + Add a permission.
Select Dynamics CRM.
Select Delegated permissions, and then select user_impersonation.
Select Add permissions.
Select Grant admin consent for [Your Organization].
Select Authentication from the menu.
Under Advanced Settings > Allow public client flows, turn on the Enable the following mobile and desktop flows toggle.
Select Save.
Select Overview, and copy and paste the application (client) ID value to Notepad. You'll need this value in the next step as you configure the custom connector.
Leave the Azure portal open, because you'll need to copy some information when you set up the custom connector.
Import the solution
Download the ALM Accelerator for Makers solution zip file from the CoE Starter Kit repository (aka.ms/CoeStarterKitDownload—download the file ALMAcceleratorForMakers_x.x.xxxxxxxx.x_managed.zip under "Assets").
Go to make.powerapps.com.
Go to your target environment.
Create connections to all connectors used as part of the solution.
- Go to Data > Connections.
- Select + New Connection.
- Search for and select Microsoft Dataverse.
- Select + to create a connection.
- Complete the same steps for the following connectors:
- Office 365 Outlook
- GitHub
- Power Apps for Makers
- Power Platform for Admins
- Approval
- Content Conversion
On the left pane, select Solutions.
Select Import. A pop-up window appears. If the window doesn't appear, be sure your browser's pop-up blocker is disabled and try again.
In the pop-up window, select Choose File.
Select the ALM Accelerator solution from File Explorer (ALMAcceleratorForMakers_x.x.xxxxxxxx.x_managed.zip).
When the compressed (.zip) file has been loaded, select Next.
Review the information, and then select Next.
Establish connections to activate your solution. If you create a new connection, you must select Refresh. You won't lose your import progress.
Select Import.
Configure environment settings and deployment stages after import
- Go to make.powerapps.com.
- On the left pane, select Solutions.
- Select the Power Platform GitHub ALM solution, and then open the ALM Accelerator Admin Configuration app.

Set up deployment stages
Important
Update one row at a time, and then select Update to save your changes.
Update the Stage Owner Email for each of the three stages (DEV, TEST, and PROD). The stage owner will receive notification for approving project creation and deployment.
Update the Admin username and password. These credentials can be a service account or a user account with a Power Platform admin role.
For each of the test and production stages, select a pre-existing environment that will be used for test and production deployments. Your development environment is the environment provisioned when you first create a project.
Update the Webhook URL value
This URL will be used for callbacks from GitHub.
On a new tab, go to make.powerapps.com > Solutions > Power Platform GitHub ALM solution.
Edit the WorkflowCompleteNotification flow.
Select the first action, and then copy the URL in the action.
Go back to the ALM Accelerator Admin app, and update the Webhook Url field with the value that you copied in the previous step.
Select Update.
Update the client ID
The client ID is needed for flows to create an environment and perform other admin-related activities, like fetching solutions and apps inside an environment.
In the ALM Accelerator Admin app, update the Client ID field by using the application (client) ID value you copied in step 13 of Create an Azure AD app registration.
Select Update
Update the GitHub org name
Enter your GitHub org name. The repositories will be created inside this org. More information: Prerequisites, earlier in this article
Select Update.
Update the language
Change your preferred language, if you want. Power Apps uses the IETF BCP-47 language tag format, for example en_US, fr_FR, it_IT.
Select Update.
Update GitHub plan exists setting
If a paid GitHub org plan exists for your org, turn on the GitHub Plan Exists toggle.
Secure admin credentials
Field-level security is enabled to secure credentials for deployments. As an admin, you'll need to add users to the FieldSecurityForPassword field security profile; this enables those users to add their credentials for the deployment from development to test and production environments.
To add users to the field security profile
Go to make.powerapps.com, select Solutions, and then open the Power Platform GitHub ALM solution.
Select FieldSecurityForPassword from the solution.
Select Users.
Select Add.
Search for a user you want to add to the profile. Select to add the user to the security profile.
Repeat the previous step for all users who will use the ALM Accelerator for Makers app.
Select Save and Close.
Configure GitHub org secrets
GitHub org secrets will be used to make API calls to import and export solutions, and to interact with Dataverse. Secrets are the recommended way of storing sensitive information.
GitHub supports org secrets and repository-level secrets. If you have a paid plan, all the secrets created at the org level can be used by private repositories as well. That's the advantage of having a paid plan. Otherwise, the admin has to create secrets for each repository.
Learn more: GitHub Team offerings.
Important
The environment admin must have GitHub repo admin permissions to complete the following steps.
Paid GitHub org plan
If you have a paid GitHub org plan, configure org secrets by following these steps:
- Go to your org in GitHub (https://github.com/yourorg).
- Select Settings > Secret > New organization secret
- Enter DEV_ENVIRONMENT_SECRET as the name for your development deployment stage, and enter the value for your secret.
- In the Repository access list, select Private Repositories.
- Select Add Secret.
- Repeat the preceding steps to add a TEST_ENVIRONMENT_SECRET and PROD_ENVIRONMENT_SECRET.
Free GitHub org plan
If you don't have a paid GitHub org plan, do the following for all projects created in the ALM Accelerator for Makers app.
Note
These steps need to be followed for all projects created in ALM Accelerator for Makers.
- Go to your org in GitHub (https://github.com/yourorg).
- Select Settings > Secret > New organization secret.
- Enter DEV_ENVIRONMENT_SECRET as the name for your development deployment stage, and enter the value for your secret.
- Select Add Secret.
- Repeat the preceding steps to add a TEST_ENVIRONMENT_SECRET and PROD_ENVIRONMENT_SECRET.
You can now use the ALM Accelerator for Makers components.
Povratne informacije
Pošalјite i prikažite povratne informacije za