Hi everyone,
Our Business central client received the below email from Microsoft. can someone explain whats wrong with this.
Hello,
On behalf of the Microsoft Dynamics 365 Business Central team, we are reaching out to you concerning a Per-Tenant Extension (PTE) you have installed on a Business Central tenant. During the upgrade to the Fall 2018 release of Dynamics 365 Business Central, we determined an installed PTE is not compatible. The tenant cannot be upgraded to the Fall 2018 release until the PTE incompatibility is resolved. The issue is that one of the following PTE’s has a dependency on another extension that has been removed from the Fall release.
How did this happen:
Most likely the PTE was created using the in-client designer functionality in a sandbox environment, downloaded, and then uploaded as a PTE in the production environment. When an extension is created using the in-client designer, it automatically takes a dependency on all installed extensions. We are looking into a feature enhancement soon, so this doesn’t happen automatically.
Details for the tenant, extension, and errors:
Tenant:
One of the following PTE’s need to be fixed:
PO_ChangeStatus, AppId: 0341050e-11d3-41cc-99b2-bb8e33a47eb0, Version: 1.0.0.0
BuildITemInSalesOrder, AppId: 0eb08e9b-4fa2-4df5-bdb8-bc24e2a5781e, Version: 5.0.0.0
ProdOrderJobCard, AppId: 39c3fc92-17b5-472d-8b6f-fd2afa5e2cc9, Version: 6.0.0.0
ProdBomImport, AppId: 4e50e791-22d6-4dc8-8ffc-e11f3ba1e942, Version: 3.0.0.0
ItemListFields, AppId: 9e76c154-791e-4fae-96ef-f9e3b314f3f5, Version: 1.0.0.0
StockKeeping_Loc_Code, AppId: 75e5a282-4666-44ac-a5c4-df7df706c10b, Version: 1.0.0.0
Recommended action:
Option 1: PTE is required for the tenant
- Please make the minor change to the PTE using the steps described below, compile the PTE against the latest symbols for the Fall 2018 release (13.0), and perform the necessary tests
- Upload the PTE using the Extension Management page in Business Central and select the ‘Next major version’
- Let us know when the new PTE is uploaded and staged for the next major release and we will retry the upgrade for the tenant
- During the upgrade flow, we will see that there’s a new version of the PTE slotted for the release being upgraded to and publish/sync/install the updated PTE
Option 2: PTE is not required for the tenant
- Please uninstall the PTE using the Extension Management page in Business Central
- Let us know when the PTE is uninstalled, and we will retry the upgrade for the tenant
How to fix the PTE:
- Open the PTE in VSCode
- In the app.json file, remove all the extensions listed in the “dependencies” group so it shows as an empty list. e.g. "dependencies": [],
- If you find that the extension is unable to compile with all of the dependencies removed, then you will need to determine which dependency to add back.
- Increase the version of the PTE in the app.json.
Thank you for your cooperation. If you have any questions, you may reply to this message. Our team is here to help.
--------------------
We know that we have used dependency property in one of our extensions. Why we have to remove this without using dependency how we call the objects used in other extension to current extension project.
Thanks,
Shyam