{"title":"AppSourceCop Warning AS0056","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0056/","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-as0056, 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-as0056","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 country/region codes specified in the 'supportedCountries' property must be valid ISO 3166-1 alpha-2 codes.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Warning AS0056","slug":"appsourcecop-warning-as0056","at":0,"chars":1133},{"level":2,"title":"Description","slug":"description","at":141,"chars":361},{"level":2,"title":"Remarks","slug":"remarks","at":502,"chars":484},{"level":2,"title":"Related information","slug":"related-information","at":986,"chars":147}],"text":"# AppSourceCop Warning AS0056\nThe country/region codes specified in the 'supportedCountries' property must be valid ISO 3166-1 alpha-2 codes\n## Description\nThe country/region codes specified in the 'supportedCountries' property must be valid ISO 3166-1 alpha-2 codes. Each code must correspond to a country/region for which the product allows AppSource submissions. See Country/Regional availability and Supported Translations<../../compliance/apptest-countries-and-translations> for more information.\n## Remarks\nTo resolve this warning, you need to ensure that all country/region codes specified in the 'supportedCountries' property are valid ISO 3166-1 alpha-2 codes. Here are the steps:\n1. Locate the 'supportedCountries' property in your app.json file.\n2. Check each code to ensure it's a valid ISO 3166-1 alpha-2 code. You can refer to the ISO 3166-1 alpha-2 code list<https://www.iso.org/iso-3166-country-codes.html> for reference.\n3. Replace any non-valid codes with valid ones.\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGet Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}