CoE ALM Accelerator for Power Platform developer environments (Deprecated)

Note

The CoE CLI is deprecated and will be removed in a future release. Use the Power Platform Project Setup Wizard to set up and manage your ALM Accelerator for Power Platform projects.

Each maker needs a development environment created. Advanced makers can use a community environment to work in. Community environments can be accessed from the sign-up page at https://powerapps.microsoft.com/developerplan/, then select Get started free.

Power Platform for developer licenses

One approach to app development is for organizations is to manage and assign development environments to makers. To sign up for the developer plan for your organization, you may need to enable viral sign-up to have the license assigned to your organization.

  1. Check if ad-hoc subscriptions are enabled in your tenant.

    Import-Module -Name MSOnline
    Connect-MsolService
    Get-MsolCompanyInformation | fl AllowAdHocSubscriptions
    
  2. The value of AllowAdHocSubscriptions must be false. If the value isn't false, then you need to temporarily enable AllowAdHocSubscriptions.

    Set-MsolCompanySettings -AllowAdHocSubscriptions $true 
    
  3. Verify that only the Viral consent plan is enabled using Get-AllowedConsentPlans.

    Import-Module -Name Microsoft.PowerApps.Administration.PowerShell
    Get-AllowedConsentPlans
    
  4. The results should be {Viral}. If it doesn't have this value, you can update the consent plan using Add-AllowedConsentPlans and Remove-AllowedConsentPlans.

    Add-AllowedConsentPlans -Type Viral
    Remove-AllowedConsentPlans -Type Internal
    
  5. Complete the sign-up process using https://powerapps.microsoft.com/developerplan/ by selecting Get started free.

  6. The license type Microsoft Power Apps for Developers can now be assigned to users or Microsoft Entra Groups

  7. If the AllowAdHocSubscriptions value was changed to true, you can update to value to false.

    Set-MsolCompanySettings -AllowAdHocSubscriptions $false 
    
  8. Makers who have been assigned the license can go to https://make.powerapps.com to create a development environment.

Admin maker setup

As an Azure DevOps services administrator, running the following commands add the required service connection to the development environment and set up security for the user.

coe alm maker add \
-o https://dev.azure.com/dev12345 \
-p alm-sandbox \
-e https://contoso-dev-user1.crm.dynamics.com \
-u username@contoso.com

More information: Core ALM maker add