Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pac solution unpack does not extract serviceplans properly #1096

Open
iggsn opened this issue Dec 13, 2024 · 0 comments
Open

pac solution unpack does not extract serviceplans properly #1096

iggsn opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@iggsn
Copy link

iggsn commented Dec 13, 2024

Describe the bug
I am using the unpack feature in my Azure DevOps pipeline.
The solution is activated for AppSource and contains serviceplans.

The xml files for serviceplans are not properly processed and will not be able to be imported after unpack and repack.

To Reproduce
add serviceplans to solution
unpack with DevOps Task
pack with DevOps Task
Xml is broken after unpack via DevOps task

I need to readd manually the serviceplans

Expected behavior
solution pac is respecting the serviceplans
image

However after exporting the solution and using unpack in the pipeline, parts of the "ServicePlanAppModule.xml" gets removed.
It looks like the unpack does not yet support the extraction of the "appmoduleid".

The unpack adds them as attributes to the servicplanappmodules node.
However they have to become seperate subnodes.

unpack result:
image

expected result:
image

See discussion here: https://github.com/microsoft/powerplatform-build-tools/discussions?discussions_q=is%3Aopen+serviceplan

@iggsn iggsn added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant