{"title":"AppSourceCop Error AS0117","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0117/","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-as0117, 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-as0117","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":"When an application object is moved we should first set the ObsoleteState to PendingMove in a previous version of the extension.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Error AS0117","slug":"appsourcecop-error-as0117","at":0,"chars":1501},{"level":2,"title":"Description","slug":"description","at":88,"chars":144},{"level":2,"title":"Remarks","slug":"remarks","at":232,"chars":483},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":715,"chars":635},{"level":2,"title":"Related information","slug":"related-information","at":1350,"chars":151}],"text":"# AppSourceCop Error AS0117\nApplication object is moved without the use of PendingMove.\n## Description\nWhen an application object is moved we should first set the ObsoleteState to PendingMove in a previous version of the extension.\n## Remarks\nAn application object has been moved without first setting the ObsoleteState to PendingMove in a previous version of the extension. This is important because setting the ObsoleteState to PendingMove provides a transition period for dependent extensions to adapt to the change. It allows developers to mark an object as obsolete and indicate that it will be moved in a future version, giving dependent extensions time to update their references and avoid breaking changes.\n## How to fix this diagnostic?\nFollow a two-step process when moving an application object. First, set the ObsoleteState to PendingMove in a previous version of the extension. Then, in a subsequent version, move the object to its new location. Here are the steps to fix this diagnostic:\n1. Identify the application object that has been moved and is causing the AS0117 warning.\n2. In the current version of the extension, set the ObsoleteState of the object to PendingMove and provide an ObsoleteReason and ObsoleteTag.\n3. In the next version of the extension, move the object to its new location and update the references accordingly.\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGetting Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}