Dialogue Cloud

Deploy UCC Dashboard

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 Deploy-UccDashboard.ps1 script deploys 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. Dashboard SPFx package to your tenant's App Catalog. This is a one-time setup that makes the UCC Dashboard web part available to all SharePoint sites in your tenant.


When to Run This Script

  • Once per tenant - Run this before modernizing or creating your first UCC site
  • After package updates - Run with -Force when upgrading to a new version of UCC Site Creator

Prerequisites

Before running this script, ensure you have:


Basic Usage

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

# Deploy the dashboard
.\Deploy-UccDashboard.ps1 `
    -TenantUrl "https://contoso.sharepoint.com" `
    -ClientId "your-client-id" `
    -CertificatePath "C:\Certs\cert.pfx" `
    -CertificatePassword $certPassword

With Interactive Authentication

Copy
PowerShell
.\Deploy-UccDashboard.ps1 `
    -TenantUrl "https://contoso.sharepoint.com" `
    -Interactive `
    -ClientId "your-client-id"

Parameters

Parameter Required Description
-TenantUrl Yes Your SharePoint tenant URL (e.g., https://contoso.sharepoint.com)
-ClientId Yes Entra ID application (client) ID
-CertificatePath No* Path to the .pfx certificate file
-CertificatePassword No* Certificate password as SecureString
-Interactive No* Use browser-based authentication
-Force No Re-deploy even if already deployed
-SkipTenantWide No Don't deploy tenant-wide (not recommended)
-UseSiteCollectionAppCatalog No Installs the UCC Dashboard app from the site collection app catalog
Available since v8.4.1.8

*Either -Interactive OR certificate parameters are required.


What the Script Does

  1. Connects to Tenant Admin - Establishes connection to your SharePoint admin center
  2. Locates App Catalog - Finds your tenant's App Catalog site
  3. Enables Scripting - Temporarily enables scripting on the App Catalog (required for deployment)
  4. Uploads SPFx Package - Uploads ucc-dashboard-spfx.sppkg to the App Catalog
  5. Deploys Tenant-Wide - Makes the web part available to all sites without per-site installation
  6. Creates Marker File - Creates .tenant-setup-complete to track deployment status

Expected Output

A successful deployment looks like this:

Copy
PowerShell
============================================================
  AnywhereNow UCC - Tenant Setup v8.3.0.6
============================================================

Info : Found SPFx package: ...\SPFx\sharepoint\solution\ucc-dashboard-spfx.sppkg
Info : Derived tenant admin URL: https://contoso-admin.sharepoint.com
Info : Loading bundled PnP.PowerShell module...
Info : Connecting to tenant admin: https://contoso-admin.sharepoint.com
Success : Connected to tenant admin
Info : Getting tenant App Catalog URL...
Info : Tenant App Catalog: https://contoso.sharepoint.com/sites/appcatalog
Info : Connecting to App Catalog...
Success : Connected to App Catalog
Info : Deploying SPFx package to tenant App Catalog...
Info :   Package: ...\ucc-dashboard-spfx.sppkg
Info :   Tenant-wide: True
Success : Package uploaded successfully
Info :   App ID: b6a6a24f-a81a-4d75-89be-3db0dc7464c0
Info : Verifying deployment...
Success : Package deployed and available!
Info :   Tenant-wide: Yes (available to all sites automatically)

============================================================
  Tenant Setup Complete!
============================================================

The SPFx package has been deployed to your tenant App Catalog.

The solution is available TENANT-WIDE, which means:
  - No need to install the app on each site
  - The UCC Dashboard web part is automatically available

Or go to the App Catalog in your Tenants SharePoint site.


Re-deploying (Upgrades)

When upgrading to a new version of UCC Dashboard, use the -Force flag to re-deploy the SPFx package:

Copy
PowerShell
.\Deploy-UccDashboard.ps1 `
    -TenantUrl "https://contoso.sharepoint.com" `
    -ClientId "your-client-id" `
    -CertificatePath "C:\Certs\cert.pfx" `
    -CertificatePassword $certPassword `
    -Force

Troubleshooting


Next Steps

After deploying the UCC Dashboard:


Media Gallery

Videos

Deploy-UccDashboard, interactive authentication

Dashboard already deployed

Dashboard re-deployed (with '-Force' parameter)

Deploy-UccDashboard, certificate authentication.

Dashboard re-deployed (with '-Force' parameter)

Screenshots

Deploy-UccDashboard, interactive.

Preview Dashboard Before & After