# Exported data set administration (IRPCExportedDataSetsAdmin)

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/

Manages the vault's exported data sets: the definitions of the vault data that M-Files Reporting
Data Services exports to a reporting database.

MFAdmin uses this interface to manage the data set configuration.

- **gRPC service:** `MFiles.IRPCExportedDataSetsAdmin`
- **Book and level:** [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md), specialized
- **Methods:** 9
- **Proto file:** [`mfiles/IRPCExportedDataSetsAdmin.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/IRPCExportedDataSetsAdmin.proto)

<a id="overview"></a>

## Overview

M-Files Admin uses this service for the reporting and data export settings of a vault. An
exported data set ([ExportedDataSetAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataSetAdmin/index.md)) names the object
types, properties and filters to export, a schedule, and the OLE DB connection string of the
target database. M-Files Reporting Data Services runs the exports; this service only stores the
definitions, requests runs, and reads their status.

- **Definitions**: [GetExportedDataSetsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetExportedDataSetsAdmin/index.md),
  [AddNewExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/AddNewExportedDataSet/index.md),
  [ModifyExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/ModifyExportedDataSet/index.md),
  [RemoveExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/RemoveExportedDataSet/index.md).
- **Runs**: [TriggerExportedDataSetExecution](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/TriggerExportedDataSetExecution/index.md),
  [CancelExportedDataSetExecution](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/CancelExportedDataSetExecution/index.md),
  [GetExportedDataSetExecutionStatus](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetExportedDataSetExecutionStatus/index.md).
- **Report access account**:
  [GetReportAccessCredentialsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetReportAccessCredentialsAdmin/index.md),
  [SetReportAccessCredentials](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/SetReportAccessCredentials/index.md).

**Rights.** All methods need a vault session and a server license that includes the reporting
module ("This operation requires the reporting module." otherwise), except that
[GetExportedDataSetsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetExportedDataSetsAdmin/index.md)
returns an empty list without it. Most methods need the vault right `see_all_objects`. The
connection string makes the server connect to a data source with its own service account, so
setting a new one needs the server right `run_code`, which a vault administrator normally does
not have (see [AddNewExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/AddNewExportedDataSet/index.md)).
Users without administrator rights can request a run with
[TriggerExportedDataSetRefresh](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/TriggerExportedDataSetRefresh/index.md)
if they have the vault right `trigger_data_export`.

<a id="methods"></a>

## Methods

| Method | Summary | Facts |
|---|---|---|
| [AddNewExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/AddNewExportedDataSet/index.md) | Adds an exported data set. | `admin` `session` |
| [CancelExportedDataSetExecution](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/CancelExportedDataSetExecution/index.md) | Requests that a running export of an exported data set stops. | `admin` `session` `idempotent` |
| [GetExportedDataSetExecutionStatus](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetExportedDataSetExecutionStatus/index.md) | Gets the progress and status of the latest export run of an exported data set. | `admin` `session` `idempotent` |
| [GetExportedDataSetsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetExportedDataSetsAdmin/index.md) | Gets all exported data sets of the vault. | `admin` `session` `idempotent` |
| [GetReportAccessCredentialsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetReportAccessCredentialsAdmin/index.md) | Gets the account that is used to access reports generated from the exported data. | `admin` `session` `idempotent` |
| [ModifyExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/ModifyExportedDataSet/index.md) | Replaces the definition of an exported data set. | `admin` `session` `idempotent` |
| [RemoveExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/RemoveExportedDataSet/index.md) | Removes an exported data set. | `admin` `session` |
| [SetReportAccessCredentials](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/SetReportAccessCredentials/index.md) | Sets the account that is used to access reports generated from the exported data. | `admin` `session` `idempotent` |
| [TriggerExportedDataSetExecution](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/TriggerExportedDataSetExecution/index.md) | Requests an immediate export run of an exported data set. | `admin` `session` `idempotent` |
