Access Live Okta Data in Excel for the Web (Excel 365/Online) through Connect Spreadsheets

Cameron Leblanc
Cameron Leblanc
Senior Technology Evangelist
Connect to Okta data from Excel 365 Online (Excel for the web) with Connect Spreadsheets.

Looking for Connect AI instructions?

Your Connect AI account includes Connect Spreadsheets, so you can use the instructions below. You can expect minor differences when referencing the Connect Spreadsheet platform, but the principles still apply!


Microsoft Excel for the web represents a cloud-native iteration of Microsoft Excel. When combined with Connect Spreadsheets by CData, you gain immediate access to Okta data directly within Excel, facilitating data analysis, collaboration, calculations, and more. This article shows how to connect to Okta in Connect Spreadsheets and access live Okta data in Excel spreadsheets online.

Connect Spreadsheets is the easiest way to get all your live data into Microsoft Excel and Google Sheets - no more downloading, wrangling, and uploading files again. Just connect to your data, select the dataset you'd like to see, and import it into your spreadsheet.

This setup requires a Connect Spreadsheets instance and the Connect Spreadsheets Add-In for Excel. To get started, sign up a free trial of Connect Spreadsheets and install the free Connect Spreadsheets Excel Add-In.


Configure Okta Connectivity for Excel

Connectivity to Okta from Excel is made possible through Connect Spreadsheets . To work with Okta data from Excel, we start by creating and configuring a Okta connection.

  1. Log into Connect Spreadsheets, click Sources and click Add Connection
  2. Select "Okta" from the Add Connection panel
  3. Enter the necessary authentication properties to connect to Okta.

    To connect to Okta, set the Domain connection string property to your Okta domain.

    You will use OAuth to authenticate with Okta, so you need to create a custom OAuth application.

    Creating a Custom OAuth Application

    From your Okta account:

    1. Sign in to your Okta developer edition organization with your administrator account.
    2. In the Admin Console, go to Applications > Applications.
    3. Click Create App Integration.
    4. For the Sign-in method, select OIDC - OpenID Connect.
    5. For Application type, choose Web Application.
    6. Enter a name for your custom application.
    7. Set the Grant Type to Authorization Code. If you want the token to be automatically refreshed, also check Refresh Token.
    8. Set the callback URL:
      • For desktop applications and headless machines, use http://localhost:33333 or another port number of your choice. The URI you set here becomes the CallbackURL property.
      • For web applications, set the callback URL to a trusted redirect URL. This URL is the web location the user returns to with the token that verifies that your application has been granted access.
    9. In the Assignments section, either select Limit access to selected groups and add a group, or skip group assignment for now.
    10. Save the OAuth application.
    11. The application's Client Id and Client Secret are displayed on the application's General tab. Record these for future use. You will use the Client Id to set the OAuthClientId and the Client Secret to set the OAuthClientSecret.
    12. Check the Assignments tab to confirm that all users who must access the application are assigned to the application.
    13. On the Okta API Scopes tab, select the scopes you wish to grant to the OAuth application. These scopes determine the data that the app has permission to read, so a scope for a particular view must be granted for the driver to have permission to query that view. To confirm the scopes required for each view, see the view-specific pages in Data Model < Views in the Help documentation.
  4. Click Create & Test

With the connection configured, you are ready to connect to Okta data from Excel for the web.

Access Live Okta Data in Excel for the web

The steps below outline connecting to Connect Spreadsheets from Excel to access live Okta data.

  1. Log into Excel, create a new sheet (or open an existing one).
  2. Click Insert and click Office Add-ins. (If you have already installed the Add-In, jump to step 4.)
  3. Search for Connect Spreadsheets and click "Get it now" to install the Add-in.
  4. Back in Excel, open the Data ribbon select and click the CData Connect Spreadsheets "Get Data" button.
  5. In the Add-In panel, click "Log in" to sign into and authenticate with your Connect Spreadsheets account
  6. In the Connect Spreadsheets panel in Excel, click Import
  7. Choose a Connection (e.g. Okta1), Table (e.g. Users), and Columns to import
  8. Optionally add Filters, Sorting, and a Limit
  9. Click Execute to import the data

Live Access to Okta Data from Spreadsheets

New, you have a direct, cloud-to-cloud connection to live Okta data from your Excel workbook. You can add more data to your workbook for calculations, aggregations, collaboration, and more.

Try Connect Spreadsheets and get real-time data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your spreadsheet apps.

Ready to get started?

Learn more about Connect Spreadsheets or sign up for free trial access:

Free Trial