Enabling the Microsoft SharePoint Online Connector in Spotfire Web Clients


Note: In TIBCO Cloud™ Spotfire® environments, you cannot use the Microsoft SharePoint Online connector in the Spotfire web clients.

To be able access SharePoint Online data in the Spotfire web clients (such as Spotfire Business Author and Consumer), you must configure your web player services to access SharePoint through your own registered application in Microsoft Azure.

This is required because in on-premises Spotfire environments the Spotfire web clients cannot make use of the TIBCO Spotfire app in Microsoft Azure to access data from SharePoint Online.

Note: Spotfire installed clients use the TIBCO Spotfire app in Microsoft Azure by default. If you want to change that, configure the preference settings instead.

Prerequisites

Configuring your app in Microsoft Azure

Redirect URIs

Add the following address for your Spotfire Server as a Web Redirect URI:

Application (client) ID and client secret

Collect the following information from you registered app in Microsoft Azure:

Configuring the Spotfire web clients

Add the application (client) ID and the client secret to the web client service configurations for your web clients. You add these settings in the config file Spotfire.Dxp.Worker.Host.config.

  1. On the computer that runs Spotfire Server, export the service configuration you want to edit. See the instructions in the topic Manually editing the service configuration files, in the Spotfire Server and Environment Installation and Administration Manual for your version of Spotfire.

  2. In the file Spotfire.Dxp.Worker.Host.config, locate or add the setting Spotfire.Dxp.Data.Adapters.MicrosoftCommon.Properties.Settings:

    <Spotfire.Dxp.Data.Adapters.MicrosoftCommon.Properties.Settings>
      <setting name="ClientSecret" serializeAs="String">
         <value>Your client secret</value>
      </setting>
      <setting name="ClientId" serializeAs="String">
         <value>Your application (client) ID</value>
      </setting>
    </Spotfire.Dxp.Data.Adapters.MicrosoftCommon.Properties.Settings>

  3. Add your application (client) ID and your client secret in the settings ClientId and ClientSecret respectively.

  4. Save your changes. Then import the service configuration, by following the instructions in the Spotfire Server and Environment Installation and Administration manual.

Note: If you have multiple service configurations that you use for different web player services, make sure to add these settings in all relevant service configurations. Remember that it is not possible to edit the default service configuration.

Preferences in Administration Manager

A different option for entering the application (client) ID and client secret in Spotfire is to use the Microsoft Azure AD preferences in Spotfire Administration Manager. With the preferences you can configure, per Spotfire user group, what Microsoft Azure registered app Spotfire uses in connections to SharePoint Online.

The preferences are available under Connectors > Microsoft Azure AD Authentication:

The preferences are also in effect when you use Spotfire installed clients.

Important: If you have configured both the service configuration and the user group preferences for the logged in user, the preferences take precedence.

Settings for the installed client in your app in Microsoft Azure

If you use the preferences, you must change additional settings in your registered app in Microsoft Azure so that you can use the Spotfire installed client.

 

See also:

Accessing Data from Microsoft SharePoint Online

About the TIBCO Spotfire app in Microsoft Azure