You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

EPM Integration Agent: Connect to Azure DB using Active Directory authentication - Groovy script

Summary:

Using EPM Agent Groovy script (BefExtract) to connect to Azure DB using Active Directory authentication

Content (required):

I can connect to a Azure DB with AD auth in Java (maven) but dont know how to code or import the dependencies in a Groovy script. I want to run in EPM Agent (BefExtract) script to make the connection as EPM agent doesnt support AD authentication yet.

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

This is the code in Java

package MavenProject;


import java.sql.*;

import com.microsoft.sqlserver.jdbc.SQLServerDataSource;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!