6,900 questions with Azure SQL Database tags

Sort by: Updated
2 answers

Using DAC (Dedicated Admin Connection) with a SQL Server Managed Instance

Hi, Azure SQL Managed instances Is it possible to use DAC with a SQL Managed instance? If so how? Does it need to be on a vm that is within the same vnet as the managed instance? Is it possible to use the DAC from my remote laptop which connects to our…

Azure SQL Database
asked 2026-06-23T13:58:58.5166667+00:00
Daniel Warne 0 Reputation points
commented 2026-06-27T07:11:23.8466667+00:00
Manoj Kumar Boyini 17,550 Reputation points Microsoft External Staff Moderator
3 answers

Copilot Studio – Azure SQL Knowledge Source Connected but Agent Cannot Retrieve Data

Dear reader, I'm integrating an Azure SQL Database as a knowledge source in Copilot Studio, but despite the connection showing as successful and preview data being visible, the agent is unable to retrieve any data when queried. Below are the details and…

Azure SQL Database
asked 2026-06-23T11:38:05.4466667+00:00
Niek 0 Reputation points
answered 2026-06-26T09:01:32.5666667+00:00
Niek 0 Reputation points
2 answers

Azure SQL API version upgrade notification

Hello Team, We received a notification regarding the retirement of the Azure SQL REST API version 2014-04-01 (effective 30 June 2026), indicating that resources using this API version should be updated. The following advisor resources are reported: …

Azure SQL Database
asked 2026-06-23T09:46:21.66+00:00
Tikoo, Shivata 0 Reputation points
commented 2026-06-26T07:01:46.6366667+00:00
Pilladi Padma Sai Manisha 10,765 Reputation points Microsoft External Staff Moderator
2 answers

Server identity does not have the Microsoft Entra Directory Readers permission.

I'm using a Service Principal that creates an SQL Server with an SMI (System-assigned managed identity) in an Azure DevOps pipeline, and then runs an .sql file with the SQL Server's SMI. I made sure that the SMI has the following permissions in Azure: I…

Azure SQL Database
asked 2026-06-18T08:41:48.62+00:00
Daniel Martinez 40 Reputation points
commented 2026-06-26T06:59:32.11+00:00
Pilladi Padma Sai Manisha 10,765 Reputation points Microsoft External Staff Moderator
1 answer

Facing issue while trying to create Azure SQL DB

Hello, I am attempting to create a new SQL Server but encountering the following error: Your subscription does not have permission to create a server in the chosen region. For the most current information regarding region availability for your…

Azure SQL Database
asked 2026-06-24T07:11:14.6866667+00:00
nikhil.b 0 Reputation points
commented 2026-06-26T06:54:19.47+00:00
Pilladi Padma Sai Manisha 10,765 Reputation points Microsoft External Staff Moderator
1 answer

Our alerting system is detecting random resource health issues on production databases hosted on Azure SQL MI

Every now and then production sql databases: At Monday, June 22, 2026 at 12:46:41 AM GMT+10, the Azure monitoring system received the following information regarding your Managed database: We're sorry, we have identified degradation of your database.…

Azure SQL Database
asked 2026-06-22T00:25:08+00:00
Brett Waymouth Admin 0 Reputation points
edited a comment 2026-06-26T06:44:02.12+00:00
Pilladi Padma Sai Manisha 10,765 Reputation points Microsoft External Staff Moderator
1 answer

Azure SQL managed instance and API planing and designing questions to fix the latency issue.

I have an application hosted in a single location, but due to latency concerns, the Azure SQL Managed Instance databases are deployed across three regions: the US, India, and Europe. Each region has its own dedicated database. When a user performs…

Azure SQL Database
asked 2026-06-25T20:58:49.91+00:00
Arunkumar Babu 0 Reputation points
answered 2026-06-25T22:50:06.08+00:00
Erland Sommarskog 135K Reputation points MVP Volunteer Moderator
2 answers

Understanding Temp Storage Cleanup and IOPS Utilization in Azure SQL Managed Instance

I have a couple of questions regarding Azure SQL Managed Instance storage and performance metrics. 1. TempDB Storage Behavior Our Azure SQL Managed Instance shows approximately 1.1 TB allocated for TempDB storage from the time the instance was…

Azure SQL Database
asked 2026-06-25T12:23:56.3433333+00:00
Swaroop Gowda D 25 Reputation points
answered 2026-06-25T19:43:05.88+00:00
Erland Sommarskog 135K Reputation points MVP Volunteer Moderator
2 answers

How to gain access for my subscription to make an sql database in the same region as my vnet

I'm trying to create an sql database and match the region to my vnet, which is in us east and it's saying my subscription doesn't have access to create a server in that region.

Azure SQL Database
asked 2026-06-18T22:09:37.2166667+00:00
Jack Callahan 0 Reputation points
commented 2026-06-25T12:08:52.0066667+00:00
Akhil Gajavelly 1,830 Reputation points Microsoft External Staff Moderator
1 answer

Autoscaling delay causing downtime during Azure Load Testing – best approach?

We are currently performing Azure Load Testing on a production-like architecture and are facing issues with reactive autoscaling delays. Test Scenario: Concurrent users: 2000–3000 Load pattern: Step-based ramp (increase every 2 minutes) …

Azure SQL Database
asked 2026-06-24T18:09:07.7066667+00:00
Chandan Shah (Persistent Systems Inc) 5 Reputation points Microsoft External Staff
answered 2026-06-25T00:07:10.1533333+00:00
Ravi Kiran Pagidi 90 Reputation points
1 answer

Unable to Connect Azure to AWS RDS – Request for Technical Assistance & Meeting

Dear Azure Support Team, Greetings from Allianz Insurance Sri Lanka. We are currently using Azure in conjunction with AWS for our M484 system anomaly detection solution, with both environments hosted via our FCP setup. However, we are facing an issue…

Azure SQL Database
asked 2026-06-22T06:19:30.23+00:00
Khan, Jazeem 0 Reputation points
commented 2026-06-24T01:52:33.7266667+00:00
Pilladi Padma Sai Manisha 10,765 Reputation points Microsoft External Staff Moderator
0 answers

Unable to Enable Zone Redundancy for Azure SQL Managed Instance in East US 2

Issue Summary We are attempting to enable Zone Redundancy for our Azure SQL Managed Instance deployed in the East US 2 region. According to Microsoft documentation and the Azure region availability information, East US 2 supports Zone Redundant…

Azure SQL Database
asked 2026-06-17T20:43:26.9033333+00:00
Ali Mehmood 0 Reputation points
commented 2026-06-22T23:14:53.9766667+00:00
SAI JAGADEESH KUDIPUDI 3,550 Reputation points Microsoft External Staff Moderator
1 answer

Hyperscale log storage not reclaimed after DBCC SHRINKFILE TRUNCATEONLY

The transaction log file (file_id 2) shows 1046528.007812 MB allocated against 1657.414062 MB used (per sys.database_files). DBCC SHRINKFILE(2, TRUNCATEONLY) was run during a low-traffic window and completed successfully but did not reduce the allocated…

Azure SQL Database
asked 2026-06-19T17:45:07.3966667+00:00
Douglas van Zanden 0 Reputation points
answered 2026-06-20T03:17:05.47+00:00
Ravi Kiran Pagidi 90 Reputation points
8 answers

Retirement notice: Azure SQL Database 2014-04-01 APIs will be retired on 30 June 2026

We’re constantly making updates to Azure SQL Database APIs to ensure optimal security and performance. As part of these updates, we’ll retire Azure SQL Database API version 2014-04-01 on 30 June 2026. See our documentation for a detailed list of all…

Azure SQL Database
asked 2022-11-02T22:58:09.407+00:00
GeethaThatipatri-MSFT 29,597 Reputation points Microsoft Employee Moderator
commented 2026-06-19T19:14:37.4+00:00
Gennaro FALCO 20 Reputation points
2 answers

Issues executing bulk data transfers using the SQL Server bcp utility.

SQL Server Tools & Utilities (bcp utility) We attempted to use bcp out with the native format flag (-n) to stream data through a Linux named pipe (FIFO), the process encounters data corruption. This issue specifically triggers when the table…

Azure SQL Database
asked 2026-06-15T06:46:25.35+00:00
Juhi Bhatnagar 0 Reputation points
commented 2026-06-19T08:03:08.42+00:00
Erland Sommarskog 135K Reputation points MVP Volunteer Moderator
3 answers One of the answers was accepted by the question author.

Azure SQL Database Server - SQL Audit to Log Analytics Workspace - How can I view Failed Logins ?

I have Azure SQL Database server where I enabled SQL Audit. It writes to Log Analytics Workspace as audit destination. According to docs, it should capture FAILED_DATABASE_AUTHENTICATION_GROUP events. I have requirement to capture and view failed…

Azure SQL Database
asked 2026-06-17T23:16:30.8266667+00:00
Aleksey Vitsko 45 Reputation points
commented 2026-06-19T00:28:34.7133333+00:00
Jose Benjamin Solis Nolasco 9,286 Reputation points Volunteer Moderator
3 answers One of the answers was accepted by the question author.

Data Sync has been failing for over a week

Data Sync Sync_To_Reporting_Database on Database SDPriceIT has been failing for over a week, I have tried increasing the DTU settings to 3000 and it has still failed. Please advise what Failure looks to be a timeout.. Check the inner exception for any…

Azure SQL Database
asked 2026-06-08T14:52:49.0733333+00:00
Peter Quinn 20 Reputation points
accepted 2026-06-18T10:24:50.9566667+00:00
Peter Quinn 20 Reputation points
3 answers

A vulnerability was detected on Azure SQL server on port 443 that tls1.0 and 1.1 are enabled. But we already disabled and configured a minimul TLS version in configuration

We disabled and configured a minimum TLS version of 1.2 in configuration of Azure SQL server. But a vulnerability was detected on Azure SQL server on port 443 that tls1.0 and 1.1 are enabled. The vulnerabilities were not detected on port 1433 but only…

Azure SQL Database
asked 2026-05-19T12:28:31.8866667+00:00
Singireddy Lohith Reddy 0 Reputation points
commented 2026-06-18T05:59:45.6866667+00:00
Pilladi Padma Sai Manisha 10,765 Reputation points Microsoft External Staff Moderator
2 answers

How can I optimize a complex SQL reporting query with multiple joins, aggregations, and filters without changing existing business logic rules?

I am working on a production SQL report that joins eight tables, applies several date and status filters, and computes grouped totals for weekly dashboards. Query runtime increased from under one minute to nearly fifteen minutes after adding two new…

Azure SQL Database
asked 2026-06-18T03:08:38.21+00:00
HimanshuSinha 19,637 Reputation points Microsoft Employee Moderator
answered 2026-06-18T04:17:07.97+00:00
Pilladi Padma Sai Manisha 10,765 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

How to tell which resources are using Azure SQL Database 2014-04-01 APIs

I got the email that says I have resources using Azure SQL Database 2014-04-01 APIs and those APIs are retiring but it has no indication on how to find the resources that are using that API. How can I find the resources that are using Azure SQL Database…

Azure SQL Database
asked 2026-06-09T16:07:45.8833333+00:00
Ryan Brown 40 Reputation points
accepted 2026-06-16T12:14:32.1633333+00:00
Ryan Brown 40 Reputation points