Microsoft Excel for the web represents a cloud-native iteration of Microsoft Excel. When integrated with CData Connect AI, you gain immediate access to Azure Data Lake Storage data directly from within Excel. This access facilitates data analysis, collaborative work, calculations, and more. This article provides a step-by-step guide on connecting to Azure Data Lake Storage within your Connect AI instance and accessing live Azure Data Lake Storage data in Excel for the web spreadsheets, whether for viewing or updating purposes.
CData Connect AI provides a pure cloud-to-cloud interface for Azure Data Lake Storage, allowing you to easily access live Azure Data Lake Storage data in Excel for the web. Simply use the Connect AI Add-In to query live data (or write your own). Using optimized data processing out of the box, CData Connect AI pushes all supported query operations (filters, JOINs, etc) directly to Azure Data Lake Storage, leveraging server-side processing to quickly return Azure Data Lake Storage data.
Configure Azure Data Lake Storage Connectivity for Excel
Connectivity to Azure Data Lake Storage from Excel is made possible through CData Connect AI. To work with Azure Data Lake Storage data from Excel, we start by creating and configuring a Azure Data Lake Storage connection.
-
Log into Connect AI, click Sources, and then click Add Connection
π Adding a Connection
- Select "Azure Data Lake Storage" from the Add Connection panel
π Selecting a data source
-
Enter the necessary authentication properties to connect to Azure Data Lake Storage.
Authenticating to a Gen 1 DataLakeStore Account
Gen 1 uses OAuth 2.0 in Entra ID (formerly Azure AD) for authentication.
For this, an Active Directory web application is required. You can create one as follows:
- Sign in to your Azure Account through the
- Select "Entra ID" (formerly Azure AD).
- Select "App registrations".
- Select "New application registration".
- Provide a name and URL for the application. Select Web app for the type of application you want to create.
- Select "Required permissions" and change the required permissions for this app. At a minimum, "Azure Data Lake" and "Windows Azure Service Management API" are required.
- Select "Key" and generate a new key. Add a description, a duration, and take note of the generated key. You won't be able to see it again.
To authenticate against a Gen 1 DataLakeStore account, the following properties are required:
- Schema: Set this to ADLSGen1.
- Account: Set this to the name of the account.
- OAuthClientId: Set this to the application Id of the app you created.
- OAuthClientSecret: Set this to the key generated for the app you created.
- TenantId: Set this to the tenant Id. See the property for more information on how to acquire this.
- Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.
Authenticating to a Gen 2 DataLakeStore Account
To authenticate against a Gen 2 DataLakeStore account, the following properties are required:
- Schema: Set this to ADLSGen2.
- Account: Set this to the name of the account.
- FileSystem: Set this to the file system which will be used for this account.
- AccessKey: Set this to the access key which will be used to authenticate the calls to the API. See the property for more information on how to acquire this.
- Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.
π Configuring a connection (Salesforce is shown)
-
Click Save & Test
-
Navigate to the Permissions tab in the Add Azure Data Lake Storage Connection page and update the User-based permissions.
π Updating permissions
With the connection configured, you are ready to connect to Azure Data Lake Storage data from Excel for the web.
Access Live Azure Data Lake Storage Data in Excel for the web
The steps below outline connecting to CData Connect AI from Excel to access live Azure Data Lake Storage data.
- Log into Excel, create a new sheet (or open an existing one).
- Click Insert and click Office Add-ins. (if you have already installed the Add-In, jump to step 4).
- Search for CData Connect Spreadsheets Add-In and install the Add-in.
π Install the Add-In
- Click Data and open the CData Connect Spreadsheets Add-In.
- In the Add-In panel, click Login or Sign-up to authenticate with your CData Connect AI instance
π Authorizing the Add-In
- In the CData Connect Spreadsheets panel in Excel, click Import
π CData Connect AI panel in Excel
- Choose a Connection (e.g. ADLS1), Table (e.g. Resources), and Columns to import
π CData Connect AI panel in Excel
- Optionally add Filters, Sorting, and a Limit
π Choosing a Connection, Table, and Columns
- Click Execute to import the data
π Executing the Query
Live Access to Azure Data Lake Storage Data from Cloud Applications
New, you have a direct, cloud-to-cloud connection to live Azure Data Lake Storage data from your Excel workbook. You can add more data to your workbook for calculations, aggregations, collaboration, and more.
π Imported data (Salesforce is shown)
Try CData Connect AI and get real-time data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications.