--- title: "AzureSQL" slug: "azuresql" updated: 2026-04-15T15:46:15Z published: 2026-04-15T15:46:15Z canonical: "docs.databee.buzz/azuresql" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.databee.buzz/llms.txt > Use this file to discover all available pages before exploring further. # AzureSQL With Azure SQL Database, you can create a highly available and high-performance data storage layer for the applications and solutions in Azure. For more information on Azure SQL, click [here.](https://learn.microsoft.com/en-us/azure/azure-sql/database/sql-database-paas-overview?view=azuresql) **Integration Method:** API **Tables**: Account Change (3001), Authentication (3002), Entity Management (3004), User Access Management (3005), Datastore Activity (6005) This integration supports the following events. | **Event** | **Description** | | --- | --- | | Audit Logs | Provides all the audit level details like authentication information, changes in account/administration, queries that are being executed. | This integration supports the following versions. | Azure SQL API Version | V1 | | --- | --- | > [!NOTE] > **Note:** > > Azure SQL is a continuously updated service. As for this document preparation, the latest release was in November 2025. More information can be found [here](https://learn.microsoft.com/en-us/azure/azure-sql/database/doc-changes-updates-release-notes-whats-new?view=azuresql). ## Prerequisites - The user should have access to the [Azure portal](https://portal.azure.com/) with an account that has the Global Administrator privileges. - The user should have access to the DataBee console. ## Configuration Overview 1. Configure an [application](/docs/azuresql#application_heading). 2. Configure [Log analytics](/docs/azuresql#log_analytics_config) with the required permissions. 3. Configure the Azure SQL [database](/docs/azuresql#database_config) to send logs to log analytics workspace. 4. Configure [Azure SQL feed](/user-manual/docs/azuresql#databee-configuration) in DataBee Console with the required client credentials. | **DataBee Parameter** | **Azure Parameter** | | --- | --- | | Client Key | Application (client ID) | | Client Secret | Client [secret](/docs/azuresql#client_secret) Value | | Token URL() | [Directory (Tenant) ID](/docs/azuresql#Client_tenant_id) | | Workspace ID (workspaceId) | [Workspace ID](/docs/azuresql#workspace_id) | ## Azure Configuration ### Create an application 1. Log on to [Azure portal](https://portal.azure.com/) with an account that has the Global Administrator privileges. In the search bar, search for **App registrations** and select it. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-p9r1mqxu.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=15h2ZAPQmyBbeuLKt3P%2Fyr8DTNdaoSxmmzrjPW6J9MY%3D) 2. In the “App registrations” page, click **New registration**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-u5k0mvuv.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=uvbMXuF9PdI4Q%2BgcKmdQN7nDrOUDGirsjafYoGl%2BwmI%3D) 3. Enter a name for the application and click **Register**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-g6r54mbi.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=l6RtiG7CJhLaD2Le9z%2Fz%2BeiYA5R1GLnWO2OMqHqjyvw%3D) 4. In the **Overview** page, copy the **Application (client) ID** and **Directory (tenant) ID** for later use. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-v3ccc26i.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=0iF5STKuXAsl%2B2nTVFQ9l8bT9TpHGMieFp%2FEgTMyuVk%3D) 5. Click **Manage** and click **Certificates & secrets** then click **New client secret**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-qxoc82n3.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=8esjeRY7AhnH4EsM6Z5md%2BWEEnm%2BggFfuXEpItzYif4%3D) 6. Enter a ‘Description’ for this client secret and select the desired expiry period from the ‘Expires’ drop-list. Click **Add**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-1yfrgev7.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=MmljSU1fCxcy0EB4w0ZO3u1tkj52qHkJLkDcSknsD2Q%3D) > [!NOTE] > **Note**: > > The user needs to re-create the client secret when it expires. 7. Copy the **Value** fields for later use. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-0sz198a9.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=CBvVRC5Oh00K%2Fqsxd2rJ5M6EUk8%2BX739pj5iEtwI6IU%3D) ### Log Analytics Configuration 1. In the search bar, check for **Log Analytics workspaces** and select it. ![A screenshot of a computer AI-generated content may be incorrect.](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-roffynq6.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=r%2BLInHmJ4P7VfnpBkCq2W6hb0wDonVnDt2ofUsChGOg%3D) 2. In the “Log Analytics workspaces” page, click on **Create**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-oqmqvhln.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=qMtK%2BB084cQfwwDuTnbkUlLt1OjbcucnI%2FQM3nq4aFA%3D) 3. In the “Create Log Analytics workspace” page: 1. Select the preferred **Subscription** from the dropdown list. 2. Select the preferred **Resource group** from the dropdown list. 3. Give a **Name** for the workspace. 4. Select the preferred **Region** from the dropdown list. 4. Click on **Review + Create**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-vod4xuff.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=rMALqctxuJuSxocmLEPDLAbRYmk3jCntzXQQmXvnCv8%3D) 5. In the **Overview** page, copy the **Workspace ID** and save it for future use. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-ubhcws6b.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=U1ur20N1Ew9n0gp3x8zrL%2FskPKhzWOISrKGe9xRImaI%3D) 6. Click on **Access control (IAM)** then click **Add** and click **Add role assignment**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-lubjuo8b.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=pN94wPJLLtEfiaQBwUuez6LgYe71d6cJBl9E1Nj5NDA%3D) 7. In the “Add role assignment” page, in the **Role** tab, search for the **Reader** role, select and click **Next**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-7ly0se6n.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=vGEqyrdEwhkGTyf7WdNCmvcYxb61iiTfEFIY99uC8RA%3D) 8. In the **Members** page, 1. For **Assign access to**, click on **User, group or service principal** radio button. 2. Click **Select members**. 3. Search for the application we created earlier and click **Select**. 9. Click **Next**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-7xd6s6j0.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=HmRj10JsbsFTFs36SNIs3SjHdPVEitOpZLa%2BQ038VcQ%3D) 10. Click on **Review + assign**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-myk568db.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=NvjSbghSlCB2ZPwbtW%2B3akUEWoUgbhz1ykCZy4uEIjM%3D) ### Database Configuration 1. In the search bar, check for **Azure SQL Database** and select it. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-26c66f2b.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=WOiTT13mTEUBaVwphVbPvKKeyjTtFcVCWAzGmPzjv7E%3D) 2. Select the required database for which log analytics needs to be configured. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-f43awq3o.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=AwXQRXscGsnfladTw%2BeVQSb6kct8dracSXmvHueTPps%3D) 3. In the left navigation pane, click **Monitoring** then click **Diagnostic settings**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-vwvwfb0c.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=%2BawR8UgluUcc9%2B8dOj62%2Fgc1FxOicxxtGwuHzcSxVco%3D) 4. In the “Diagnostic settings” page, click **Add diagnostic setting**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-ku7do5bb.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=AiEjV0XZy7JL%2F%2FUGjOP0uwkv8bounDUe%2BTd53sSmElI%3D) 5. Click on the check box of **SQL Security Audit Event**. 6. Click on the check box of **Send to Log Analytics workspace**. 7. Select the Subscription, Log Analytics workspace from the dropdown and click **Save**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-5ssck0g5.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=dl5x2Poh%2Fa1KuWjUeQlVuJG3zRyvPmHMcWN3%2Bc4UCpQ%3D) ## DataBee Configuration 1. Login to the DataBee UI, navigate to **Data** > **Data Feeds** and click the **Add New Data Feed** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-6gl7vy5h.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=APD5nKNabptkmajNdJeeoIwurM6yLRoQvY1xfY8aXgg%3D) 2. Search for the **Azure SQL** and click it as shown below. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-aeebon25.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=igPZggnkxkz1%2Bg6GHFFaO6986x3Dlc4p1czqdsGWClM%3D) 3. Click on the **API Ingest** for collection method. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-c6de2256.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=qgOKu9mSNSiKAAjf8haui0YhFi4xouM%2BDC%2Bumqq0gBY%3D) 4. Enter feed contact information then scroll down. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-s8ilnwa0.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=mypfKeuzn3T76NT%2FsvVjtt7H7v2QXzujODwjxyJkTHE%3D) 5. In the configuration page, confirm the following: ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/azuresql-image-cozbeb01.png?sv=2026-02-06&spr=https&st=2026-11-16T13%3A08%3A57Z&se=2026-11-16T14%3A08%3A57Z&sr=b&sp=r&sig=78%2BvMMMDe3XKO0DPDZ32FEy%2FPW%2BmcMlgvNS9aw98z30%3D) - **Authorization Method:** OAuth2 - **Client Key:** Paste the Application (Client) ID generated previously - **Client Secret:** Paste the [Client Secret](/docs/azuresql#client_secret) generated previously - **Token URL**: Replace placeholder with your Directory (Tenant) ID. - **Workspace ID:** Paste the [Workspace ID](/docs/azuresql#workspace_id) noted earlier - **Event Types**: Preselected for all the event types that integration pulls. 6. Click **Submit**. ## Troubleshooting Tips - If you encounter any issues regarding log forwarding, refer to the [DataBee troubleshooting article](https://docs.databee.buzz/docs/troubleshooting) for detailed guidance.