microsoft / powerplatform-build-tools

Power Platform Build Tools automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.
MIT License
198 stars 40 forks source link

Power Platform Import Data task succeeded while "Data import failed" #1002

Open Andretility opened 3 months ago

Andretility commented 3 months ago

Describe the bug Agent job log shows a green "Succeeded" status while the import data task failed

To Reproduce Steps to reproduce the behavior:

  1. run a data import job that gives an error "Schema Validation failed for Missing fields on Entities, See log for missing fields" 'Data import failed. See messages above and log files for details.'
  2. see task status in Agent Job

Expected behavior When a task has errors it should show that status making it possible for next tasks to react upon The status should not show a green "succeeded" icon

Screenshots import - Release- Pipelines

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context 2024-08-20T08:45:58.8199318Z ##[section]Starting: Power Platform Import Data Task : Power Platform Import Data Description : Power Platform import data to environment. Requires Windows build agent Version : 2.0.74 Author : Microsoft