Table of Contents

Connecting to Traditional Databases

fSeries connects to traditional databases using ODBC or OLE. This includes connecting to sources such as Microsoft Access or Excel, using the Access Database Engine. Note that your database needs to be able to be reached from the fSeries sever location.

To create a new database connection, provide an alias, name, specify the connection type (ODBC or OLE), and add a connection string. A button is provided to allow you to choose from a number of examples, where all you need to do is provide the server location, database name, user ID and password. By default, all information is encrypted and held within the fSeries database, but on local installations of fSeries you can elect to contain the information in Environment Variables, or within the appsettings.json file.

We recommend making use of online resources such as connectionstrings.com to assist you in building connection strings to your data sources.

Finally, you can select the dialect of the database you are talking to, such as SQL Server, Oracle, Excel, and more.

Use the Test button as this helps confirm connectivity and displays any connection issues.


Connecting to an API

fSeries can connect to external REST/HTTP APIs as well as other fSeries API endpoints. Note that the API endpoint needs to be reachable from the fSeries server location (taking into account any outbound firewall, proxy, or network rules).

The Process

Tips & Troubleshooting


Connecting to Fabric

fSeries connects to Fabric via the TDS protocol, like a standard ODBC to SQL database. Therefore, within fSeries you would set up a standard “Connection” type Data Source, using an ODBC connection string to your Fabric instance.

The Process

Gaining your Fabric client secret


Connecting to Dataverse / Dynamics

fSeries connects to Dataverse through one of two authentication methods - by configuring OAuth, or by using a Client Secret. Microsoft recommends using a Client Secret, which we will discuss here. This process involves creating an App Registration in Azure under Active Directory, and then adding an fSeries Application User to Dataverse.

Once configured, you can enter a connection string into a Dataverse/Dynamics type fSeries Data Source, and pull information from your source.

Creating an Azure App Registration

  1. Click “New Registration”
  2. Enter a suitable name, such as “fSeries”
  3. The supported account type should be “Accounts in any organisational directory (Any Azure AD directory - Multitenant)”
  4. The Redirect URI is not needed, so click the Register button and copy the Application (client) ID into a notepad to keep it for later.
  5. Within your new registration, head to “Certificates & secrets” > Client secrets tab > “New client secret”
  6. Enter an optional description and set the expiry date for the secret. This date can be any time in the future.
  7. Once the secret has been created, immediately copy the client secret Value key into notepad. It will not be shown again so ensure it is copied safely.
  8. From the menu on the left, select “API Permissions” then “Add a permission”
  9. Select your Dataverse source or “Dynamics CRM”
  10. Within “Permissions” tick the “user_impersonation” option and then the “Add permissions” button.

Adding the fSeries Application User to Power Platform

  1. Open the Power Platform Admin Center as a System Administrator at https://admin.powerplatform.microsoft.com/environments/
  2. Select your Dataverse/Dynamics environment and then the “Settings” button from the top of the screen
  3. Under “Users + permissions”, click “Application Users”
  4. Click “New app user”
  5. Click “Add an app”
  6. Select the App Registration that you created earlier, such as “fSeries”
  7. Select the Business Unit to add the app user to
  8. Select the Security roles to assign the user once created, for example System Administrator
  9. Click Create. You should notice the App ID is the same Application (client) ID created earlier

Adding the Connection String to fSeries

Now that the App Registration and User has been created, you are ready to connect from fSeries.

Within your Dataverse Data Source in fSeries, enter your connection string, which should be as follows:

AuthType=ClientSecret;url=https://yourserver.crm.dynamics.com;ClientId=YourClientId;ClientSecret=YourClientSecret

Enter the connection string as above, substituting the Url, ClientId and ClientSecret accordingly, and use the Test button to test your connection.