Skip to main content

Connecting to Excel via the AtScale Add-In

This section describes how to use AtScale's branded add-in to connect to Microsoft Excel via SSO.

Prerequisites

  • AtScale must be configured with Microsoft Entra ID.

  • The Store Tokens option must be enabled for your IdP.

  • The Identity Broker must have an atscale-excel-plugin client configured with the following:

    • The offline_access client scope.
    • Valid Redirect URIs set to https://login.microsoftonline.com/common/oauth2/nativeclient.
  • All users who will use the add-in to log in to AtScale from Excel must have the offline_access and query_user roles assigned in the Identity Broker (note that these are automatically granted to admin users), as well as the necessary runtime permissions for the catalogs they will connect to.

  • Any federated users must have the offline_access role assigned in the Identity Broker.

  • You must be using a supported version of Excel. For the versions AtScale currently supports, see AtScale Supported Tools and Platforms.

Note

If you need to install a new version of the add-in, you must first fully uninstall any previous versions. This includes any versions from installer-based AtScale.

Install the AtScale certificate

First, an AtScale admin needs to install the AtScale certificate:

  1. Download the installer that corresponds to your OS architecture and extract the .zip file. You can download the latest version here:

    Note

    If you need another version of the installer, see Available Versions.

  2. Right-click the .msi file and select Properties.

  3. Click Digital Signatures, select the certificate, then click Details.

  4. Click View Certificate > Install Certificate.

  5. Select Local Machine.

  6. Select the Place all certificates in the following store option, then select Trusted Publishers.

  7. Click Ok, then click Next.

  8. Click Finish.

Install the AtScale add-in

Next, the Excel add-in needs to be installed on users' machines:

  1. Download the installer that corresponds to your OS architecture and extract the .zip file. You can download the latest version here:

    Note

    If you need another version of the installer, see Available Versions.

  2. Double-click the .msi file.

  3. Click Next.

  4. When asked to select the authentication method for your AtScale deployment, select SML/Keycloak, then click Next.

  5. (Optional) In the Default AtScale Server URL (optional) field, enter the MDX connection string for the AtScale model you want to connect to. This can be obtained on the Connect tab for the deployed catalog in Design Center.

    If you provide this information, the connection string will be prepopulated when you add an AtScale connection in Excel; for more information, see the following procedure.

  6. Click Install.

If the installation was successful, a folder for the add-in appears in your Program Files folder. The next time you open Excel, a Login with AtScale tab appears in the ribbon.

Configure a connection to AtScale in Excel

Once the add-in has been installed, users must configure a connection to AtScale within Excel:

  1. In Excel, open a blank workbook.

  2. In the ribbon, click Login with AtScale.

  3. Select a cell in the workbook, then click Add Connection in the ribbon. The Enter Server URL dialog appears.

  4. Enter the MDX connection string for the model. This can be obtained on the Connect tab for the deployed catalog in Design Center.

    Note

    The connection string will be prepopulated if you provided a Default AtScale Server URL in the procedure above.

  5. Click Next. The AtScale login screen opens in your browser.

  6. Enter your login credentials and sign in. The login screen closes, and the Select Data Model dialog appears.

  7. Select a catalog and model, then click Next.

  8. (Optional) Enter a name and description for the connection.

  9. Click OK.

Refreshing AtScale connections

To refresh all AtScale connections in a workbook:

  1. Open a workbook that contains connections to AtScale.
  2. Click the Login with AtScale tab in the ribbon.
  3. Click Refresh All in the ribbon.

To refresh a single connection:

  1. Open a pivot table that contains an AtScale connection.
  2. Click the Login with AtScale tab in the ribbon.
  3. Click Refresh Selected in the ribbon.

Additional information