Skip to main content
4 answers
  1. Jul 10, 2020, 4:47 PM
    Hi Minhaj,

     

    You can't deploy connected Apps from one sandbox(org) to another sandbox(org). Since the connected app required a unique client Id and client secret in each sandbox(org). you can't use the same client Id and client secret across the sandboxes.

     

    You may try by removing consumer Key from connected app in sandbox:

     

    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)

     

    Connected App

     

    You cannot set the consumerKey in Metadata API. It is included in a retrieve operation for informational purposes. If you try to move the connected app to another org, you must remove the consumerKey from the .zip file before the deployment to an org. A new key will be generated in the destination org.

     

    Mobile settings of connected apps are not supported in change sets and must be manually migrated.
0/9000