microsoft / coe-starter-kit

Other
739 stars 216 forks source link

[ALM Accelerator - QUESTION] ALM Accelerator For Power Platform Administration #7052

Open lingutla123 opened 10 months ago

lingutla123 commented 10 months ago

What is your question?

Hi Mike,

We are using ALM Accelerator for Power Platform Admin app to run the Power Platform pipelines. Followed all the steps laid out in the document .

However, while deploying from DEV to QA, we are getting error in "Update Deployment Settings" step. Please refer to attached screen shot for error details. image

What component are you experiencing the issue with?

ALM Accelerator Canvas App

What solution version are you using?

August 2023

AB#769

mikefactorial commented 10 months ago

@lingutla123 I'd recommend using the latest release of the solution and pipelines. The August release didn't include support for Pipeline Extensions. https://github.com/microsoft/coe-starter-kit/releases/tag/CoEStarterKit-November2023

lingutla123 commented 10 months ago

Thank you Mike!

Installed Nov release solution and able to deploy to higher environments when we set "Default Deployment Profile = Yes". However, we want to deploy using "Default Deployment Profile = No" and when we try this it is giving attached error in PipelinePreDeployment flow

image

mikefactorial commented 9 months ago

@lingutla123 you will need to explicitly associate the solutions with a profile via the Solution Profiles if you decide not to use a Default Profile. From the admin app navigate to Deployment Profiles -> Select or create a profile -> Select Related Solutions -> Create a New Deployment Solution Profile with the Name of the Solution and the Maker Environment Id.

image

lingutla123 commented 9 months ago

Hi Mike,

I created New Deployment Solution Profile still getting same error in PipelinePreDeployment flow.

image

Deployment Profile is created but in flow the expression result is showing "false".

image image

lingutla123 commented 9 months ago

Hi Mike,

Did you get a chance to look into this?

Thank you!

mikefactorial commented 8 months ago

@lingutla123 would help to see the query in the step "Retrieve Current Profile for Solution from Solution Profiles". Since the record isn't being found there is likely either something incorrect in the solution profile record or in the values expected. Check that the inputs to that query match what is in the solution profile.

lingutla123 commented 8 months ago

Thanks Mike!

Attached is the screen shot of the query, the query is retrieving correct values. The values are matching with Solution Profile.

image

mikefactorial commented 7 months ago

Hey @lingutla123 I've been away for a while. Did you ever figure this out? Was hoping to see the step when it's run instead of in edit mode to validate that the values of the filter are correct for cat_solutionname and cat_environmentid and that they do match the solution profile record values. The only way the condition after that step could evaluate to false is if one of those values isn't correct (i.e. doesn't match what is in the dataverse record) since it's just checking that a result is returned from the query.

lingutla123 commented 6 months ago

Hi Mike,

Please see the below images. It is matching solution name and environment name.

image

image