Skip to content

Commit 2b83083

Browse files
Merge pull request #36941 from MicrosoftDocs/main
Auto Publish – main to live - 2026-03-24 17:30 UTC
2 parents e51b3b8 + ad62d9d commit 2b83083

6 files changed

Lines changed: 94 additions & 29 deletions

File tree

azure-sql/managed-instance/auditing-configure.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to get started with Azure SQL Managed Instance auditing u
44
author: sravanisaluru
55
ms.author: srsaluru
66
ms.reviewer: vanto, randolphwest, mathoma
7-
ms.date: 08/27/2025
7+
ms.date: 03/20/2026
88
ms.service: azure-sql-managed-instance
99
ms.subservice: security
1010
ms.topic: how-to
@@ -19,7 +19,7 @@ f1_keywords:
1919

2020
[!INCLUDE [appliesto-sqlmi](../includes/appliesto-sqlmi.md)]
2121

22-
[Azure SQL Managed Instance](sql-managed-instance-paas-overview.md) auditing tracks database events and writes them to an audit log in your Azure storage account.
22+
This article teaches you to configure auditing for [Azure SQL Managed Instance](sql-managed-instance-paas-overview.md). Auditing tracks database events and writes them to an audit log in your Azure storage account.
2323

2424
Auditing also:
2525

@@ -304,6 +304,20 @@ The key differences in the `CREATE AUDIT` syntax for auditing to Azure Blob stor
304304
- Shutdown option is **not supported**.
305305
- `queue_delay` of 0 is **not supported**.
306306
307+
## Permissions
308+
309+
To set up auditing, you need database permissions within SQL managed instance, and you also need permissions to the Azure resources that are used for storing and accessing the audit logs.
310+
311+
To set up SQL managed instance auditing you need to following database permissions:
312+
313+
|Database permissions |Configure audit |View audit logs using T-SQL |
314+
|---------|---------|---------|
315+
|**VIEW DATABASE SECURITY AUDIT** |No|Yes|
316+
|**ALTER ANY DATABASE AUDIT** | Yes | No |
317+
|**CONTROL DATABASE** | Yes | Yes |
318+
319+
To configure auditing to Azure storage, you need the **Storage blob data contributor** role on the storage account or higher permissions. To configure auditing to Event Hubs or Log Analytics, you need the **Monitoring Contributor** role or higher permissions on the resource group where the Event Hub or Log Analytics workspace is provisioned.
320+
307321
## Next step
308322
309323
> [!div class="nextstepaction"]

azure-sql/managed-instance/frequently-asked-questions-faq.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@ sections:
135135
136136
- name: Free SQL Managed Instance offer
137137
questions:
138-
- question: What if I don't see the banner and "Apply Offer" button?
139-
answer: |
140-
It's possible your subscription isn't eligible for the [free SQL Managed Instance](free-offer.md#supportability). Otherwise, there's a limit of one free instance per subscription. You need to remove an existing free instance to create another one. If you recently deleted your free instance, it can take up to one hour for the free offer banner to reappear.
141-
142138
- question: Help! I'm no longer able to connect to my instance!
143139
answer: |
144140
It's likely you ran out of credits for the month. Go to your SQL managed instance in the Azure portal and check the state. See if your instance is in a stopped state due to insufficient credits.
@@ -149,23 +145,19 @@ sections:
149145
150146
- question: Can I restore a database to the free instance?
151147
answer: |
152-
Yes, you can restore an [automated backup](recovery-using-backups.md) from Azure storage, or you can [Restore a database backup by using SQL Server Management Studio (SSMS)](restore-sample-database-quickstart.md).
148+
Yes, you can restore [automated backups](recovery-using-backups.md) from other SQL managed instances, or you can [Restore an on-premises database backup by using SQL Server Management Studio (SSMS)](restore-sample-database-quickstart.md) or by running a `RESTORE DATABASE` command and targeting `.bak` files from Azure storage or S3 buckets.
153149
154150
- question: Does the free Azure SQL Managed Instance offer provide a production-quality instance?
155151
answer: |
156152
Despite the resource limitations, the free SQL Managed is designed to let you test your workloads without any impact. The performance you experience while using the free SQL Managed Instance is identical to the performance of a production version of the instance.
157153
158154
- question: Can I upgrade to a larger or more powerful instance?
159155
answer: |
160-
The free SQL Managed Instance offers 4 and 8 vCore options. If your business requires an instance with more resources, create a fully fledged paid SQL Managed Instance.
156+
The free SQL Managed Instance offers only 4 and 8 vCore options. If your business requires an instance with more resources, consider upgrading it to a fully fledged paid SQL Managed Instance.
161157
162158
- question: Can I change the backup option to geo-redundant storage?
163159
answer: |
164-
Backup options can't be changed for the free SQL Managed Instance.
165-
166-
- question: Can I use my Student subscription with the free Azure SQL Managed Instance?
167-
answer: |
168-
Currently, the Student subscription is ineligible. For eligible subscriptions, review the [free SQL Managed Instance offer supportability](free-offer.md#supportability).
160+
Free SQL Managed Instance only supports PITR up to 7 days. Other backup options can't be modified for the free SQL Managed Instance.
169161
170162
- name: Naming conventions
171163
questions:

docs/database-engine/configure-windows/connect-to-the-database-engine-using-extended-protection.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ The following links provide more information about how Windows supports **Extend
5858
- [Integrated Windows Authentication with Extended Protection](/previous-versions/visualstudio/visual-studio-2008/dd639324(v=vs.90))
5959
- [Microsoft Security Advisory (973811), Extended Protection for Authentication](/security-updates/SecurityAdvisories/2009/973811)
6060

61+
### Driver support
62+
63+
The only drivers that support Extended Protection are Windows-based
64+
- Microsoft ODBC Driver for SQL Server (on Windows only)
65+
- Microsoft OLE DB Driver for SQL Server
66+
- System.Data.SqlClient (in .NET Framework on Windows)
67+
- Microsoft.Data.SqlClient (on Windows)
68+
6169
## Settings
6270

6371
There are three SQL Server connection settings that affect service binding and channel binding. The settings can be configured using the SQL Server Configuration Manager or WMI and viewed using the **Server Protocol Settings** facet of Policy Based Management.

docs/database-engine/configure-windows/sql-server-express-localdb.md

Lines changed: 52 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SQL Server Express LocalDB
33
description: Become familiar with SQL Server Express LocalDB. Developers can use this lightweight Database Engine for writing and testing Transact-SQL code.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 11/18/2025
6+
ms.date: 03/23/2026
77
ms.service: sql
88
ms.subservice: configuration
99
ms.topic: concept-article
@@ -15,6 +15,7 @@ helpviewer_keywords:
1515
- "local database runtime"
1616
- "file database"
1717
- "LocalDB"
18+
ai-usage: ai-assisted
1819
---
1920

2021
# SQL Server Express LocalDB
@@ -23,18 +24,17 @@ helpviewer_keywords:
2324

2425
Microsoft SQL Server Express LocalDB is a feature of [!INCLUDE [ssexpress-md](../../includes/ssexpress-md.md)] targeted to developers. It's available on SQL Server Express edition with Advanced Services. In [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)] and later versions, it's available on [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] Express edition.
2526

26-
LocalDB installation copies a minimal set of files necessary to start the [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)]. Once LocalDB is installed, you can initiate a connection using a special connection string. When you connect, the necessary [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] infrastructure is automatically created and started, enabling the application to use the database without complex configuration tasks. Developer Tools can provide developers with a [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)] that lets them write and test [!INCLUDE [tsql](../../includes/tsql-md.md)] code without having to manage a full server instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
27+
LocalDB installation copies a minimal set of files necessary to start the [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)]. After LocalDB is installed, you can initiate a connection using a special connection string. When you connect, the necessary [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] infrastructure is automatically created and started, enabling the application to use the database without complex configuration tasks. Developer Tools can provide developers with a [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)] that lets them write and test [!INCLUDE [tsql](../../includes/tsql-md.md)] code without having to manage a full server instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
2728

2829
## Installation media
2930

3031
LocalDB is a feature you select during SQL Server Express installation, and is available when you download the media. If you download the media, either choose **Express Advanced** or the **LocalDB** package.
3132

33+
- [SQL Server 2025 Express edition](https://go.microsoft.com/fwlink/?linkid=2216019)
3234
- [SQL Server 2022 Express edition](https://go.microsoft.com/fwlink/?linkid=2215160)
33-
- [SQL Server 2019 Express edition](https://go.microsoft.com/fwlink/?LinkID=866658)
34-
- [SQL Server 2017 Express edition](https://go.microsoft.com/fwlink/?LinkID=853017)
35-
- [SQL Server 2016 Express edition](https://go.microsoft.com/fwlink/?LinkID=799012)
36-
37-
Customers using Visual Studio 2019 and Visual Studio 2022 should install SQL Server 2019 Express edition.
35+
- [SQL Server 2019 Express edition](https://go.microsoft.com/fwlink/?linkid=866658)
36+
- [SQL Server 2017 Express edition](https://go.microsoft.com/fwlink/?linkid=853017)
37+
- [SQL Server 2016 Express edition](https://go.microsoft.com/fwlink/?linkid=799012)
3838

3939
The LocalDB installer `SqlLocalDB.msi` is available in the installation media for all editions except for Express Core. It's located in the `<installation_media_root>\<LCID>_ENU_LP\x64\Setup\x64` folder. LCID is a locale identifier or language code. For example, an LCID value of 1033 refers to the `en-US` locale.
4040

@@ -50,7 +50,7 @@ An instance of [!INCLUDE [ssExpress](../../includes/ssexpress-md.md)] LocalDB is
5050

5151
## Description
5252

53-
The LocalDB setup program uses the `SqlLocalDB.msi` program to install the necessary files on the computer. Once installed, LocalDB is an instance of [!INCLUDE [ssExpress](../../includes/ssexpress-md.md)] that can create and open [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] databases. The system database files for the database are stored in the local `AppData` path, which is normally hidden. For example, `C:\Users\<user>\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\LocalDBApp1\`. User database files are stored where the user designates, typically somewhere in the `C:\Users\<user>\Documents\` folder.
53+
The LocalDB setup program uses the `SqlLocalDB.msi` program to install the necessary files on the computer. After it's installed, LocalDB is an instance of [!INCLUDE [ssExpress](../../includes/ssexpress-md.md)] that can create and open [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] databases. The system database files for the database are stored in the local `AppData` path, which is normally hidden. For example, `%LOCALAPPDATA%\Microsoft\Microsoft SQL Server Local DB\Instances\LocalDBApp1\`. User database files are stored where the user designates, typically somewhere in the `%LOCALAPPDATA%\Microsoft\Microsoft SQL Server Local DB\Instances\<InstanceName>` folder.
5454

5555
For more information about including LocalDB in an application, see [!INCLUDE [vsprvs](../../includes/vsprvs-md.md)] [Local Data Overview](/previous-versions/visualstudio/visual-studio-2012/ms233817(v=vs.110)), [Create a database and add tables in Visual Studio](/visualstudio/data-tools/create-a-sql-database-by-using-a-designer).
5656

@@ -88,7 +88,7 @@ Named instances of LocalDB are private. They're owned by a single application th
8888

8989
To support scenarios where multiple users of the computer need to connect to a single instance of LocalDB, LocalDB supports instance sharing. An instance owner can choose to allow the other users on the computer to connect the instance. Both automatic and named instances of LocalDB can be shared. To share an instance of LocalDB, a user selects a shared name (alias) for it. Because the shared name is visible to all users of the computer, this shared name must be unique on the computer. The shared name for an instance of LocalDB has the same format as the named instance of LocalDB.
9090

91-
Only an administrator on the computer can create a shared instance of LocalDB. A shared instance of LocalDB can be unshared by an administrator or by the owner of the shared instance of LocalDB. To share and unshared an instance of LocalDB, use the `LocalDBShareInstance` and `LocalDBUnShareInstance` methods of the LocalDB API, or the share and unshared options of the `SqlLocalDB` utility.
91+
Only an administrator on the computer can create a shared instance of LocalDB. A shared instance of LocalDB can be unshared by an administrator or by the owner of the shared instance of LocalDB. To share and unshare an instance of LocalDB, use the `LocalDBShareInstance` and `LocalDBUnShareInstance` methods of the LocalDB API, or the share and unshare options of the `SqlLocalDB` utility.
9292

9393
## Start LocalDB and connect to LocalDB
9494

@@ -136,13 +136,54 @@ To connect to a shared instance of LocalDB, add `\.\` (backslash + dot + backsla
136136

137137
## Troubleshoot
138138

139-
For information about troubleshooting LocalDB, see [Known SQL Server 2012 setup and migration issues](/troubleshoot/sql/database-engine/install/windows/sql-server-2012-setup-issues).
139+
LocalDB runs as a lightweight instance under the current user's context, which means most problems relate to instance state, file permissions, or version mismatches rather than server-level configuration. The following steps can help you diagnose and resolve the most common LocalDB problems.
140+
141+
### Upgrade to the latest version
142+
143+
Many common LocalDB problems are resolved by upgrading to the latest version of SQL Server Express. Download the latest version from the [Installation media](#installation-media) section, and install LocalDB. The newer version replaces the existing LocalDB binaries and includes fixes for known stability and compatibility problems.
144+
145+
After upgrading, delete and re-create your instances to use the updated binaries:
146+
147+
```cmd
148+
sqllocaldb stop MSSQLLocalDB
149+
sqllocaldb delete MSSQLLocalDB
150+
sqllocaldb create MSSQLLocalDB
151+
sqllocaldb start MSSQLLocalDB
152+
```
153+
154+
> [!CAUTION]
155+
> Deleting an instance removes all databases associated with that instance. Back up any important data before you delete.
156+
157+
### Verify the installation and instance status
158+
159+
Run the following commands to confirm LocalDB is installed and check the state of your instance:
160+
161+
```cmd
162+
sqllocaldb info
163+
sqllocaldb info MSSQLLocalDB
164+
```
165+
166+
The first command lists all instances. The second command shows the version, owner, and state (Running or Stopped) of a specific instance. If `sqllocaldb` isn't recognized, LocalDB might not be installed or the installation path isn't in the system `PATH` variable.
167+
168+
To start an instance that isn't running:
169+
170+
```cmd
171+
sqllocaldb start MSSQLLocalDB
172+
```
173+
174+
### Review error logs
175+
176+
LocalDB writes error logs to the user's `AppData` folder:
177+
178+
`%LOCALAPPDATA%\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\error.log`
179+
180+
Open this file in a text editor to check for specific error messages, startup failures, or configuration problems.
140181

141182
## Permissions
142183

143184
An instance of SQL Server Express LocalDB is an instance created by a user for their use. Any user on the computer can create a database using an instance of LocalDB, store files under their user profile, and run the process under their credentials. By default, access to the instance of LocalDB is limited to its owner. The data contained in the LocalDB is protected by file system access to the database files. If user database files are stored in a shared location, the database can be opened by anyone with file system access to that location, by using an instance of LocalDB that they own. If the database files are in a protected location, such as the users data folder, only that user, and any administrators with access to that folder, can open the database. The LocalDB files can only be opened by one instance of LocalDB at a time.
144185

145-
LocalDB always runs under the user's security context. LocalDB never runs with credentials from the local Administrator's group. This means that all database files used by a LocalDB instance must be accessible using the owning user's Windows account, without considering membership in the local Administrators group.
186+
LocalDB always runs under the user's security context. LocalDB never runs with credentials from the local Administrators group. This means that all database files used by a LocalDB instance must be accessible using the owning user's Windows account, without considering membership in the local Administrators group.
146187

147188
## Related content
148189

docs/integration-services/data-flow/teradata-connector.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Microsoft connector for Teradata"
44
author: chugugrace
55
ms.author: chugu
66
ms.reviewer:
7-
ms.date: 10/10/2022
7+
ms.date: 03/20/2026
88
ms.service: sql
99
ms.subservice: integration-services
1010
ms.topic: how-to
@@ -24,6 +24,7 @@ Microsoft Connector supports the following Microsoft SQL Server products for Ter
2424

2525
- Microsoft SQL Server 2022
2626
- Microsoft SQL Server 2019
27+
- Microsoft SQL Server 2025
2728
- SQL Server Integration Services Projects for Visual Studio 2022
2829

2930
Microsoft Connector for Teradata depends on Teradata Tools and Utilities (TTU) 20.00.
@@ -167,4 +168,4 @@ You can uninstall wizard to remove **Microsoft connector for Teradata**.
167168
- Configure [Teradata connection manager](teradata-connection-manager.md)
168169
- Configure [Teradata source](teradata-source.md)
169170
- Configure [Teradata destination](teradata-destination.md)
170-
- If you have questions, visit [Tech Community](https://aka.ms/AA6iwdw)
171+
- If you have questions, visit [Tech Community](https://aka.ms/AA6iwdw)

0 commit comments

Comments
 (0)