ExtlClntAppConfigurablePolicies defines the app-level policies that enable or disable plugins for an external client app. It provides a master enablement switch, individual plugin switches, and settings that select the page users reach after authentication.
This component is separate from the app definition, ExternalClientApplication, and from plugin-specific configuration such as ExtlClntAppOauthConfigurablePolicies. Its required externalClientApplication element identifies the associated app by name.
Key Elements
| Element | What the Element Controls |
|---|---|
externalClientApplication |
Required. The name of the associated ExternalClientApplication, not a record ID. |
isEnabled |
Required master switch. Defaults to true. When false, disables every plugin regardless of its individual switch. |
isCanvasPluginEnabled |
Enables or disables the Canvas app plugin. Defaults to true, subject to isEnabled. |
isMobilePluginEnabled |
Enables or disables the Mobile plugin. Defaults to true, subject to isEnabled. |
isNotificationPluginEnabled |
Enables or disables the Notification plugin. Defaults to true. This is separate from the Push Notification switch. |
isOauthPluginEnabled |
Enables or disables the OAuth plugin. Defaults to true, subject to isEnabled. |
isPushPluginEnabled |
Enables or disables the Push Notification plugin. Defaults to true. This is separate from the Notification switch. |
isSamlPluginEnabled |
Enables or disables the SAML plugin. Defaults to true, subject to isEnabled. |
label |
The OAuth policies name for the external client app. |
startPage |
Selects which URL source to use for the start page. Salesforce's type documentation lists Custom, None, and OAuth. The exposed schema also lists SAML; see Documentation Inconsistencies. |
startUrl |
The custom URL users can be directed to after authentication, such as a particular page in the service provider app. Interpret it together with startPage. |
Behavior and Constraints
isEnabled takes precedence over every individual plugin switch. When it is false, setting isOauthPluginEnabled or another individual switch to true does not enable that plugin. When the master switch is true, plugins are enabled unless individually disabled.
Notification and Push Notification have separate controls: isNotificationPluginEnabled and isPushPluginEnabled. Check the switch for the affected plugin rather than treating these as one setting.
Users with admin roles need the "View all External Client Apps, view their settings, and edit their policies" user permission to configure OAuth policies.
For post-authentication navigation, evaluate startPage and startUrl together. A populated startUrl does not, by itself, establish that users will be redirected there; startPage selects the URL source.
Deployment and Retrieval
-
Component files: Components use the
.ecaPlcysuffix and are stored in theextlClntAppPoliciesfolder. -
Component identity: This type inherits
fullNamefromMetadata. The separateexternalClientApplicationelement identifies the associated app by name. -
Manifest selection: The type supports the
*wildcard inpackage.xml. UseExtlClntAppConfigurablePoliciesas the metadata type name. -
Related components: The documented manifest example selects this type alongside
ExternalClientApplication,ExtlClntAppOauthSettings,ExtlClntAppGlobalOauthSettings, andExtlClntAppOauthConfigurablePolicies. That grouping is an example, not a required deployment order.
For second-generation managed packages, successful package creation does not necessarily establish that the package can be installed. A community report describes installation being rejected because the package contained this type, with Salesforce Support reportedly directing the author to configure the policies in the subscriber org instead. This is a reported packaging constraint, not evidence of a restriction on all Metadata API deployments.
Relationships
The direct app association is through externalClientApplication. App-level plugin enablement remains distinct from the app definition and the OAuth-specific policy component; including related components in one manifest does not make them the same asset.
References
-
ExternalClientApplication:externalClientApplication.
Documentation Inconsistencies
The value lists for startPage differ. Salesforce's type documentation lists Custom, None, and OAuth, while the exposed schema also includes SAML. The schema therefore exposes a value that the type documentation does not describe; the documented list alone does not resolve how that value behaves.
Reported Issues
-
A second-generation managed package can be created but then rejected at installation. In a 2026 report, a package containing
ExtlClntAppConfigurablePolicieswas created successfully, but installation returned: "You cannot install or upgrade a package that has a ExtlClntAppConfigurablePolicies component. Remove components of ExtlClntAppConfigurablePolicies type from the package." The author reported that Salesforce Support described these policies as environment-specific and requiring direct configuration in the subscriber org rather than inclusion in that package. The same discussion reported similar errors forExtlClntAppGlobalOauthSettingsandExtlClntAppOauthConfigurablePolicies, and later linked a Salesforce Known Issue. Treat this as reported second-generation managed packaging behavior, not a blanket Metadata API deployment restriction. See the packaging discussion and the linked Known Issue.
Common Questions
Why is a plugin disabled when its individual switch is true?
Check isEnabled. If the master switch is false, every plugin is disabled, even when its individual switch is true.
How do I retrieve all ExtlClntAppConfigurablePolicies components?
Use the metadata type name ExtlClntAppConfigurablePolicies with the * member in package.xml. Component files use the .ecaPlcy suffix in the extlClntAppPolicies folder.
Can I include ExtlClntAppConfigurablePolicies in a second-generation managed package?
A 2026 community report describes package creation succeeding but installation being rejected because this component was included. The author reported that Salesforce Support directed them to configure the policies directly in the subscriber org instead.
Does setting startUrl always redirect users to that URL?
No. startPage selects which URL source to use. Interpret startUrl together with that setting rather than treating a populated URL as an unconditional redirect.
What permission is required to configure external client app OAuth policies?
Users with admin roles need the "View all External Client Apps, view their settings, and edit their policies" user permission.