{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":40648,"path":"platform-security/authentication/t_CloneAnInstanceWASAMLIntegration.md","title":"Clone an instance with a SAML integration","bundle":null,"doc_type":null,"release":"australia","body":"\n# Clone an instance with a SAML integration\n\nClone an instance with a SAML integration. Before you clone an instance that uses SAML 2.0, preserve the SAML SSO-related settings on the target instance or you might make the target instance inaccessible.\n\n## Before you begin\n\nRole required: sso\\_config\\_admin, business\\_rule\\_admin, script\\_include\\_admin\n\n## Procedure\n\n1.  On the source instance, navigate to **System Clone** &gt; **Preserve Data** &gt; **Core Instance Properties**.\n\n2.  Make sure that the following SAML SSO-related properties are preserved using conditions.\n\n    -   glide.authenticate\n    -   glide.security\n    -   glide.entry\n    -   glide.script\n    -   glide.session\n    -   glide.saml2\n    -   com.glide.communications\n    -   com.snc.integration.saml\\_esig\n    \\[Omitted image \"DataPreserverSAML.png\"\\] Alt text: Data preserver SAML.\n\n    **Note:** When you create the clone, include attachments so that certificates carry over to the target instance. Also, make sure the **Theme** check box is cleared so these properties are preserved regardless of whether you preserve the instance theme.\n\n3.  On the source instance, navigate to **System Clone** &gt; **Preserve Data** to preserve the SAML certificates on sys\\_certificate and SAML users on sys\\_user related to SAML/SSO/Multi SSO.\n\n    If you need them, export them into XML, then manually import them on the target.\n\n    **Warning:** Do not try to clone the SAML/SSO/Multi SSO setup from one system to another. Most transfers of SAML/SSO or Multi SSO settings do NOT work because they must be configured on the identity provider. If you overwrite a working setup, the target instance will fail to authenticate so your target instance will become inaccessible. Also, do not change the sys\\_id of your Multi SSO provider record; doing that will force your users to flush their cookies. For more information about cloning precautions, see [Checklist before cloning an instance](https://support.servicenow.com/kb_view.do?sysparm_article=KB0657100).\n\n4.  Exclude the Multi SSO tables sso\\_properties, digest\\_properties and saml2\\_update1\\_properties.\n\n5.  Manually create the SAML/SSO/Multi SSO records on each instance independently and set up the records on your identity provider as well.\n\n6.  Make sure that you manually create a LOCAL admin account on sys\\_user \\(not in LDAP or SAML\\) record on the target instance and with a sys\\_id that does not exist on the source instance.\n\n7.  Click **Update**.\n\n\n"}}