function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DharaneshDharanesh 

connected app deployment

Hello All,

I know we can deploy the connected app metadata using the ConnectedApp metadata api. I wanted to know if there is anything that helps in deploying the data within the connected app instead of manually entering the data. Please let me know

Thanks
AnudeepAnudeep (Salesforce Developers) 
Hi Dharanesh, 

What data in the connected App are you referring to?

There are some settings that needs to be manually migrated for example: Mobile settings of connected apps are not supported in change sets and must be manually migrated.

https://dreamevent.secure.force.com/articleView?id=deploy_special_behavior.htm&type=5 (https://dreamevent.secure.force.com/articleView?id=deploy_special_behavior.htm&type=5)

I just deployed a connected app through Metadata API (Force.com MIgration Tool - ANT) in my local org and observed that the followed are migrated with the deployment: 

API (Enable OAuth Settings)
Web App Settings
System Info
Basic Information
OAuth Policies

As long as the fields/config is declared in the ConnectedApp xml, it will be deployed. You can refer to the available fields/config settings below

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_connectedapp.htm

Thanks, 
Anudeep