{"title":"AppSourceCop Error AS0128","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0128/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/appsourcecop-as0128, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/appsourcecop-as0128","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"An interface must not be removed from the list of extended interfaces on an interface that has been published, because dependent extensions may break","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Error AS0128","slug":"appsourcecop-error-as0128","at":0,"chars":1412},{"level":2,"title":"Description","slug":"description","at":143,"chars":165},{"level":2,"title":"Remarks","slug":"remarks","at":308,"chars":347},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":655,"chars":606},{"level":2,"title":"Related information","slug":"related-information","at":1261,"chars":151}],"text":"# AppSourceCop Error AS0128\nAn interface must not be removed from the the list of extended interfaces on an interface that has been published.\n## Description\nAn interface must not be removed from the list of extended interfaces on an interface that has been published, because dependent extensions may break\n## Remarks\nRemoving an extended interface from a published interface can break dependent extensions that rely on the original interface. When an interface is published, other extensions may implement or depend on it. Changing the interface by removing extended interfaces can introduce compatibility issues and cause dependent extensions to fail.\n## How to fix this diagnostic?\nTo address the AS0128 error, avoid modifying the list of extended interfaces on an interface that has already been published. If you need to deprecate functionality, mark the interface as obsolete before removing it. Here are the steps to fix this diagnostic:\n1. Identify the interface that has been published and is causing the AS0128 error.\n2. Evaluate whether the functionality can be deprecated without modifying the existing interface.\n3. If the functionality needs to be deprecated, mark the interface as obsolete using the ObsoleteState and ObsoleteReason properties.\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGetting Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}