List tables, and create, read, update and delete table rows in an Oracle database after you create a connection and build an app in PowerApps. The Oracle Database connection supports full delegation of filtering, sorting, and other functions but not triggers or stored procedures.

Prerequisites

  • Oracle 9 and later
  • Oracle client software 8.1.7 and later
  • Installation of an on-premises data gateway
  • Installation of the Oracle client SDK

Install an on-premises data gateway

To install a gateway, follow the steps in this tutorial.

An on-premises data gateway acts as a bridge, providing quick and secure data transfer between on-premises data (data that isn't in the cloud) and the Power BI, Microsoft Flow, Logic Apps, and PowerApps services. You can use the same gateway with multiple services and multiple data sources. For more information, see Understand gateways.

Install Oracle client

On the same computer as the on-premises data gateway, install the 64-bit ODAC 12c Release 4 (12.1.0.2.4) for Windows x64. Otherwise, an error will appear if you try to create or use the connection, as the list of known issues describes.

Create an app from a table in an Oracle database

  1. In PowerApps Studio, click or tap New on the File menu (near the left edge).

New option

  1. Under Start with your data, click or tap the arrow.

    A list of connections that you already have appears.

  2. Click or tap New connection.

New connection

  1. In the list of connections, click or tap Oracle Database.

New database

  1. Specify the name of an Oracle server, a username, and a password.

    Specify a server in this format if an SID is required:
    ServerName/SID

Connection parameters

  1. Click or tap the gateway that you want to use, or install one.

    If your gateway doesn't appear after you install it, click Refresh gateway list.

New gateway

  1. Click or tap Create to create the connection.

New

  1. Click or tap the default dataset.

New

  1. In the list of tables, click or tap the table that you want to use.

New

  1. Click Connect to create the app.

New

PowerApps creates an app that has three screens and shows data from the table that you selected: - BrowseScreen1, which lists all entries in the table. - DetailScreen1, which provides more info about a single entry. - EditScreen1, in which users can update an entry or create an entry.

New

Next steps

  • To save the app that you've just generated, press Ctrl-S.
  • To customize BrowseScreen1 (which appears by default), see Customize a layout.
  • To customize DetailsScreen1 or EditScreen1, see Customize a form.

Known issues, tips, and troubleshooting

  1. Cannot reach the Gateway.

    This error appears if the on-premises data gateway can't connect to the cloud. To check the status of your gateway, sign in to powerapps.microsoft.com, click or tap Gateways, and then click or tap the gateway that you want to use.

    Make sure that your gateway is running and can connect to the Internet. Avoid installing the gateway on a computer that may be turned off or asleep. Also try restarting the on-premises data gateway service (PBIEgwService).

  2. System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

    This error appears if the Oracle client SDK isn't installed on the same computer as the on-premises data gateway. To resolve this issue, install the official provider.

  3. Table '[Tablename]' does not define any key columns.

    This error appears if you're connecting to a table that doesn't have a primary key, which the Oracle Database connection requires.

  4. As of this writing, stored procedures, tables with composite keys, and nested object types in tables aren't supported.