Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Multiple developers sharing work on multiple Solutions using ALM Azure pipelines

(1) ShareShare
ReportReport
Posted on by 10
My organization's tenant has four developers working on five solutions using the Azure pipelines. We have a Production and a Test environment where we import the solutions for the user base to access. Each solution has it's own git repository. We coordinate solution updates when two or more developers are working on the same solution in their respective developer environments in order to avoid collisions. We are experiencing frequent pipeline failures in the pipeline Import steps. Most are due to Dataverse entity schema changes while modifying the solutions. Attempting to move the entity schema(s) between developer environments by embedding them in simple solutions (holding only data table schemas) and then exporting/importing that solution has been very unreliable lately. Currently the only reliable success path seems to be that a solution can only be modified (especially when that solution change involves an entity schema modification) by one developer in their dev environment, pushed up to the repo, pulled down and exported to Test or Production - rather than be shared in any manner. Pulling solution sources from the repo into the dev environment via the pipelines does not address/resolve entity schema changes. I am beginning to think the current approach does not work well for multiple developers and that I need to reconsider a Teams Dataverse approach. That is to say multiple developers using a shared Dataverse database. Any insight on how other community members who work with multiple developers on multiple solutions would be appreciated.
Categories:
  • Suggested answer
    kalluu91 Profile Picture
    32 on at
    Multiple developers sharing work on multiple Solutions using ALM Azure pipelines
    In my project (having 4 developers working), I have structure the code and team as following to avoid conflicts:
    - All is working on the same DEV environment
    - Customizations (forms, fields, views): avoid assigning them on the same component to avoid conflicts
    - Plugins: create a DEV plugin dll per developer + 1 main plugin dll for actual plugin, see details here https://kalcancode.wordpress.com/2025/02/14/power-apps-development-lifecycle-for-a-team-part-1/
  • EricRegnier Profile Picture
    8,714 Most Valuable Professional on at
    Re: Multiple developers sharing work on multiple Solutions using ALM Azure pipelines

    Hi @YaroslavSolAlc, I wouldn't recommend having different solutions having the same objects like JS. You'll need to have a solution layering strategy. See this for more info: https://learn.microsoft.com/power-apps/maker/data-platform/solution-layers?WT.mc_id=DX-MVP-5004271
    Also, quick tips: try to have the least number of solutions possible, always use same publisher and have one dev env per produced managed solution.

    Hope this helps!

  • YaroslavSolAlc Profile Picture
    2 on at
    Re: Multiple developers sharing work on multiple Solutions using ALM Azure pipelines

    Hi Eric, as I understand, after PR is merged into master branch build creates only one solution that contains all the artifacts and then this one huge solution is imported to, let's say, test env.
    My question what if I have 7 different solutions on dev, test, prod env and I want to export/import these solutions to test env from dev not all. but for example, in the current sprint I want to move only solution 1 and solution 3. These solutions can contain the same js web resource. How would you automate such example? Thank you in advance.

  • EricRegnier Profile Picture
    8,714 Most Valuable Professional on at
    Re: Multiple developers sharing work on multiple Solutions using ALM Azure pipelines

    Hi @jdfeemster,
    I would suggest starting a new thread for that specific issue since it doesn't really related to the initial one, but most likely the issue is because of different version/solutions/differences between the environments. Ensure there are all in sync such as: Release Wave Updates are both on/off, service/client versions are the same (see image below), out-of-the-box (1st party) solutions/add-ons are the same version  (see 2nd image below). The other thing to check if there are language packs installed and ensure the exists in all envs. If that's no luck, than perhaps opening a Micrsoft Support ticket to get more insights from their telemetry.

    EricRegnier_0-1682720049216.png

    EricRegnier_1-1682720385482.png


    Hope this helps!

  • jdfeemster Profile Picture
    10 on at
    Re: Multiple developers sharing work on multiple Solutions using ALM Azure pipelines

    We do have the Azure pipelines working for most solutions. The specific problem we are encountering now is that for one solution, the Power Platform Import step is throwing an obscure error and failing to import the packed and checked application. The really odd thing is that only one of the developer environments can successfully export/import this solution - the one that last modified it. The rest of the developer environments cannot when using Azure pipelines. The reported reason given is: "AttributeId is null." I was unable to find any significant differences between that developer environment and the other developer environments. While attempting to find more detail associated with the ALM error, I was able to find the following at one point, but am unable to directly associate it with any specific solution entity:

    "Customization.Tab_Solution"

    "Customization.Sol_Message" <Cell ss:StyleID="s137"> <Data ss:Type="String">AttributeId is null</Data>

    "Entity Relationships" <Cell ss:StyleID="s137" name="ErrorText">

     Based on the reference to entity relationships, I did inspect the solutions 28 entities and their Relationships advanced options settings expecting to find an unspecified field. In fact there were several for both the one-to-many and many-to-one links associated with the Delete attribute but I could not discern any pattern that would flag an anomaly.

  • Verified answer
    EricRegnier Profile Picture
    8,714 Most Valuable Professional on at
    Re: Multiple developers sharing work on multiple Solutions using ALM Azure pipelines

    Hi @jdfeemster,

    Great question and I have a similar situation with 40+ developers. We follow a "Git is the source-of-truth" strategy and pretty much the same ALM process as traditional coding with feature branching. In short the overall process is:

    1. Developers perform their changes in their own developer environment (env) or sometimes in a shared dev env. They create their dev from a clone or sometimes install a solution version from git (#4 below) into a vanilla env.
    2. They create a feature branch off of main/master and once ready to commit/deploy, they unpack the solution from their env. We use the sync command from the pac cmdlets to unpakc which makes life easier.  They then review and commit their changes to the feature branch and submit a PR to main.
    3. When main is updated, a pipeline triggers to generate the solution off of the main branch. We use the pack task from the ADO Power Platform build tools.
    4. Solution is now a build artifact and deployed to the target environments, using the ADO Power Platform build tools.

    There's lots more happening within these steps, but that's the gist of it. Sometimes we get into situation where the solution is invalid when we try to import to the target env, but that's usually a developer error where they forgot to include something or included something they shouldn't have as part of their commit. The PR process helps to mitigiate this.

    Hope this helps a little!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics