Register an application in Azure Active Directory
- Go to https://portal.azure.com/ and log in to your Microsoft Azure account.
- Go to the Azure Active Directory > Enterprise applications section.
-
In the Add an application window, go to the Non-gallery application section and specify a name for the new application. If several tenants are used, create a separate application for each.

- Go to the Users and groups section and add all required users. Give them the User role.
-
Go to the Single sign-on subsection and select SAML.

-
Edit the Basic SAML Configuration section. In the Identifier (Entity ID) and Reply URL (Assertion Consumer Service URL) fields, enter
https://<app-server-dns-name>/FlexiCapture12/Login/AccessToken/Saml, and leave the rest of the fields blank.When setting up a tenant, specify the URLs in this format:https://<app-server-dns-name>/FlexiCapture12/Login/<TenantName>/AccessToken/Saml
- In the SAML Signing Certificate section, download your public certificate in Base64 format by clicking the link next to Certificate (Base64).
- From the Login URL field in the Set up [application name] section, copy the URL for accessing the server of the external identity provider.
Configure ABBYY FlexiCapture
To set up the required parameters in ABBYY FlexiCapture, run a PowerShell script:- Obtain the
SetIdentityProvider.ps1script. - On the machine where ABBYY FlexiCapture is installed, open the Windows PowerShell console as an administrator.
- Run the script with the path to the script and the required parameters. For example:
/url— The path to the Application Server. Example:'https://localhost'./certFilePath— The path to the public certificate. Example:'C:\Temp\AzureAD_FC_integration.cer'./pictureFilePath— The path to the image used for the new button (.svg,.jpg, and.pngformats are supported). Example:'C:\Temp\index.svg'./tenant— The tenant for which the parameters are set. Example:'TenantName'. Specify this only if multiple tenants are used./providerName— The external identity provider. Example:'Azure AD'. The login button will then read Log in with Azure AD./Reference— The URL for accessing the external identity provider. Example:'https://login.microsoftonline.com/123e4567-e89b-12d3-a456-426655440000/saml2'.
For more technical details about the SAML authentication requests and responses that Azure Active Directory supports for Single Sign-On, see this article on Microsoft.com.
