Update SharePoint Template Online

Warning The CoreThe Core is the center of Anywhere365. It manages all the Dialogues. is always leading, make sure the Core is up to date!

Warning If you are using scripts for SharePoint Online (Timerjobs, Retention Policy, Surveys or others), make sure they area also updated.

Preparation UCC connection with sharepoint online

  1. Stop uccUCC stands for Unified Contact Center and consists of a queue that can be handled by Agents Each Contact Center has its own settings, interactive voice response questions and Agent with specific skills. Agents can be member of, or sign up to, one or more Contact Centers. service during update or make sure it cannot connect to the site collection if you want to keep the ucc running. For example you could add a rule to the hostfile on the ucc server.
  2. If you change the hostfile, go to C:\windows\system32\drivers\etc\hosts and add the line that looks like “127.0.0.1 domain.sharepoint.com”

 

Preparation to create backup

  1. Download the zipfile called CopySettings v0.9.8
  2. Make sure that the .zip package is unblocked.
    Right click on the .zip file and choose “properties”
    Then click Unblock and Apply

  1. Edit the properties file (will open in powershell ISE)

  1. Fill in the InputsiteURL (this is the url of the main site collection which contains all ucc sites). The single site can be selected when the script is executed.
  2. Fill in user name and password that can reach the sharepoint site collection
    (ucc service account or sharepoint online account).
  3. Use backup mode.
  4. Change inputUpdateMode into 0.
  5. Decide what you want to incorporate in the backup (change n into y).
    1. $inputCopyLibrariesOnly = "n" # yes/no
    2. $inputCopyRecordings = "n" # yes/no
    3. $inputCopyVoicemails = "n" # yes/no
    4. $inputCallSummary = "n" # yes/no
  6. Select sharepoint version = online.
  7. Save the properties file.

 

Create backup

  1. Open powershell as administrator.
  2. Navigate to the copysettings folder.
  3. Run the sptemplate_copysettings script.
  4. You will be able to select the site you want to backup. To backup all sites select 0

  1. A new folder will be created inside the copy settings folder with the name SettingsBackup.

 

Create new sites

  1. Edit the properties file and use restore mode.
  2. Change inputUpdateMode into 1.
  3. Run the sptemplate_copysettings script.
  4. The script will ask if you want to overwrite. This is ok because new sites are created in the new version (url contains “_new”).

 

Restore data to new sites

  1. Change the inputUpdateMode in properties file into 2.
  2. Run the sptemplate_copysettings script.
  3. Data from backup is restored in new sites.

 

Rename old sites

  1. Change the inputUpdateMode in properties file into 3.
  2. Run the sptemplate_copysettings script.
  3. Old sites URLs will contain “_old”.

 

Rename new sites to normal url

  1. Change the inputUpdateMode in properties file into 4.
  2. Run the sptemplate_copysettings script.
  3. New sites will get the original site URL (without “_new”).
  4. Your sites are up to date.

 

Start UCC services

  1. Make a backup of the folders in C:\programfiles\UCC on the anywhere server.
  2. Stop the ucc service.
  3. Delete the cachefolders C:\programfiles\ucc_name on the anywhere server.
  4. Start the ucc service.
  5. If everything works fine go back to the properties file of the copy settings script and change the inputUpdateMode in properties file into 6.
    (the value 5 is used when recordings were not incorporated in the backup process).
  6. Run the sptemplate_copysettings script.
  7. The old sites will be deleted.