1. Home
  2. Validating via Microsoft Entra

Validating via Microsoft Entra


This tech blog post will discuss how m-Power customers using a SQL Server datasource may authenticate via Microsoft Entra, formally known as Azure Active Directory (AAD).

Traditionally, the datasource connection is made via SQL Authentication, however if wanting to use Microsoft Entra instead when connecting to SQL Server, this post will pertain to you.

To utilize Microsoft Entra authentication, your m-Power environment must be using Java 11. More information on how to use Java 11 in m-Power can be found here.


  1. Download the necessary JAR files from here.
  2. Extract the jars from the zip file and place all of them in …/m-power/tomcat/lib
  3. Edit the /mrcjava mrc-spring-context.xml file in Admin -> Datasources -> Runtime Datasources.
  4. Create a new datasource for SQL Server. The URL will need to look similar to this:
    Please change the appropriate values, such as the port number, database name, and any other details as needed.
  5. Set the username and password appropriately.
  6. Make sure your dictionary’s Datasource Connector property is pointing to this new datasource bean.
  7. Restart Tomcat.
  8. Verify the runtime application can successfully connect to your SQL Server.
Updated on March 14, 2024

Was this article helpful?

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!