Create an FME Flow Azure Entra ID (Active Directory) Web Connection in FME Form

Richard Mosley
Richard Mosley
  • Updated

Introduction

To create an FME Flow web connection in FME Form that uses Azure Entra ID, the FME Flow Administrator must first create a web service to share among FME Form users. FME Flow web connections can publish workspaces and transformers in FME Flow. The Microsoft Azure Active Directory web service template is generic and must be updated to allow an Azure Entra ID connection in an FME Flow Web Connection from FME Form.

Before following these steps, complete the steps in Configure FME Flow for Azure Active Directory.

 

Step-by-Step Instructions

Part 1: Create a Registered App

1. Add a New Registration

From the Azure Entra ID portal, select Manage > App registrations > + New Registration, and complete the following fields:

  • Name: <Provide a name for the registration, such as FME Form>
  • Supported Account Types: <Specify whether to allow FME Flow to interact with a single Entra ID tenant or multiple Entra ID tenants>
    • We recommend setting up a single-tenant App Registration so only users from your tenant can sign in.
  • Redirect URI:
    • Type: Public native/client (mobile & desktop)
    • URI: 
      • For Proxy Redirect (Safe Software): https://fmeauth.safe.com/v1/oauth2
      • For Loopback Interface: http://localhost

If you're on a version older than FME 2025.2, please use either: http://localhost or https://localhost. Then ensure the Redirect URI in the FME Form Web Service matches the URI in this Azure App Registration (in Part 2- Step 3 below).

FME 2025.2+ uses External Browser Authentication, which introduced the static redirect strategy options mentioned above (Proxy Redirect or Loopback Strategy). For more information, see the article: External Browser Authentication in FME Form

 

2. Register

Click Register.

 

3. Record ID

An overview page of the application registration opens. Navigate to Overview > Essentials, and record the Application (client) ID and Directory (tenant) ID.

 

4. Grant Admin Consent

Navigate to API permissions and confirm a Microsoft Graph User permission is listed.Read Delegated permission for the app. 

Grant admin consent to User. Read for the Entra ID tenant name.

 

Part 2: Create a Web Service

1. Manage Services

In FME Workbench, go to FME Options → Web Connections → Manage Services (On Mac: Preferences → Web Connections → Manage Services)

 

2. Create From Template

Click on the '+' button, then Create From → Microsoft Azure Active Directory (Template)

 

3. Configure Web Service

Give the web service a name and configure it: 

  • Client ID: <The Client ID from your app registration>
  • Client Secret: <Leave empty> 
    • Optional Box : Enabled
  • Redirect Strategy: <The strategy/URI that matches your Azure App registration, set as Proxy Redirect or Loopback Interface Redirect>
  • Authorization Parameters URL: https://login.microsoftonline.com/<TenantID>/oauth2/v2.0/authorize?response_type=code&scope=offline_access https://graph.microsoft.com/User.Read
    • If you configured a single-tenant app in Azure, replace <TenantID> with your Tenant ID and update the scope to the permissions you created in Part 1. If you registered a multi-tenant app in Azure, use the Common instead of the Tenant ID.
    • Optional: Additional scopes can be added if required by your organization, but they are generally not necessary. Separate each with a space. See Microsoft's documentation on scopes and permissions.
  • Retrieve Token Parameters URL: https://login.microsoftonline.com/<TenantID>/oauth2/v2.0/token
    • Replace <TenantID> with your Tenant ID
  • Refresh Token Parameters URL: https://login.microsoftonline.com/<TenantID>/oauth2/v2.0/token
    • Replace <TenantID> with your Tenant ID

In FME Form 2026.3 and later, the scope query string parameter is in the Request Format field for Retrieve Token Parameters and Refresh Token Parameters, not in the URL.

 

4. Apply and Test

Click Apply. Test the web service using a non-admin user's Azure Entra ID credentials. When the test succeeds, proceed to part three.

 

Part 3: Create a Web Connection

1. Access Web Connections

In FME Workbench, go to FME Options → Web Connections (On Mac: Preferences → Web Connections)

 

2. Create the Connection

Click on the '+' button and create the connection:

  • Web Service: FME Flow
  • Connection Name: <Name the connection>
  • FME Flow URL:  https://<HOSTNAME>:<PORT>
  • Authentication: Azure AD
  • Azure AD Connection: Add Web Connection
    • Use the web service information created in Part 2 to fill out the configuration dialog
    • Select your Azure Entra ID/Active Directory account (Make sure the account has been imported into FME Flow first)

 

3. Test the Connection

Test the connection by publishing a workspace to FME Flow, or use it in one of the FME Flow Transformers.

 

Part 4: Share the Web Service

To let other FME Form users create an Azure Active Directory Web Connection to an FME Flow, the Administrator must share the Web Service by exporting it; users can then import it into their application.

 

Export the Web Service

1. Manage Services

In FME Workbench, go to FME Options → Web Connections → Manage Web Services (On Mac: Preferences → Web Connections → Manage Services)

 

2. Export Web Service

Select the service created in part 2, scroll to the bottom, and click Export. Choose a location to save the file. Enable password protection to encrypt the file and keep it secure.

 

Import the Web Service

1. Manage Web Services

In FME Workbench, go to FME Options → Web Connections → Manage Web Services.

 

2. Import From File

Click on the + sign → Import From File.

 

3. Set Password

Select the file provided by your administrator and specify the password.

 

4. Create Web Connection

You can now follow Part 3 to create a web connection.

Was this article helpful?

We're sorry to hear that.

Please tell us why.