web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Business Central SaaS Publish Fails with "Specified part does not exist in the package"

(1) ShareShare
ReportReport
Posted on by 67

Environment:

  • Business Central SaaS
  • Publishing from VS Code using AL extension
  • Target environment: UAT Sandbox
  • SchemaUpdateMode tested with both Synchronize and ForceSync

Issue:

When publishing my extension from VS Code, the publish fails with:

The request for path /v2.0/<Environment>/dev/apps?tenant=<tenant>&SchemaUpdateMode=forcesync&DependencyPublishingOption=default failed with code UnprocessableEntity.

Reason: Publishing failed due to 'Specified part does not exist in the package.' The original extensions have been restored.

Build completes successfully, but publish fails during deployment.

What I have already tried:

  1. Deleted:
    • .alpackages
  2. Downloaded symbols again.
  3. Cleared credentials/cache.
  4. Rebuilt the project successfully.
  5. Removed documents/files that were recently generated by an AI documentation tool and stored in the project folder.
  6. Reverted to a previously working version of the source code and rebuilt.
  7. Tried publishing using both:
    • Synchronize
    • ForceSync
  8. Generated a fresh .app package.
  9. Verified that the extension compiles without any AL errors.
  10. Tested publishing a completely new/blank AL extension to the same environment.

Important Finding:

A brand-new AL extension publishes successfully to the same UAT environment.

This suggests:

  • Environment is healthy
  • Authentication is working
  • VS Code publishing works
  • Issue appears to be specific to this extension/package

Questions:

  1. What exactly does "Specified part does not exist in the package" refer to in Business Central extension publishing?
  2. Are there known cases where:
    • Report layouts (Word/Excel/RDLC)
    • Translation files (.xlf)
    • Control AddIns
    • Embedded resources
    • Package manifest issues
      can cause this error even when the extension builds successfully?
  3. Is there a way to identify which specific package part/resource is missing?
  4. Are there server-side logs or telemetry that can provide more details using:
    • Request ID:
    • Session ID:

Any guidance on how to isolate the offending object/resource inside the extension would be greatly appreciated.

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,691 Super User 2026 Season 1

#2
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,095 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,069 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans