AppSourceCop Error AS0093
Entitlements cannot be defined in an extension.
Description
Entitlements cannot be defined in an extension because their use is restricted to Microsoft only.
Remarks
This rule applies only to versions earlier than Business Central 2022 release wave 2.
Example of code triggering the rule
entitlement MyLicense
{
Type = PerUserServicePlan;
Id = 'planid';
}
How to fix this diagnostic?
Remove the offending Entitlement object(s) from your extension and use one of the built-in entitlements, for more information see Entitlements and Permissions Sets Overview provided in Business Central. It is currently not possible to create user-defined entitlements.
See Also
Entitlement Object
AppSourceCop Analyzer
Get Started with AL
Developing Extensions
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示