{"title":"AppSourceCop Error AS0053","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0053/","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-as0053, 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-as0053","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":"The compilation target of an application must be a value that is allowed in a multi-tenant SaaS environment.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Error AS0053","slug":"appsourcecop-error-as0053","at":0,"chars":1364},{"level":2,"title":"Description","slug":"description","at":136,"chars":124},{"level":2,"title":"Remarks","slug":"remarks","at":260,"chars":228},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":488,"chars":128},{"level":2,"title":"Code example triggering the rule","slug":"code-example-triggering-the-rule","at":616,"chars":304},{"level":2,"title":"Code example not triggering the rule","slug":"code-example-not-triggering-the-rule","at":920,"chars":297},{"level":2,"title":"Related information","slug":"related-information","at":1217,"chars":147}],"text":"# AppSourceCop Error AS0053\nThe compilation target of an application must be a value that is allowed in a multi-tenant SaaS environment\n## Description\nThe compilation target of an application must be a value that is allowed in a multi-tenant SaaS environment.\n## Remarks\nThis rule validates that the manifest of your extension (app.json) specifies a compilation target that is allowed in a multi-tenant SaaS environment. See ../devenv-json-files and ../devenv-compilation-scope-overview.\n## How to fix this diagnostic?\nYou must set the value of target property in the manifest of your extension (app.json) to Cloud.\n## Code example triggering the rule\nThe following manifest specifies OnPrem as compilation target and is then not allowed in a multi-tenant SaaS environment.\n```json\n{\n    \"appId\": \"<some-guid>\",\n    \"name\": \"MyApp\",\n    \"publisher\": \"MyPublisher\",\n    \"version\": \"1.0.0.0\",\n    \"target\": \"OnPrem\"\n}\n```\n## Code example not triggering the rule\nThe following manifest specifies Cloud as compilation target and is allowed in a multi-tenant SaaS environment.\n```json\n{\n    \"appId\": \"<some-guid>\",\n    \"name\": \"MyApp\",\n    \"publisher\": \"MyPublisher\",\n    \"version\": \"1.0.0.0\",\n    \"target\": \"Cloud\"\n}\n```\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGet Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}