{"title":"AppSourceCop Error AS0014","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0014/","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-as0014, 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-as0014","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 project manifest must contain the allocated identifier range.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"AppSourceCop Error AS0014","slug":"appsourcecop-error-as0014","at":0,"chars":1280},{"level":2,"title":"Description","slug":"description","at":93,"chars":81},{"level":2,"title":"Remarks","slug":"remarks","at":174,"chars":246},{"level":2,"title":"How to fix this diagnostic?","slug":"how-to-fix-this-diagnostic","at":420,"chars":345},{"level":2,"title":"Example","slug":"example","at":765,"chars":368},{"level":2,"title":"Related information","slug":"related-information","at":1133,"chars":147}],"text":"# AppSourceCop Error AS0014\nThe project manifest must contain the allocated identifier range\n## Description\nThe project manifest must contain the allocated identifier range.\n## Remarks\nThis error occurs when the project manifest (app.json) doesn't include the allocated identifier range for your extension. The identifier range is a set of unique IDs assigned to your extension to avoid conflicts with other extensions.\n## How to fix this diagnostic?\nTo resolve this error, you must add the allocated identifier range to your project manifest (app.json). Here are the steps:\n1. Obtain the identifier range from Microsoft, if you don't already have one.\n2. Open the app.json file in your project.\n3. In the idRanges property, specify the allocated identifier range.\n## Example\nIf your allocated identifier range is from 50000 to 59999, your app.json file should look like this:\n```json\n{\n    \"id\": \"your-app-id\",\n    \"name\": \"Your App Name\",\n    \"publisher\": \"Your Publisher Name\",\n    \"version\": \"1.0.0.0\",\n    \"idRanges\": [\n        {\n            \"from\": 50000,\n            \"to\": 59999\n        }\n    ],\n    // Other properties\n}\n```\n## Related information\nAppSourceCop Analyzer<appsourcecop>\nGet Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}