powerplatform-build-tools: The solution import Job with id is not found.

It seems since yesterday, the “Import Solution” task has been updated to version 2.0.25 and has started producing this error, although it appears the import and publish has suceeded anyway.

Error: The solution import Job with id 096fbf54-40be-41f1-98d7-184793e59d61 is not found.`.

I’ve got logs from yesterday with 2.0.19 which worked without error.

Full Error Log with 2.0.25:

2023-05-26T04:46:08.1106717Z ==============================================================================
2023-05-26T04:46:08.1106921Z Task         : Power Platform Import Solution
2023-05-26T04:46:08.1106999Z Description  : Power Platform Import Solution
2023-05-26T04:46:08.1107078Z Version      : 2.0.25
2023-05-26T04:46:08.1107137Z Author       : Microsoft
2023-05-26T04:46:08.1107242Z Help         : [More Info](https://aka.ms/buildtoolsdoc)
2023-05-26T04:46:08.1107319Z ==============================================================================
2023-05-26T04:46:08.4463872Z Discovered environment url from explicit input parameter 'Environment': $(BuildTools.EnvironmentUrl)
2023-05-26T04:46:08.4466246Z Discovered Azure DevOps variable expression that needs resolving: $(BuildTools.EnvironmentUrl) -> BuildTools.EnvironmentUrl
2023-05-26T04:46:08.4470279Z Falling back to url from service connection, using: https://REDACTED.crm8.dynamics.com/
2023-05-26T04:46:08.4508039Z [ 'authN to env. authType:SPN authScheme:None; cloudInstance: Public; envUrl: https://REDACTED.crm8.dynamics.com/' ]
2023-05-26T04:46:16.1020244Z [ '\'***\' authenticated successfully.' ]
2023-05-26T04:46:16.1366780Z [ 'Validating connection...' ]
2023-05-26T04:46:18.1441559Z [ 'Connected to... REDACTED' ]
2023-05-26T04:46:18.1442521Z [ 'Connected as ***' ]
2023-05-26T04:46:19.4707872Z [ 'Authentication profile created' ]
2023-05-26T04:46:19.4748447Z [ '    * DATAVERSE                                https://REDACTED.crm8.dynamics.com/ : ***     Public' ]
2023-05-26T04:46:19.4748750Z [ '' ]
2023-05-26T04:46:19.7468559Z [ 'The Authentication Result: \'***\' authenticated successfully.,Validating connection...,Connected to... REDACTED,Connected as ***,Authentication profile created,    * DATAVERSE                                https://REDACTED.crm8.dynamics.com/ : ***     Public,' ]
2023-05-26T04:46:19.7497727Z [ 'Calling pac cli inputs: solution import --path D:\\a\\r1\\a\\_ExportSln - OpportunityToOE\\Solutions\\OpportunityToOE_Managed.zip --async true --import-as-holding false --force-overwrite true --publish-changes true --skip-dependency-check false --convert-to-managed true --max-async-wait-time 60 --activate-plugins true' ]
2023-05-26T04:46:23.4458930Z [ 'Connected to... REDACTED' ]
2023-05-26T04:46:23.4473360Z [ 'Connected as ***' ]
2023-05-26T04:46:23.4562326Z [ '' ]
2023-05-26T04:46:23.4563142Z [ 'Solution Importing...' ]
2023-05-26T04:46:27.4408378Z [ '' ]
2023-05-26T04:46:27.4409856Z [ 'Waiting for asynchronous operation 2f632144-80fb-ed11-8f6e-6045bdac5e8e to complete with timeout of 01:00:00' ]
2023-05-26T04:46:27.4410197Z [ '' ]
2023-05-26T04:46:27.4410840Z [ 'Processing asynchronous operation... execution time: 00:00:00 and 0.00% complete' ]
2023-05-26T04:46:31.8879829Z [ '' ]
2023-05-26T04:46:31.8881164Z [ 'Processing asynchronous operation... execution time: 00:00:04 and 0.12% complete' ]
2023-05-26T04:46:36.1818751Z [ '' ]
2023-05-26T04:46:36.1819634Z [ 'Processing asynchronous operation... execution time: 00:00:08 and 0.24% complete' ]
2023-05-26T04:46:40.5402013Z [ '' ]
2023-05-26T04:46:40.5403120Z [ 'Processing asynchronous operation... execution time: 00:00:13 and 0.36% complete' ]
2023-05-26T04:46:44.8423084Z [ '' ]
2023-05-26T04:46:44.8424281Z [ 'Processing asynchronous operation... execution time: 00:00:17 and 0.48% complete' ]
2023-05-26T04:46:49.1763926Z [ '' ]
2023-05-26T04:46:49.1765071Z [ 'Processing asynchronous operation... execution time: 00:00:21 and 0.60% complete' ]
2023-05-26T04:46:53.4755126Z [ '' ]
2023-05-26T04:46:53.4755990Z [ 'Processing asynchronous operation... execution time: 00:00:26 and 0.72% complete' ]
2023-05-26T04:46:57.8696009Z [ '' ]
2023-05-26T04:46:57.8698441Z [ 'Asynchronous operation 2f632144-80fb-ed11-8f6e-6045bdac5e8e completed successfully within 00:00:30.4282174' ]
2023-05-26T04:46:57.8698802Z [ '' ]
2023-05-26T04:46:57.8701434Z [ 'Solution Imported successfully. Import id: 2f632144-80fb-ed11-8f6e-6045bdac5e8e' ]
2023-05-26T04:46:58.2933337Z [ '' ]
2023-05-26T04:46:58.2934189Z [ 'Publishing All Customizations...' ]
2023-05-26T04:46:58.7742276Z [ 'Microsoft PowerPlatform CLI' ]
2023-05-26T04:46:58.7744998Z [ 'Version: 1.23.3+ga05f0df' ]
2023-05-26T04:46:58.7746577Z [ '' ]
2023-05-26T04:46:58.7778371Z [ 'Error: The solution import Job with id 096fbf54-40be-41f1-98d7-184793e59d61 is not found.' ]
2023-05-26T04:46:58.7779173Z [ '    The solution import Job with id 096fbf54-40be-41f1-98d7-184793e59d61 is not found.' ]
2023-05-26T04:46:58.7779580Z [ '' ]
2023-05-26T04:46:58.7779775Z [ '' ]
2023-05-26T04:46:58.7785377Z [ 'Usage: pac solution import [--path] [--activate-plugins] [--force-overwrite] [--skip-dependency-check] [--import-as-holding] [--publish-changes] [--convert-to-managed] [--async] [--max-async-wait-time] [--settings-file]' ]
2023-05-26T04:46:58.7786112Z [ '' ]
2023-05-26T04:46:58.7786721Z [ '  --path                      Path to solution zip file. If not specified, assumes the current folder is a cdsproj project. (alias: -p)' ]
2023-05-26T04:46:58.7787780Z [ '  --activate-plugins          Activate plug-ins and workflows on the solution (alias: -ap)' ]
2023-05-26T04:46:58.7788604Z [ '  --force-overwrite           Force an overwrite of unmanaged customizations (alias: -f)' ]
2023-05-26T04:46:58.7789146Z [ '  --skip-dependency-check     Skip dependency check against dependencies flagged as product update (alias: -s)' ]
2023-05-26T04:46:58.7789546Z [ '  --import-as-holding         Import the solution as a holding solution (alias: -h)' ]
2023-05-26T04:46:58.7789942Z [ '  --publish-changes           Publish your changes upon a successful import (alias: -pc)' ]
2023-05-26T04:46:58.7790364Z [ '  --convert-to-managed        Convert as Managed Solution (alias: -cm)' ]
2023-05-26T04:46:58.7791649Z [ '  --async                     Imports solution asynchronously (alias: -a)' ]
2023-05-26T04:46:58.7792120Z [ '  --max-async-wait-time       Max asynchronous wait time in minutes. Default value is 60 minutes (alias: -wt)' ]
2023-05-26T04:46:58.7792587Z [ '  --settings-file             The .json file with the deployment settings for connection references and environment variables.' ]
2023-05-26T04:46:58.7792796Z [ '' ]
2023-05-26T04:46:58.9232413Z ##[error]error: 1
2023-05-26T04:46:58.9252211Z ##[error]failed: Connected to... [REDACTED]

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 17 (3 by maintainers)

Most upvoted comments

I have fixed that issue, Please follow up these steps.

  1. In the Power Platform import solution task just uncheck the check point publish customization changes under advance.
  2. Add a new task in the release pipeline power platform publish customizations after Import solution [task.]
Screenshot 2023-05-29 153643 Screenshot 2023-05-29 153618

FYI: We are rolling out fix

Well… what a chance that I don’t have 50 pipelines to go fix… I do have 5 though so fun times! thanks for creating breaking changes and not mentioning it!

We are also experiencing the same issue. Swapping back to the separate “Publish Customisations” task continues to work fine as an interim fix.