Codeunit 6723 is fairly simple, it exposes functionality to fetch application server settings from the server which hosts the current tenant. These functions are great if you have code that both used on-premises and on AppSource and you have a need to check the capabilities of the server.

The source can be found here:

GetEnableSaaSExtensionInstallSetting(): Boolean
Returns the value of EnableSaasExtensionInstallConfigSetting. If extensions from AppSource can be installed on this tenant.
GetIsSaasExcelAddinEnabled(): Boolean
Checks whether Excel add-in is enabled on the server.
GetApiServicesEnabled(): Boolean
Checks whether the API Services are enabled.
GetApiSubscriptionsEnabled(): Boolean
Checks whether the API subscriptions are enabled.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.