Przejdź do treści
Biblioteka skilli
DevOps i chmura · Planowanie

d365-solution-alm

/d365-solution-alm

Planuje i sprawdza cykl życia rozwiązań Dynamics 365, Dataverse i Power Platform, w tym wersje zarządzane i wdrożenia.

Repozytorium
d365-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
30.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
11
Przestarzałość

Brak sygnałów. Repozytorium zmienione 30.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Planuje i sprawdza cykl życia rozwiązań Dynamics 365, Dataverse i Power Platform, w tym wersje zarządzane i wdrożenia.

Oryginalny opis (EN)

Plan and review application lifecycle management for Dynamics 365, Dataverse and Power Platform solutions - managed versus unmanaged, publishers and prefixes, solution layers and the active (unmanaged) layer, upgrade versus update versus stage-for-upgrade versus patch, removing components, segmented solutions, environment variables, connection references, the deployment settings file for automated import, pac CLI, Pipelines in Power Platform and Build Tools. Use this skill whenever the user moves customizations between dev, test and production, sets up CI/CD or a pipeline for Power Platform, a

Jak działa

  1. The rules
  2. Release review checklist
  3. Output
  4. References in this skill
  5. Sources (Microsoft Learn)
Sekcje z nagłówków SKILL.md, w oryginale · 79 linii, 685 słów
Podgląd SKILL.md
---
name: d365-solution-alm
description: Plan and review application lifecycle management for Dynamics 365, Dataverse and Power Platform solutions - managed versus unmanaged, publishers and prefixes, solution layers and the active (unmanaged) layer, upgrade versus update versus stage-for-upgrade versus patch, removing components, segmented solutions, environment variables, connection references, the deployment settings file for automated import, pac CLI, Pipelines in Power Platform and Build Tools. Use this skill whenever the user moves customizations between dev, test and production, sets up CI/CD or a pipeline for Power Platform, asks why a change in production does not show up or cannot be removed, sees solution import errors or dependency errors, plans a release or rollback, or hard-codes URLs, IDs or connections inside flows and apps. Exporting or importing one solution by command is a mechanic; deciding how releases should work is this skill.
---

# Solution ALM for Power Platform

Production should only ever receive managed solutions built from source control. Everything else
is a story you will tell during the post-mortem.

## The rules

1. **Unmanaged lives in dev only.** Test, UAT and production get managed solutions. An unmanaged
   import into production creates an active layer that sits on top of every future release.
2. **One publisher, chosen once.** The prefix is permanent for every component created with it.
3. **Know the layer stack.** Runtime behavior comes from the top layer ("top wins"), except forms,
   model-driven apps and site maps, which merge. If a release "does not apply", look for an
   unmanaged active layer on that component and remove it.
4. **Pick the import action deliberately:**

| Action | Removes components that left the solution | Use when |
|---|---|---|
| Upgrade (default) | Yes | Normal release. Keeps target identical to source. |
| Stage for upgrade | Yes, after "Apply upgrade" | You must migrate data between old and new before deleting. |
| Update | No | Fast hotfix that removes nothing. Leaves drift behind. |
| Patch | No | Avoid. Microsoft no longer recommends patches. |

   Tool mapping: UI "Upgrade" = `pac solution import --stage-and-upgrade` = Pipelines default.
   UI "Stage for upgrade" = `--import-as-holding`. **`pac solution import` with no flag is an Update**,
   so a pipeline without `--stage-and-upgrade` silently stops deleting removed components.
   Avoid `--force-overwrite` and `--publish-changes` for managed imports: both slow the import,
   and the first hides an unmanaged-layer problem instead of fixing it.
5. **Delete through an upgrade.** Remove the component in dev, bump the version, import as Upgrade.
   Deleting a managed solution deletes its components **and their data**.
6. **Version every export:** major.minor.build.revision, always higher than the target.
7. **No environment-specific values inside components.** Use environment variables for URLs, ids
   and settings, and connection references for connections. Do not put secrets in environment
   variable values that get exported to source control.
8. **Automate import with a deployment settings file** (`pac solution create-settings`) that fills
   connection references and environment variables per stage. Connections must exist in the target
   and be owned by, or shared with, the connection reference owner.
9. **Segment solutions** by deployment cadence or team, and add only the table assets you changed
   (not "add all assets"). Smaller solutions mean smaller blast radius.
10. **Block unmanaged customizations** in test and production environments so nobody can create an
    active layer by hand.
11. **Custom APIs and anything other solutions depend on:** set Is Customizable = false in managed.
12. **Release is a pipeline,** not a person: export (unmanaged for source, managed for deploy),
    unpack to source control, build, import with settings, run smoke tests, enable flows.

## Release review checklist

- [ ] Target receives managed only? No unmanaged layer on components in this release?
- [ ] Version higher than target? Import action chosen and justified?
- [ ] Components removed in this release will actually be deleted (Upgrade)? Data impact checked?
- [ ] No hard-coded URLs, GUIDs or connections in flows, plug-ins or apps?
- [ ] Deployment settings file present for each target stage? Connections exist and are shared?
- [ ] Plug-in steps and flows enabled after import? Owner of flows is a service account?
- [ ] Rollback plan stated (previous managed version available, data migration reversible)?
- [ ] Smoke test list for the target runs after import?

## Output

Return the release plan: solutions and versions, import action per solution, settings file per
stage, post-import steps, rollback. For a problem: the layer or dependency causing it and the fix.

## References in this skill

- `references/pipeline-commands.md` - pac CLI commands and a deployment settings example.

## Sources (Microsoft Learn)

- Solution concepts: https://learn.microsoft.com/power-platform/alm/solution-concepts-alm
- Solution layers: https://learn.microsoft.com/power-platform/alm/solution-layers-alm
- Upgrade or update a solution: https://learn.microsoft.com/power-apps/maker/data-platform/update-solutions
- Segmented solutions: https://learn.microsoft.com/power-platform/alm/segmented-solutions-alm
- Connection references and environment variables in automated deployments: https://learn.microsoft.com/power-platform/alm/conn-ref-env-variables-build-tools
- Build Tools tasks: https://learn.microsoft.com/power-platform/alm/devops-build-tool-tasks
- Pipelines in Power Platform: https://learn.microsoft.com/power-platform/alm/pipelines
- Managed properties: https://learn.microsoft.com/power-platform/alm/managed-properties-alm
- Import performance recommendations (option mapping across tools): https://learn.microsoft.com/power-platform/alm/performance-recommendations
- pac solution reference: https://learn.microsoft.com/power-platform/developer/cli/reference/solution
- Block unmanaged customizations: https://learn.microsoft.com/power-platform/alm/block-unmanaged-customizations
Pliki w paczce (2)
  • SKILL.md 6 KB
  • references/pipeline-commands.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie d365-solution-alm.

Migawka bazy z 13.11.2026 · wersja paczki 7b06755a8d26 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 3 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90power-platform-alm-pipelines
    Przegląda zdrowie ALM w Power Platform: rozwiązania zarządzane i niezarządzane, Pipelines, strategię środowisk, warstwowanie, referencje połączeń, zmienne środowiskowe, Git i bramki wdrożeń, statycznie.
  • 90studio-alm
    Ustala cykl życia agentów Copilot Studio: rozwiązania, zmienne środowiskowe, kontrolę wersji, potoki między środowiskami i wycofanie zmian.
  • 100export-solution
    Eksportuje rozwiązanie Dataverse z komponentami witryny Power Pages do pliku zip gotowego do wdrożenia w innym środowisku, jako managed lub unmanaged.
  • 100dataverse-solution
    Prowadzi cykl życia rozwiązań Dataverse przez PAC CLI i Python SDK: wydawcy, rozwiązania, komponenty, eksport, rozpakowanie, pakowanie, import, wdrożenie i walidacja po imporcie.
  • 91setup-solution
    Tworzy wydawcę i rozwiązanie Dataverse, a następnie dodaje do niego komponenty witryny Power Pages na potrzeby ALM i zarządzania wdrożeniami.
  • 90environment-to-production-release-protocol
    Prowadzi rozwiązanie Power Platform lub Dynamics 365 przez potok dev, test i produkcja z zarządzanymi rozwiązaniami: pakowanie, walidacja przed wdrożeniem, zatwierdzenie, wdrożenie i weryfikacja wycofania.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.