Skip to main content

Questions tagged [sandbox-refresh]

Questions relating to the way Sandboxes can be populated with metadata (and optionally data) from a production org or other sandboxes.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Integration where 3th party uses SF API when receiving ID in URL parameter - Sandbox CI/CD

We have currently this integration setup: SF PROD - APPLICATION PROD SF UAT - APPLICATION UAT Both have their own clientid/clientsecret/securitytoken Now we want to work more with seperate sandboxes &...
userRR's user avatar
  • 126
0 votes
0 answers
27 views

Refused to connect error after refreshing sandbox with MFA as high assurance

In my production org, my session settings is as follows : Lock sessions to the IP address from which they originated = TRUE Lock sessions to the domain in which they were first used = TRUE High ...
compski's user avatar
  • 1,352
1 vote
0 answers
50 views

Refresh Developer Pro sandbox from another Developer Pro sandbox

We have seen that when we refresh a Developer Pro sandbox from another Developer Pro sandbox, it comes with all its data including standard objects, custom objects and custom settings. While this is ...
shooting at the moon's user avatar
1 vote
1 answer
270 views

While refreshing Sandbox, Selective Sandbox Access feature is missing

As part of Winter'24 release, Selective Sandbox Access feature was introduced. But I don't see this option to select Public group while refreshing or creating Sandboxes! Was it removed by any chance ...
Amulya's user avatar
  • 25
0 votes
0 answers
41 views

How to refresh token and set Apex class PostCopy via sf cli

I'm following this document to trigger refresh sandbox, also want to set Apex class in post copy sf data update record --json --use-tooling-api --target-org $targetOrgAlias \ --sobject ...
vctqs1's user avatar
  • 95
1 vote
1 answer
104 views

Can not activate sandbox after refreshing sandbox

yesterday I tried to refresh sandbox in orgs And now It indicates that ready to activate the sandbox but when I tried to use sf data update record with below full command sf data update record --json ...
vctqs1's user avatar
  • 95
0 votes
1 answer
54 views

How can I update the External Data Source via Metadata Api or Tooling Api?

I have a record for External Data Source Named as ED1 which is password protected having below details. DeveloperName ED1 Endpoint abc.com IsDeleted FALSE IsWritable FALSE ...
Pratik Shambharkar's user avatar
0 votes
0 answers
62 views

SCV in a renamed sandbox cant get reconnected

Some lambdas are failing to run in my SCV AWS connect environment I have followed the instructions found here https://github.com/amazon-connect/amazon-connect-salesforce-scv/tree/master/Common/AWSSCV-...
Dave Hamburg's user avatar
-1 votes
2 answers
56 views

Sandbox refresh Question

I am new to our Org. I am trying to refresh "partial copy" sandbox created by other person(who resigned the company). Currently I dont have log-in access to "partial copy" sandbox. ...
Chandani Lodha's user avatar
-2 votes
1 answer
109 views

If you refresh a Salesforce oganization, what happens to OAuth credentials and refresh token?

I refreshed my Salesforce sandbox and my OAuth credentials (refresh token) doesn't work anymore. Is that expected?
databasechaser's user avatar
0 votes
1 answer
654 views

Sandbox Source Tracking does not activate

I have enabled source tracking in Developer and Developer Pro sandboxes in the production org, but source tracking commands still throw an error even after a sandbox refresh. Some details: we have a ...
Novarg's user avatar
  • 5,284
-1 votes
1 answer
540 views

Does refresh sandbox overrides the Apex classes, LWC Components and Triggers

I am thinking to manually refresh the fullsandbox environment to production environment. The only doubt is that will it going to override LWC Components , Apex Classes and Triggers. Currently, some ...
Hunt's user avatar
  • 245
0 votes
1 answer
192 views

Environment specific custom settings

I am integrating SalesForce with a third party app and I would like to have the URLs go to the sandbox url of the third party app in my sandbox environment and I would like them to go to the prod ...
Oznomal's user avatar
  • 103
0 votes
1 answer
352 views

Salesforce sandbox template unable to find quote object

I am testing out the sandbox templates for my partial copy sandbox. And it seems that I am not able to select the Quote object to be included in this sandbox template. Is this expected behavior? I can ...
Jasper Maes's user avatar
0 votes
2 answers
2k views

Developer Sandbox existing data after refresh

I've read articles on Sandbox refresh on Salesforce Help page and it mentions about what happens to the data after refresh in case of Partial copy and Full copy sandbox, but nothing on a developer ...
Tom's user avatar
  • 1
0 votes
3 answers
714 views

Is there a way to create a sandbox from the scratch org?

I need to create new scratch orgs every 30 days (because they expire every 30 days) but on my project there is a big number of post-steps to configure the scratch org which take enormous amount of ...
Fgh999's user avatar
  • 35
1 vote
1 answer
1k views

When did instance URL format change for some sandboxes to now to <domain name>.sandbox.my.saleforce.com/services/apexrest

I can't pinpoint at what point/why the instance URL changed for my full copy sandbox. It now has .sandbox added to the instance URL but not all of my sandboxes have this change yet. We have My Domain ...
stackOfHerz's user avatar
1 vote
2 answers
6k views

Automated Process User in Salesforce

We are trying to automated some of the data maskign activities as part of our post sandbox refresh activity. We have achieved this by implementing sandboxpostcopy interface. I found out that the apex ...
Darkdog's user avatar
  • 95
3 votes
2 answers
1k views

SFDX: How to refresh existent sandbox via CLI

In sfdx guide there is a chapter named "Create, Clone, or Delete a Sandbox" (https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_create_clone_sandboxes.htm). ...
wesaw's user avatar
  • 3,130
0 votes
2 answers
296 views

create CollaborationGroup in SandboxPostCopy Class

Anyone have experience in creating a CollaborationGroup using SandboxPostCopy class ? My requirement is to create a Public Group in newly refreshed sandbox. I have tried following ways but no success: ...
Chirag Verma's user avatar
0 votes
1 answer
3k views

I turned on Source Tracking and then refreshed my sandbox, but it's still not enabled

I have a dev pro sandbox I use. Source Tracking was not enabled, so I enabled it in the prod org. I read that new and refreshed dev and dev pro sandboxes will now have Source Tracking enabled. So, I ...
djklord's user avatar
  • 23
0 votes
1 answer
2k views

Access to a Sandbox

I have a problem with accessing a sandbox, I recently got hired to a new company and other admin has many sandboxes, with classes that I need to upload to production, I don't have access to that ...
noebrenes's user avatar
0 votes
1 answer
443 views

Add "API Enabled" access to Automated User

I want to create Profile Login Api Range during sandbox creation or refresh. I'm using SandboxPostCopy interface and Metadata Service. I saw something similar in this question : sandboxpostcopy ...
Vitalii Dehnerys's user avatar
0 votes
1 answer
365 views

On sandbox refresh/new sandbox is there a way of preventing it from copying over priceBookEntries?

Or at least filtering which pricebooks are brought or OR which pricebook entries are brought over. Because it's blowing up the data limits and causing all sorts of hell in our sandboxes. We'd rather ...
ensir's user avatar
  • 383
1 vote
2 answers
237 views

Is there a way to regularly schedule sandbox refreshes to stay on either a non-preview or preview instance?

Are sandbox refreshes randomized as far as the instance it refreshes to? Current Scenario: I'm on a non-preview instance. I would need to refresh after January 8th, 2022, the preview cutoff date. ​...
Maya Tran's user avatar
  • 229
0 votes
1 answer
517 views

Partial Copy Sandbox Refresh Question

Had a question regarding refreshing a Partial Copy sandbox, was going through the Salesforce documentation for this and was wondering if the Sandbox already exists, do I need to create a Partial Copy ...
BodegaBlanco's user avatar
3 votes
0 answers
3k views

How to disable MFA after sandbox refresh?

I do have an org with a permission set to force some users to set up MFA. How do I remove the MFA connection for all users after I refresh the sandbox? I can certainly remove them from the permission ...
Semmel's user avatar
  • 2,507
0 votes
0 answers
179 views

How to freeze client id at sandbox refresh

Hy, I created a new connected app in production. This connected app has been replicated on my test sandbox when I refreshed It from production. So, I have a new client id for Security reasons I think. ...
Antoine's user avatar
0 votes
1 answer
384 views

Best Practice on Salesforce Refresh Integration

This is a question on best practices for Salesforce orgs that have a lot of data dependent processes (i.e. dev boxes need a lot of standard records inserted post-refresh ). I have this scenario at my ...
thinker's user avatar
  • 1,442
3 votes
1 answer
983 views

Why can't I refresh any of my sandboxes

I am unable to refresh any of my sandboxes We have 20 remaining Developer sandboxes We have used 5 Developer, 1 Partial and 1 FullCopy.
TheArchitecta's user avatar
2 votes
0 answers
1k views

Can we refresh Partial Copy sandbox without any data just like developer sandbox

I have a partial copy sandbox created recently and I see that Salesforce loaded around 1.5GB of data from Production. While refreshing partial copy sandbox, I have created a sandbox template including ...
Salma Khathun's user avatar
0 votes
1 answer
1k views

Is there any way to preserve Sandbox User passwords and tokens when Sandboxes are refreshed?

We have MANY different microservices which connect to Salesforce. And, we have test versions for most of these, which connect to our STAGING (partial-copy). And, for security, all our integration ...
Brian Kessler's user avatar
1 vote
2 answers
953 views

How to read data from excel file and update on records present in the org

we have a scenario where we are refreshing the org and have taken up the backup of users, permission set assignment, and their public group. After the refresh, the task is to upload the backup data, ...
Abhinav Gupta's user avatar
1 vote
1 answer
187 views

PushTopic record not getting copied over while creating/refreshing the full sandbox

We create trial orgs from environment hub with managed packages and related configuration. This configuration also includes a PushTopic record. However while creating/refreshing full sandboxes from ...
Amit's user avatar
  • 354
1 vote
0 answers
73 views

Can I deploy backed up outbound change set after sandbox refresh?

I want to get my outbound change set back in my sandbox after it is refreshed. Till now, I can backup my outbound change sets with sfdx force:source:retrieve command. But I can not deploy these again ...
Md. Yasin Khan's user avatar
0 votes
0 answers
272 views

Automatically update profile IP restrictions that depend on the environment

Our setup has integrations that access Salesforce through service users. This users profiles have IP whitelists. Now a new system has Internet-facing IP ranges that depend on the environment (...
georg w.'s user avatar
  • 1,234
0 votes
0 answers
2k views

Refreshed Sandbox required me to reset my password to login

I had an existing Sandbox that I refreshed for the first time and I wasn't able to log into it until I changed my password. Why is that? My previous sandbox was called Staging and when I refreshed it, ...
BlondeSwan's user avatar
  • 1,098
0 votes
0 answers
414 views

Salesforce SandboxPostCopy fails on Sandbox refresh

I have used some code to helps us with sandbox refreshes back in 2018. For the past several months, I noticed that when we refresh an existing box, the admin emails do not get updated. Just recently I ...
Ivo Dimov's user avatar
  • 357
0 votes
0 answers
648 views

Critical Update - Stabilize the Hostname for My Domain URLs in Sandboxes

In the critical update page it sates that - "Activating this critical update on a production org only applies the update to new and refreshed sandbox orgs." But in the release notes it ...
SFDC Naruto's user avatar
1 vote
0 answers
38 views

Sandbox Refreshes with Different Connected Apps Configurations for Prod/Test [duplicate]

Currently looking for ideas on how to handle sandbox refreshes, where production and the sandboxes use different configurations in a Connected App. That is, each environment has a Connected App where ...
gpresland's user avatar
  • 153
2 votes
1 answer
2k views

Dynamically set Connected App Callback URL

I am trying to dynamically update the callback url in a connected app. When creating a sandbox, I want to run an apex class that change the callback URL from a production to UAT callback endpoint. ...
S.B.'s user avatar
  • 2,111
2 votes
1 answer
2k views

Why Connected App's client_id and client_secret still valid after a sandbox refresh?

Imagine you have a Connected App foo I've noticed that even after refreshing a sandbox, you are still able to use the client_id and client_secret of the foo Connected App of that sandbox before it ...
Leandro Ferreira Fernandes's user avatar
1 vote
0 answers
1k views

SandboxRefresh Class will not run on refresh but will run in Anonymous Context

Here is my code for the SandboxRefresh class that I'm trying to run. The batch classes have a finish method that does attempt to send emails, and I'm wondering if the default Deliverability settings ...
thinker's user avatar
  • 1,442
1 vote
2 answers
2k views

Deploy code to a refreshed sandbox

I'm currently managing my code in git. We are about to refresh all sandboxes, so all changes that aren't in production will be deleted. However, they are in git. Therefore, git is more updated than ...
Dana Griff's user avatar
  • 1,576
2 votes
1 answer
568 views

Do Usernames Hang Around for a While After Refreshing a Sandbox?

Do usernames hang around for a while after refreshing a sandbox? I refreshed an existing sandbox from production and then attempted to update users to activate them and reset their passwords. When ...
Developer Guy's user avatar
1 vote
2 answers
1k views

Refreshing / Creating developer sandbox from partial or full sandbox

In Enterprise edition of Salesforce, I remember being able to create or refresh a developer sandbox from a partial or full sandbox instead of production. This would also copy over some of the data ...
Zach's user avatar
  • 368
0 votes
1 answer
332 views

While refreshing Partial Copy sandbox, is Customer Community users also created with Contacts?

I want to refresh Partial Copy sandbox with few set of objects data which includes contact records as well. I don`t want to send any sandbox email to Community user in the process of refresh. While ...
Nitish's user avatar
  • 331
2 votes
3 answers
2k views

Is it possible to create a Dev Org from Full sandbox?

I would like to create a Developer Edition Org from Full. I haven't been able to find anything online for this, maybe I'm just bad at searching. Is it possible? Is a specific license needed?
SFAdmin's user avatar
  • 158
1 vote
3 answers
2k views

Sandbox Refresh: Common problems

We are planning to refresh our DEV Sandbox (Used for Integration Testing) from Prod. I am trying to identify impacted areas and how I can address those post refresh One of the identified areas - ...
Abhishek Verma's user avatar
12 votes
1 answer
2k views

Apex callout to same org in SandboxPostCopy

Use case During sandbox creation or refresh (Enterprise, not ISV use case), with Apex class implementing SandboxPostCopy, invoke MetadataAPI to delete stuff that shouldn't be in the sandbox (like ...
cropredy's user avatar
  • 72.1k