You need to sign in to do that
Don't have an account?
Can't Deploy Apex code to Production Org
Hi everyone,
I created an Apex code in my sandbox (following this link (https://help.salesforce.com/articleView?id=hvs_cadences_auto_remove_targets_process_apex.htm&type=5) and this link (https://help.salesforce.com/articleView?id=changesets_outbound_components_select.htm&type=5)) but cannot get it to upload to my Production Org. Anyone know why it says I am not authorized to do so?

Any help is much appreciated!!
I created an Apex code in my sandbox (following this link (https://help.salesforce.com/articleView?id=hvs_cadences_auto_remove_targets_process_apex.htm&type=5) and this link (https://help.salesforce.com/articleView?id=changesets_outbound_components_select.htm&type=5)) but cannot get it to upload to my Production Org. Anyone know why it says I am not authorized to do so?
Any help is much appreciated!!
You must first authorize the sandbox (in production) by going to Setup -> Environments -> Deploy -> Deployment Settings -> Set up the deployment connection for your sandbox
All Answers
You must first authorize the sandbox (in production) by going to Setup -> Environments -> Deploy -> Deployment Settings -> Set up the deployment connection for your sandbox
Hello Anthony,
Please make sure you authorize both the sandboxes, before pushing change set.
Please read Deployment Settings notes on your sandbox for better understanding.
Thanks,
Kamesh