File Mover Blog

  • 14 Mar

    Office 365 SMTP OAuth2 Client Credentials Authentication with Certificate

    Office 365 SMTP OAuth2 Client Credentials Authentication with Certificate Authentication

    For use with Limagito File Mover requiring app-only SMTP access

    We recently added SMTP authentication using a private key file to our ‘SMTP as destination’ option. We did this already with Azure and Sharepoint.

    • Destination Setup > Add <SMTP>

    limagito file mover smtp as destination

    • Be sure to use Vendor 2 – CK

    limagito filemover smtp as destination setup

    • Email setup:

    limagito filemover smtp email setup

    • OAuth2 Setup:
      • If you prefer to use a Client Secret instead of a Certificate then you need to add it here
      • We left the Client Secret blanc because we are going to use a Certificate

    limagito file mover smtp oauth2 setup

    limagito file mover smtp authentication options

    – Some Azure Screenshots used in the previous document:

    limagito filemover azure setup

     

    • Azure App registrations:
      • Add a new registration here

    limagito filemover azure app registrations

    • Application (client) ID and Directory (tenant) ID will be needed in the SMTP OAuth2 setup.

    limagito filemover app registrations

    • Azure App registrations > Certificates & secrets
      • We used a Certificate but also a Client secret is possible, this is up to you.

    limagito filemover azure certificates and secrets

    • Azure App registrations > API permissions

    limagito filemover azure API permissions

    • Enterprise applications
      • Your App registration will be available under ‘Enterprise applications’
      • Application ID and Object ID will be used in the PowerShell commands of the Setup Guide.

    limagito filemover azure enterprise applications

    • Exchange admin center > Recipients > Mailboxes
      • After using the PowerShell commands you should see
        • Send as (1)
        • Read and manage (Full Access) (1)
      • They both should contain a reference to the App registration used

    limagito filemover azure exchange admin center

    limagito filemover exchange admin center

    limagito filemover exchange admin center

    • RunTime Log Result:

    limagito filemover smtp runtime log result

     

    If you need any help with this ‘SMTP OAuth2 Client Credentials Authentication’ setup, please let us know.

    Best Regards,

    Limagito Team

    #smtp #filemover #managedfiletransfer #filetransfer #filemanagement

  • 22 Feb

    How to use global events in limagito filemover

    Most requested feature: ‘Global Events’ — available in version v2026.2.22.0

    This is especially useful when multiple rules share the same event configuration — change it once and all rules are updated automatically. It took us more time the expected but finally it is available. It is a first release so there can be hiccups, please let us know. We’ll fix them asap.

    • Setup your ‘Global Events’ using the menu item under ‘Global’:

    limagito filemover global events option

    • <Add> a new ‘Global Event’, give it a valid description and enable it.

    limagito filemover global events setup

    • Do your usual setup like you did with the Rule Events. When you are done click <Close>.

    limagito filemover global events setup

    • Open the Rule(s) where you want to use the new ‘Global Setup’.

    limagito filemover rule events option

    • Select ‘Global Event’ as Event Type and select the event you want to use. In this example we selected the previously created ‘Global event 1’.

    limagito filemover rule events setup

    If you need any help with this new option, please let us know.

    Best Regards,

    Limagito Team

    #filemover #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Events How-to ,
  • 21 Feb

    The target principal name is incorrect

    The target principal name is incorrect

    Q: I was trying to connect to the DB called ‘XYZ’ and I tried different things with AI’s help. But I must have broken something that Limagito seems not logging new history to the DB.  And when I tried to connect to the DB from one rule, I get this message.

    limagito file mover target principal name is incorrect

    Can you help to reestablish the connection to the DB again please?

    A: The reason: ODBC 18 was installed on the system where Limagito was running. ODBC Driver 18 enforces encryption by default.

    Because this customer is really heavy into AI we added a new ‘DB Connection Parameters’ option so he can try different settings (under the Advanced Tab).

    • SQL, DB Connection Parameters option (v2026.2.19.0) [+]

    In his case he had to Add Encrypt=No to disable encryption again which he was using before he installed ODBC 18.

    limagito filemover dblogging encrypt=no

    We added this new connection parameters option also to SQL as Source and Destination (Advanced Tab).

    Some extra information:

    Our (FireDAC) MSSQL driver internally uses a client library to connect to SQL Server. On modern Windows systems the available options are:

    • SQL Server Native Client 11.0 (sqlncli11.dll) — old, often no longer installed
    • MSOLEDBSQL (OLE DB Driver) — modern Microsoft OLE DB
    • ODBC Driver 17/18 for SQL Server — as fallback

    If FireDAC cannot find a Native Client or OLE DB driver, it automatically falls back to ODBC.

    Regarding the error message from the cutomer: this is a common SSL/TLS issue with the Microsoft ODBC Driver 18 for SQL Server. Driver 18 changed the default behavior — encryption is now ON by default, unlike Driver 17.
    The error “The target principal name is incorrect” means the SSL handshake fails because the server’s certificate doesn’t match the expected hostname.

    Quick fixes in your MSSQL connection, add one or both of these parameters to your connection:

    • Encrypt=no

    or if you want to keep encryption but skip certificate validation:

    • Encrypt=yes;TrustServerCertificate=yes

    With ODBC it will be like:

    • ODBCAdvanced=TrustServerCertificate=Yes;Encrypt=No

    The new parameters makes it possible to try different setting without creating a new build.

    If you need any help about this ‘target principal name is incorrect’ message, please let us know.

    Best Regards,

    Limagito Team

    #odbc #sql #managedfiletransfer #filetransfer #filemanagement

1 2 3 4 167
SEARCH