Enable Enhanced Domains
Introduction
Enhanced domains are the next iteration of My Domain in Salesforce. They replace the default Salesforce subdomain with a company-specific one across all URLs, including Experience Cloud sites, Salesforce sites, Visualforce pages, and content files.
Do I Need Enhanced Domains?
Yes. Salesforce requires all customers to enable enhanced domains by the Winter ’23 release to comply with modern browser and security standards.
How to Enable Enhanced Domains
Enabling enhanced domains impacts all application URLs. Testing in a sandbox is highly recommended and should be completed before rollout deadlines: August 2022 for sandboxes and October 2022 for production orgs.
Reference: Salesforce Help: Enhanced Domains
Steps:
Go to Setup in Salesforce and select My Domain.
Click Edit under My Domain Details.
Select the checkbox Use enhanced domains.
Click Save.
If the Use enhanced domains option is not available, your org may not qualify yet.
What If I Don’t Enable Enhanced Domains?
If enhanced domains are not enabled before the Winter ’23 release, Salesforce will automatically assign one based on your org’s ID.
Points to Consider in ARM
Before executing any deployment or CI activities in ARM, you must reauthenticate the Salesforce org through the Salesforce Org Management page. This updates the ARM system with the org’s most recent domain changes.
Use Cases
Query 1:
Q: How is the backup request ID hitting the redirect URL successfully while deployment fails (prior to Salesforce Org reauthentication)?
A: Deployment runs on the agent side based on the CI job configuration, while backup is performed on the ARM server side using a refreshed token. If the Salesforce Org's redirection URL changed and reauthentication has not been completed, deployment fails due to outdated redirect configurations.
Solution: Reauthenticate the Salesforce Org and then re-save the job in ARM.
Query 2:
Q: If only the build package is backed up, why does the deployment log reference the target org?
A: Backup packaging pulls deployable components from the target org, which is why the deployment log reflects the target org's context.
Last updated
Was this helpful?