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-pluginclient configured with the following:- The
offline_accessclient scope. - Valid Redirect URIs set to
https://login.microsoftonline.com/common/oauth2/nativeclient.
- The
-
All users who will use the add-in to log in to AtScale from Excel must have the
offline_accessandquery_userroles 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_accessrole 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.
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:
-
Download the installer that corresponds to your OS architecture and extract the
.zipfile. You can download the latest version here:NoteIf you need another version of the installer, see Available Versions.
-
Right-click the
.msifile and select Properties. -
Click Digital Signatures, select the certificate, then click Details.
-
Click View Certificate > Install Certificate.
-
Select Local Machine.
-
Select the Place all certificates in the following store option, then select Trusted Publishers.
-
Click Ok, then click Next.
-
Click Finish.
Install the AtScale add-in
Next, the Excel add-in needs to be installed on users' machines:
-
Download the installer that corresponds to your OS architecture and extract the
.zipfile. You can download the latest version here:NoteIf you need another version of the installer, see Available Versions.
-
Double-click the
.msifile. -
Click Next.
-
When asked to select the authentication method for your AtScale deployment, select SML/Keycloak, then click Next.
-
(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.
-
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:
-
In Excel, open a blank workbook.
-
In the ribbon, click Login with AtScale.
-
Select a cell in the workbook, then click Add Connection in the ribbon. The Enter Server URL dialog appears.
-
Enter the MDX connection string for the model. This can be obtained on the Connect tab for the deployed catalog in Design Center.
NoteThe connection string will be prepopulated if you provided a Default AtScale Server URL in the procedure above.
-
Click Next. The AtScale login screen opens in your browser.
-
Enter your login credentials and sign in. The login screen closes, and the Select Data Model dialog appears.
-
Select a catalog and model, then click Next.
-
(Optional) Enter a name and description for the connection.
-
Click OK.
Refreshing AtScale connections
To refresh all AtScale connections in a workbook:
- Open a workbook that contains connections to AtScale.
- Click the Login with AtScale tab in the ribbon.
- Click Refresh All in the ribbon.
To refresh a single connection:
- Open a pivot table that contains an AtScale connection.
- Click the Login with AtScale tab in the ribbon.
- Click Refresh Selected in the ribbon.