Dialogue Cloud

Create UCC Sites

Important

This is a page under active development. All information herein be is subject to updates at any time. Check back daily for more content, videos, screen-shots and downloads

The UCC A Unified Contact Center, or UCC, is a queue of interactions (voice, email, IM, etc.) that are handled by Agents. Each UCC has its own settings, IVR menus and Agents. Agents can belong to one or several UCCs and can have multiple skills (competencies). A UCC can be visualized as a contact center “micro service”. Customers can utilize one UCC (e.g. a global helpdesk), a few UCC’s (e.g. for each department or regional office) or hundreds of UCC’s (e.g. for each bed at a hospital). They are interconnected and can all be managed from one central location..Site.Creator.ps1 script creates new UCC (Unified Contact Center) sites on SharePoint Online. Each site includes all required lists, content types, views, and the modern UCC Dashboard.

Note

We are looking into adding new subsites creation to this script (on existing Site Collections for UCCs, on tenants where subsites are still allowed).


Before You Begin

Ensure you have:


Basic Usage

Copy
PowerShell
# Store password securely in temporary memory
$certPassword = Read-Host -AsSecureString -Prompt "Enter certificate password"

# Create the UCC site
.\UCC.Site.Creator.ps1 `
    -paramUccName "ucc-sales" `
    -paramUccTitle "Sales Contact Center" `
    -paramSiteCollectionTitle "Sales Department" `
    -paramSiteCollectionUrl "https://contoso.sharepoint.com/sites/ucc-sales" `
    -paramSiteOwner "admin@contoso.onmicrosoft.com" `
    -paramCertificateAppId "your-client-id" `
    -paramCertificateTenantId "your-tenant-id" `
    -paramCertificatePath "C:\Certs\cert.pfx" `
    -paramCertificatePassword $certPassword

With Interactive Authentication

Copy
PowerShell
.\UCC.Site.Creator.ps1 `
    -paramUccName "ucc-sales" `
    -paramUccTitle "Sales Contact Center" `
    -paramSiteCollectionTitle "Sales Department" `
    -paramSiteCollectionUrl "https://contoso.sharepoint.com/sites/ucc-sales" `
    -Interactive `
    -paramInteractiveClientId "your-client-id"

Using Configuration File

Edit configuration.xml with your credentials, then run:

Copy
PowerShell
.\UCC.Site.Creator.ps1 `
    -paramUccName "ucc-sales" `
    -paramUccTitle "Sales Contact Center" `
    -paramSiteCollectionUrl "https://contoso.sharepoint.com/sites/ucc-sales"

Parameters

Required Parameters

Parameter Description
-paramUccName Internal name for the UCC site (no spaces, used in URLs)
-paramUccTitle Display title for the UCC site
-paramSiteCollectionUrl Full URL where the site will be created

Authentication Parameters

Parameter Description
-paramCertificateAppId Entra ID Formerly known as Azure Active Directory (or Azure AD, or AAD) application (client) ID
-paramCertificateTenantId Entra ID tenant (directory) ID
-paramCertificatePath Path to the .pfx certificate file
-paramCertificatePassword Certificate password as SecureString
-Interactive Use browser-based authentication
-paramInteractiveClientId Client ID for interactive authentication

Optional Parameters

Parameter Default Description
-paramSiteOwner From config Site collection owner email
-paramSiteCollectionTitle AnywhereNow UCC Site collection title (top of page)
-paramLanguage English Language for list content (English, Dutch, German, French)
-UseSubSites n.a.

Enables subsite provisioning mode — processes pending requests from the A365_UCC_Creator list

Available since v8.4.1.8
-UseSiteCollectionAppCatalog n.a. Installs the UCC Dashboard app from the site collection app catalog
Available since v8.4.1.8
-SiteCollectionPreCreated n.a.

Skips site collection creation — required for Sites.Selected deployments

Available since v8.4.1.8

What the Script Does

The script performs these steps:

  1. Creates Site Collection - Creates a new Communication Site if it doesn't exist
  2. Configures Site Collection - Adds site columns, content types, and the A365_UCC_Creator list
  3. Provisions UCC Lists - Creates all UCC lists (Agents, Skills, Queues, etc.)
  4. Adds Content Types - Adds UCC-specific content types to lists
  5. Configures Views - Sets up default and custom views
  6. Imports Default Data - Populates lists with default settings and values
  7. Creates Home Page - Creates Home.aspx with the UCC Dashboard web part (full-width)
  8. Sets Site Logo - Applies the AnywhereNow logo
  9. Applies Schema Updates - Adds any new columns required by recent versions
  10. Disables Comments - Disables page comments for cleaner UI

Expected Output

A successful site creation looks like this:

Copy
PowerShell
============================================================
  AnywhereNow UCC Site Creator v8.3.0.6
============================================================

Info : Checking if site collection exists: https://contoso.sharepoint.com/sites/ucc-sales
Info : Site collection does not exist. Creating...
Info : Creating Communication Site: https://contoso.sharepoint.com/sites/ucc-sales
Info : Title: Sales Contact Center
Info : Owner: admin@contoso.onmicrosoft.com
Info : Site collection created successfully

Info : Using modern SPFx components (MC1117115 compliant)
Info : Site collection not configured. Running site collection setup...
Info : Adding site columns
Info : Adding site content types
Info : Adding UCC Creator list
Info : Site collection setup complete

Info : Site creator started
Info : Processing https://contoso.sharepoint.com/sites/ucc-sales
Info : Lists...
Info : Site Columns / Content types...
Info : Views / Forms...
Info : List Content...
Info : Default Settings...
Info : Provisioned

Info : Configuring UCC Dashboard home page...
Info : Creating Home.aspx...
Info : Adding UCC Dashboard web part (full-width)...
Info : UCC Dashboard web part added successfully (full-width)
Info : Home page set to: SitePages/Home.aspx
Info : Site logo set (AnywhereNow)
Info : Page comments disabled
Info : Applying schema updates...
Info : Schema is up to date

Info : ==========================================
Info : UCC Site Creator Complete
Info : ==========================================
Info : Site URL: https://contoso.sharepoint.com/sites/ucc-sales

Multi-Language Support (partially)

The script supports multiple languages for list content. Specify the language using the -paramLanguage parameter:

The Modern UCC Dashboard currently only supports English!
Copy
Format Example
.\UCC.Site.Creator.ps1 `
    -paramUccName "ucc-verkoop" `
    -paramUccTitle "Verkoop Contact Center" `
    -paramSiteCollectionUrl "https://contoso.sharepoint.com/sites/ucc-verkoop" `
    -paramLanguage "Dutch" `
    ...

Supported languages:

  • English (default)
  • Dutch
  • German
  • French

Creating Multiple Sites

Option 1: Run the Script Multiple Times

Copy
Format Example
# Site 1
.\UCC.Site.Creator.ps1 -paramUccName "ucc-sales" -paramUccTitle "Sales" ...

# Site 2
.\UCC.Site.Creator.ps1 -paramUccName "ucc-support" -paramUccTitle "Support" ...

# Site 3
.\UCC.Site.Creator.ps1 -paramUccName "ucc-hr" -paramUccTitle "HR" ...

Option 2: Use a Loop

Copy
Format Example
$sites = @(
    @{ Name = "ucc-sales"; Title = "Sales Contact Center" },
    @{ Name = "ucc-support"; Title = "Support Contact Center" },
    @{ Name = "ucc-hr"; Title = "HR Contact Center" }
)

foreach ($site in $sites) {
    .\UCC.Site.Creator.ps1 `
        -paramUccName $site.Name `
        -paramUccTitle $site.Title `
        -paramSiteCollectionUrl "https://contoso.sharepoint.com/sites/$($site.Name)" `
        -paramCertificateAppId "your-client-id" `
        -paramCertificateTenantId "your-tenant-id" `
        -paramCertificatePath "C:\Certs\cert.pfx" `
        -paramCertificatePassword $certPassword
}

Deploying to an Existing Site

If the site collection already exists, the script will:

  1. Skip site creation
  2. Check if UCC is already configured
  3. Add UCC lists and content to the existing site

This allows you to add UCC functionality to an existing SharePoint site.


Troubleshooting


Lists Created

The script creates the following lists:

List Purpose
Agents Contact center agents
Skills Agent skills and routing rules
Queues Call queues configuration
IVRQuestions Call flow IVR Interactive Voice Response, or IVR, is a telephone application to take orders via telephone keypad or voice through a computer. By choosing menu options the caller receives information, without the intervention of a human operator, or will be forwarded to the appropriate Agent. definitions
Settings Site-level settings
SettingValues Setting value options
UccEndpoints Endpoint configurations
...and more Additional UCC-specific lists

Next Steps

  • Configure your UCC site through the UCC Dashboard
  • Add agents, skills, and queues
  • For existing UCC sites that need upgrading, see Modernize Existing Sites

Media Gallery

Videos

Ucc.Site.Creator with certificate authentication - part 1

Long pauzes (when data is being pushed to online) removed

Ucc.Site.Creator with certificate authentication - part 2

Long pauzes (when data is being pushed to online) removed

Screenshots

Full Ucc.Site.Creator run with certificate authentication