|
| 1 | +--- |
| 2 | +title: Migrate to SQL server-targeted Azure Monitoring Agent's autoprovisioning process |
| 3 | +description: Learn how to enable SQL server-targeted Azure Monitoring Agent's autoprovisioning process for Defender for SQL. |
| 4 | +ms.topic: install-set-up-deploy |
| 5 | +ms.author: dacurwin |
| 6 | +author: dcurwin |
| 7 | +ms.date: 09/21/2023 |
| 8 | +--- |
| 9 | + |
| 10 | +# Migrate to SQL server-targeted Azure Monitoring Agent's (AMA) autoprovisioning process (Preview) |
| 11 | + |
| 12 | +Microsoft Monitoring Agent (MMA) is being deprecated in August 2024. As a result, a new SQL server-targeted Azure Monitoring Agent (AMA) autoprovisioning process is being released in preview. You can learn more about the [Defender for SQL Server on machines Log Analytics Agent's deprecation plan](upcoming-changes.md#defender-for-sql-server-on-machines). |
| 13 | + |
| 14 | +During the preview, customers who are using the current autoprovisioning process with Azure Monitor Agent (Preview) option, should migrate to the new Azure Monitoring Agent for SQL server on machines (Preview) autoprovisioning process. The migration process is seamless and provides continuous protection for all machines. |
| 15 | + |
| 16 | +## Migrate to the SQL server-targeted AMA autoprovisioning process |
| 17 | + |
| 18 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 19 | + |
| 20 | +1. Search for and select **Microsoft Defender for Cloud**. |
| 21 | + |
| 22 | +1. In the Defender for Cloud menu, select **Environment settings**. |
| 23 | + |
| 24 | +1. Select the relevant subscription. |
| 25 | + |
| 26 | +1. Under the Databases plan, select **Action required**. |
| 27 | + |
| 28 | + :::image type="content" source="media/defender-sql-autoprovisioning/action-required.png" alt-text="Screenshot that shows where the option to select action required is on the Defender plans page." lightbox="media/defender-sql-autoprovisioning/action-required.png"::: |
| 29 | + |
| 30 | + > [!NOTE] |
| 31 | + > If you do not see the action required button, under the Databases plan select **Settings** and then toggle the Azure Monitoring Agent for SQL server on machines (Preview) option to **On**. Then select **Continue** > **Save**. |
| 32 | +
|
| 33 | +1. In the pop-up window, select **Enable**. |
| 34 | + |
| 35 | + :::image type="content" source="media/defender-sql-autoprovisioning/update-sql.png" alt-text="Screenshot that shows you where to select the Azure Monitor Agent on the screen." lightbox="media/defender-sql-autoprovisioning/update-sql.png"::: |
| 36 | + |
| 37 | +1. Select **Save**. |
| 38 | + |
| 39 | +Once the SQL server-targeted AMA autoprovisioning process has been enabled, you should disable the Log Analytics agent/Azure Monitor agent autoprovisioning process. |
| 40 | + |
| 41 | +> [!NOTE] |
| 42 | +> If you have the Defender for Server plan enabled, you will need to [review the Defender for Servers Log Analytics deprecation plan](upcoming-changes.md#defender-for-servers) for Log Analytics agent/Azure Monitor agent dependency before disabling the process. |
| 43 | +
|
| 44 | +## Disable the Log Analytics agent/Azure Monitor agent |
| 45 | + |
| 46 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 47 | + |
| 48 | +1. Search for and select **Microsoft Defender for Cloud**. |
| 49 | + |
| 50 | +1. In the Defender for Cloud menu, select **Environment settings**. |
| 51 | + |
| 52 | +1. Select the relevant subscription. |
| 53 | + |
| 54 | +1. Under the Database plan, select **Settings**. |
| 55 | + |
| 56 | +1. Toggle the Log Analytics agent/Azure Monitor agent to **Off**. |
| 57 | + |
| 58 | + :::image type="content" source="media/defender-sql-autoprovisioning/toggle-to-off.png" alt-text="Screenshot that shows where the toggle is for the log analytics agent and the Azure monitor agent toggled to off." lightbox="media/defender-sql-autoprovisioning/toggle-to-off.png"::: |
| 59 | + |
| 60 | +1. Select **Continue**. |
| 61 | + |
| 62 | +1. Select **Save**. |
| 63 | + |
| 64 | +## Next steps |
| 65 | + |
| 66 | +For related information, see these resources: |
| 67 | +- [How Microsoft Defender for Azure SQL can protect SQL servers anywhere](https://www.youtube.com/watch?v=V7RdB6RSVpc). |
| 68 | +- [Security alerts for SQL Database and Azure Synapse Analytics](alerts-reference.md#alerts-sql-db-and-warehouse) |
| 69 | +- [Set up email notifications for security alerts](configure-email-notifications.md) |
| 70 | +- [Learn more about Microsoft Sentinel](../sentinel/index.yml) |
| 71 | +- Check out [common questions](faq-defender-for-databases.yml) about Defender for Databases. |
0 commit comments