Excel for the web
Excel for the web
Setup Guide
Follow these steps to connect Excel for the web to your CData Connect Cloud account:
-
Open the Connections page of the CData Connect Cloud dashboard.
-
Click + Add Connection in the upper-right corner.
-
Type Excel for the web into the search field, then click the data source name.
-
On the Basic Settings tab of the new connection, enter a connection name or keep the default name.
-
Select the Authentication method, then proceed to the relevant section and follow those instructions.
Authentication Methods
AzureAD
-
Enter the Sharepoint URL to connect to Excel files on a SharePoint site. Leave this field blank to connect to Excel files on your OneDrive.
-
Click Sign in to connect securely through OAuth. This action opens the Excel for the web sign-in page in a new tab.
-
Log in to your Excel for the web account and provide the requested permissions (if applicable).
-
At the top of the CData Connect Cloud Add Excel for the web Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
AzureServicePrincipal
-
Enter the Azure Tenant Id to connect to.
-
The Callback URL, or Redirect URL, is the URL you need (
https://oauth.cdata.com/oauth/
) when setting up your OAuth app. Copy this URL and paste it into your OAuth app. -
Enter the OAuth Client Id, which is the client Id assigned when you register your Excel for the web account for OAuth.
-
Enter the OAuth Client Secret for your Excel for the web account.
-
Enter the Sharepoint URL field to connect to Excel files on a SharePoint site. Leave blank to connect to Excel files on your OneDrive.
-
At the top of the CData Connect Cloud Add Excel for the web Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
AzureServicePrincipalCert
-
Enter the Azure Tenant Id to connect to.
-
The Callback URL, or Redirect URL, is the URL you need (
https://oauth.cdata.com/oauth/
) when setting up your OAuth app. Copy this URL and paste it into your OAuth app. -
Enter the OAuth Client Id, which is the client Id assigned when you register your Excel for the web account for OAuth.
-
Enter the OAuth JWT Cert for your Excel for the web account in the format shown.
-
Enter the OAuth JWT Cert Password for your Excel for the web account, if required.
-
Enter the OAuth JWT Cert Subject for your Excel for the web account. This is the subject of the OAuth JWT certificate. If omitted, the first certificate in the certificate store is used.
-
Enter the Sharepoint URL field to connect to Excel files on a SharePoint site. Leave blank to connect to Excel files on your OneDrive.
-
At the top of the CData Connect Cloud Add Excel for the web Connection page, click Save & Test.
-
If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.
-
If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
-
Issuing Queries
In some configurations of Excel for the web, tables are accessible under the schema name OneDrive instead of ExcelOnline. For example, when querying a Excel for the web table, the fully-qualified table name might be [ExcelOnline1].[OneDrive].[TableName]
. You can use Data Explorer to view your schemas to see if this applies to your configuration.
More Information
For more information about interactions between CData Connect Cloud and Excel for the web, see this information page.