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
Erin Ryan 52Erin Ryan 52 

Apex Trigger to disable SSO on sandbox refresh

When creating/refreshing a sandbox,  is possible to include an apex class that will nulify the SSO configuration and enable My Domain 'login form' ? Due to our org wide SSO setup , I'm unable to access new/refreshed sandboxes unless I disable SSO/My Domain prior to sandbox creation. I'd prefer to automate this process if possible. Thanks 
VinayVinay (Salesforce Developers) 
Hi Erin,

As per my understanding,  This would be out of box functionality and you cannot automate using apex trigger.

Thanks,
Erin Ryan 52Erin Ryan 52
Thanks Vinay........Do you know the purpose of including an Apex Class name when creating/refreshing a sandbox?