---
schema_version: "1"
id: db993910f93dd728d40699438742b08a9c3f08146241d318cdf2fd295cf50f0d
title: Configure Azure Active Directory Authentication for MS SQL Server using the Database Connector
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/db-connector/1.15/database-connector-integratedsecurity.md
canonical_url: https://docs.mulesoft.com/db-connector/1.15/database-connector-integratedsecurity
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 0532e2427dc766deca7ffe57a847c3f62b5286426ba10e59fa60f188f180148b
description: MuleSoft Documentation Site
release: "1.15"
latest: false
---
---
product: Database Connector
version: 1.15
---

# Configure Azure Active Directory Authentication for MS SQL Server using the Database Connector

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Connector for Database (Database Connector) enables you to configure Azure Active Directory
Authentication for MS SQL Server by setting the `IntegratedSecurity` value in the connection
configuration. The following example shows how to configure this value in Anypoint Studio:

1.  In Studio, navigate to the **Global Elements** tab.

2.  Click **Create**.

3.  In the filter box, search `database`.

4.  Select **Database Config**.

5.  Click **OK**.

6.  In the **Database Config** window, for **Connection**, select **MS SQL Server Connection**.

7.  In the **Advanced** tab, set **Connection properties** to **Edit inline**.

8.  Click the green plus sign.

9.  Set **Key** to `Integratedsecurity`.

10. Set **Value** to `true`.

11. Click **Finish**.

12. Complete the remaining connection settings for the database.

13. Click **OK**.

![Integratedsecurity key configuration in Anypoint Studio](/mulesoft/current/en-us/db-connector/1.15/_images/database-connector-integrated.png)

In the **Configuration XML** editor, the `key="integratedsecurity` configuration looks like this:

```xml
<db:config name="Database_Config1" doc:name="Database Config" >
		<db:my-sql-connection >
			<db:connection-properties >
				<db:connection-property key="integratedsecurity" value="true" />
			</db:connection-properties>
		</db:my-sql-connection>
	</db:config>
```

## See Also

- [Database Connector Reference](https://docs.mulesoft.com/db-connector/1.15/database-documentation)

- [Salesforce Help](https://help.salesforce.com)
