Capgemini / Capgemini/powerapps-packagedeployer-template

Remove unmanaged layer on flows before import

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
27
Forks
8
PR merge metrics
No merged PRs in 30d

Description

## Is your feature request related to a problem? Please describe
Updates to flows do not apply when importing managed solutions because the unmanaged layer includes the `clientdata` property (which includes the entire flow definition) when the connections are set .

## Describe the solution you'd like
Use the [RemoveActiveCustomizations](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/removeactivecustomizations?view=dynamics-ce-odata-9) function to delete the unmanaged customisations layer for any flows in the solutions.

## Additional context
This only appears to be an issue for flow that have been connected by hand in the past. Flows connected/activated through the template do not have any unmanaged layer after deployment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.