Edit

ManualProvisioning (QuickStart)

Applies to: Skype for Business 2015

Sample name: ManualProvisioning

Sample location: %ProgramFiles%\Microsoft UCMA 5.0\SDK\Core\Sample Applications\QuickStarts\ManualProvisioning

Description

In some situations, administrators might want to deploy Microsoft Unified Communications Managed API 5.0-based applications that are trusted by Skype for Business Server 2015, yet avoid installing a Central Management Store (CMS) replica on the server hosting the application. In these situations, the application must make use of manual provisioning.

In comparison to automatic provisioning, manual provisioning has several limitations. Specifically, manually-provisioned applications must be configured with a Globally Routable User Agent URI (GRUU), and trusted application endpoint owner URI and port, all of which must be configured in the CMS when the trusted application endpoint is configured. Additionally, it is usually necessary to configure manually-provisioned endpoints with the registrar FQDN and port. It is also necessary to determine the certificate the application will use if TLS transport is being employed. Additionally, changes to the trusted application endpoint owner properties will not be updated from CMS into the application.

For more information about provisioning trusted applications and endpoints in Skype for Business Server 2015, see Activating a UCMA 5.0 trusted application, as well as General application activation and Activating a manually-provisioned application.

This sample demonstrates how to create a CollaborationPlatform instance using the ServerPlatformSettings constructor, establish a single [ApplicationEndpoint]/dotnet/api/microsoft.rtc.collaboration.applicationendpoint?view=ucma-api) instance, and monitor the state changes on the endpoint.

Features

  • CollaborationPlatform creation from ServerPlatformSettings

  • ApplicationEndpoint establishment

  • Endpoint StateChanged notification handling

Prerequisites

  • Skype for Business Server 2015.

  • Provisioned trusted ApplicationEndpoint instance.

Running the sample

  1. Supply the configuration settings to be used by the sample in the accompanying App.config file, OR

    Supply these settings when prompted for them when you run the sample.

  2. Open the project in Microsoft Visual Studio, and then press F5.