Export events

[This topic is pre-release documentation and is subject to change.]

An event represents user behavior. It records when a user views a page (view event) or interacts with content(action event). When you can decide which properties of the data that you want to display in a report, this virtual view of the data is called a refined event. For more information, see Create and modify events.

  • You can export events and refined events to external storage.
  • The exports are a forward data stream. You can't refill the stream.
  • Exports have fixed schemas. If you add custom properties to an event, they won't be included. You'll need to create a new export.

Prerequisites

Before setting up an export, you need to have access and an active subscription to the Azure portal. You'll need the storage account information during the export process.

Create an Azure Data Lake Storage Gen 2 accounts

  1. Sign in to the Azure portal and create a new storage account.

  2. Make sure that you enable Hierarchical namespace on the Advanced tab.

    Enable hierarchical namespace on the advanced tab.

  3. Once it has been deployed, go to the newly created storage account. In the navigation pane, select Settings > Access keys.

  4. Copy the Account name and Key to use them when creating a new export. Access keys in a storage account.

Export events

There are two ways to bring up the Export events dialog:

  • Go to Data > Exports and select New export.
  • Go to Data > Events, select More [...] next to the event you want to export and select Export from the dropdown menu.

Create a new export.

You're guided through the steps to create an export:

  1. Provide an Export name, and then select Next.

  2. In the Events selection dropdown list, choose the base events and refined events to include in the export.

  3. In the File structure section, select the cadence (hourly or daily) to create new files in the destination storage, and then select Next. Events are exported continuously as they arrive.

  4. In the Choose format dialog, select the format for your export. Choose between Common Data Model, CSV, and JSON formats. To use the export with other Dynamics 365 applications, we recommend the Common Data Model format.

  5. In the Choose destination dialog, specify the Azure Data Lake Storage Gen 2 location.

    1. ADLS Gen 2 account name is the name of the storage account you want to save the export to.
    2. Folder path defines where the export should be stored in the file system and directory structure of the storage account.
    3. Shared key is available from the Azure portal for the storage account.
  6. Review and confirm your selections to finish.

View and manage exports

Once you've set up an export, go to Data > Exports to view it. Select More [...] for any existing export to edit or delete it.