Questions tagged [azure-sql]

Azure SQL Database is a general-purpose relational database-as-a-service (DBaaS) based on the latest stable version of Microsoft SQL Server Database Engine.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

How do I create a new login on an Azure SQL Database?

I'm trying to install SonarQube on Azure, using an Azure SQL Database, which is a serverless database. Instructions I have found advise me to run these commands from the query editor: -- On master ...
4 votes
1 answer
2k views

Azure SQL bacpac import job stuck - timeout on it?

Got some issues with a stuck azure sql bacpac import preventing me from importing the bacpac again to the database with the same name. The file is being pulled in from an Azure storage account. I ...
0 votes
0 answers
61 views

Azure SQL Datasync IP address

We have to sync 2 SQL servers located in different clouds under the different tenants. One in Azure global cloud and another one is in Azure China. I've created a sync group in global cloud, added ...
0 votes
1 answer
122 views

Diagnosing ASP.NET Core SQL Azure sporadic performance

I have an ASP.NET Core 6 application using EF Core and SQL Azure 'Business Critical' pricing tier with 2 VCPUs. 90% of the time the application is lightning fast, but occasionally throughout the day, ...
0 votes
2 answers
2k views

Unable to connect to Azure SQL server through Point-to-Site VPN

Is there any possibility to connect to an Azure SQL server through Azure's P2S VPN client? More specifically, I want to force clients connected through Azure's S2P VPN client to use the VPN to connect ...
0 votes
1 answer
435 views

Azure SQL Elastic Pool max size lower than max size of database included in pool

I am trying to save some money by utilizing Azure SQL Elastic Pools. I have a bunch of databases which only peak in usage once a while, so having them in a pool would be optimal. The problem now is ...
0 votes
0 answers
254 views

On Azure, how do I find the ip address of an app service to create a firewall rule for it on Azure SQL?

I have created an Azure SQL server, setting 'Allow Azure services and resources to access this server' to no. I have a. ASP.Net application running as an App Service and I want to allow it to access a ...
0 votes
0 answers
123 views

Cannot import bacpac from blob storage

I'm unable to import a data tier application (BACPAC) via SSMS from Azure storage on my PC. It works with the same account on multiple other PCs, the only difference is that that runs an older version ...
0 votes
0 answers
29 views

How to configure Azure Data Factory to handle larger files?

I have an azure data factory pipeline that reads a 100 mb CSV from blob storage and inserts it into an Azure SQL DB that has tons of space (200 GB). I also have a 1 MB version of the same files, just ...
-5 votes
2 answers
191 views

Troubleshooting corporate DNS

I'm on a corporate network with various mysterious lockdowns including ZScaler My current issue is that when I try to connect to xyz.databases.windows.net (Azure SQL database) I see these symptoms: ...
0 votes
1 answer
720 views

How do I calculate how many eDTU I need?

I currently have four on-premise SQL Server instances (all replicated) each with between 3 and 5 production databases in them which I want to migrate to a single Azure SQL elastic pool. How do I ...
1 vote
1 answer
100 views

Restore an Azure SQL database while retaining backups

I'm trying to figure out how to restore a database using the Azure Portal without losing either point-in-time or long-term retention history. My production database has both a point-in-time and a ...
2 votes
2 answers
6k views

Azure automation runbooks access to Azure SQL Database

I am trying to run some SQL statements against my Azure SQL database using an Azure Automation runbook. In all examples I can find on https://docs.microsoft.com they are using an Automation credential ...
0 votes
1 answer
86 views

Why are my Azure VMs briefly unable to connect to an AZure Managed Instance?

I have a bunch of load-balanced Azure VMs running Windows Server 2019 that are running IIS with ASP.NET MVC/Web API 2 applications running on them. They communicate with a Database in a SQL Server ...
1 vote
3 answers
7k views

TDE vs Disk Encryption

We are a small business that host applications and data for clients. Some of our clients are requesting we protect their data with 'encryption at rest' - although it's never very clear if they know ...
0 votes
0 answers
131 views

mysqldump restore with poor performance

we need to migrate our platform from an on premise location to azure cloud. In this context, we need to take a mysqldump from our mariadb on premise server and inject it to an azure mariadb managed ...
2 votes
1 answer
1k views

How to tell what is accessing my Azure SQL Server?

I have a legacy Azure SQL Server that I want to decommission but we have a LOT of legacy systems that no one knows about. I want to confirm what accesses this server and/or its databases. It doesn't ...
0 votes
1 answer
3k views

Connection error related to sql azure database instance

I use the azure sql database service, I try to connect to the server where I have hosted the database and in a specific network I can not connect, however, from other wifi networks if I can connect. ...
-1 votes
1 answer
665 views

Azure Security Alert - Login from an unusual data center

Azure Security Center generates an alert for a SQL Database that someone authenticated from an "unusual datacenter". Provided IP is Microsoft owned. Hostname is nothing recognizable.
2 votes
1 answer
832 views

Azure SQL Elastic Pool: increase data size max GB with no downtime

We have an Azure SQL elastic pool with a data size max GB setting. We would like to increase this setting to a larger value. The question is: can you increase the size of the elastic pool max size ...
0 votes
1 answer
690 views

Azure sql server read only replica

we have a database which is a SQL server PaaS offering, I would like to create a read only replica database which has a dedicated server behind it. The reason behind this is that I do not want to use ...
0 votes
1 answer
3k views

"An existing connection was forcibly closed by the remote host" when trying to connect to azure sql server

I'm trying to deploy a SQL database to my azure SQL server. When I'm trying to connect to my target server, I get the error listed below. I'm using Microsoft SQL Server management studio 18 with ...
0 votes
1 answer
249 views

Will there be data loss in Azure Cosmos DB with multi-region write if one of the regions fails (outages)?

I use Azure Cosmos DB with multi-region write in two regions and I need to know what will happen if one of this regions fails (outages). Will it be data loss and if, yes, how much time will it take to ...
0 votes
1 answer
943 views

Azure App Service to SQL Server DB connection fails with generic "error occurred during the login process"

I have a project consisting of several frontend and backend apps, and several databases; I am in the process of building the deployment pipeline. It should use Azure Static App Services for the ...
-1 votes
1 answer
4k views

ADO NET Destination has failed to acquire the connection with the following error message: "Login failed for user

Created a SSIS package, it is running fine when I run it on premise but when i try to execute it from sql server agent it gives me error for login failed for user, I am using SQL authentication to ...
0 votes
1 answer
124 views

How to route Azure MSSQL queries over vnet

I've got a vnet in Azure with a private endpoint connection configured for A MSSQL server. There's a private DNS zone configured with an A record for the private endpoint connection. App Services ...
0 votes
1 answer
349 views

Azure SQL Private Endpoint - can creating one cause downtime?

Suppose I have an Azure SQL Database Elastic Pool and I am accessing it from an Azure Web App via Firewall rules and everything is working fine. Now suppose I want to add a new Private Endpoint to the ...
0 votes
1 answer
569 views

sp_send_dbmail succeding but sometimes failing

Also posted in Stack Overflow. Any feed back would be much appreciated. I have a need for a SQL job to send multiple emails, and I have come across this error that I am unable to find any solutions ...
1 vote
1 answer
506 views

Azure Serverless SQL will not pause due to Azure service queries keeping it online

There is a database we use for archiving old data which I want to be 'serverless' so that it only fires up when we make a query. I changed the size from standard to serverless without issues. I have ...
0 votes
1 answer
125 views

Error code ElasticPoolOverStorageUsage

I'm trying to create a new database in our Azure SQL elastic pool and getting the following error code. Error code: ElasticPoolOverStorageUsage. We have a total space of 32GB and based on the ...
0 votes
1 answer
500 views

authenticate ASP.Net App on Azure WS2019 against Azure SQL via AAD - Access token could not be acquired No mapping between account names and securi

I try to reconfigure our ASP.Net app with .Net Framework 4.7.2 from SQL username/password Auth. to token based Azure Active Directory Authentication by using the system assigned managed identity of ...
-1 votes
1 answer
65 views

What additional role should I provision in an Azure resource group so that a contributor can see/accept/fix Azure SQL security recomendations?

We are receiving security recommendations for one of our Azure SQL databases. I'm owner of the subscription and can see those recommendations in the Azure SQL Security Center. I would like to delegate ...
1 vote
1 answer
800 views

Azure SQL bacpac Restore Over Existing Database

I want to restore a bacpac file over an existing Azure SQL database using PowerShell. Past with experience with restoring bacpac files in Azure requires creating a new database altogether when ...
0 votes
1 answer
372 views

How to migrate Dedicated SQL Pool (DW) to Serveless Synapse?

I have Azure Datawarehouse which has fixed pricing tier DW100. Usage is small and assuming that Serverless can be cheaper. A) How do get information how much data processing have been occurring in ...
1 vote
1 answer
3k views

How to minimize latency between Azure App Service and Azure SQL Database?

We have an Azure App Service application using Java Tomcat 8.5 running in West US Region. The Service Plan for this Service is Standard, Big. This App Service application is connected to a SQL ...
-1 votes
1 answer
110 views

Information about free account Azure and SQL database

I'm using free account and I need to create an instance of SQL database. I have read there is 250 GB of instance S0 Standard of SQL database with 10 DTU in the free tier for 12 months. But, when I try ...
1 vote
1 answer
1k views

ARM Template - Azure SQL Database Diagnostics & Log Analytics Workspace

Using an ARM Template I want to enable diagnostics settings for my Azure SQL Database and have that data stored in a Log Analytics workspace I created. I want to enable the errors, timeouts, blocks ...
0 votes
0 answers
96 views

Enter Azure SQL Connection String in App Settings w/ PowerShell

I've deployed an Azure Web App and Azure SQL Database using PowerShell. At the moment I have the following code with a dummy value that sets a sql connection string for my web app: $connectionStrings =...
0 votes
1 answer
196 views

Azure SQL database still incurring vcore charges despite move to DTU?

So, in my MSDN subscription, myself and a developer set up an Azure SQL 480mb database to test performance, initially on the vcore model. Charges very quickly accrued and despite practically nothing ...
1 vote
0 answers
483 views

How to set up firewall rules for hosted Azure SQL cross database query using external tables

I have a hosted Azure SQL Server instance with an elastic pool that contains multiple databases. I want to do a cross database query between two of those databases. I understand that the only way to ...
1 vote
1 answer
224 views

Can't identify where SQL backups are being initiated from

A little background on my skill: I am new to running SQL on Azure and, although I've done a bit of development on SQL Server, I would still consider myself a novice with SQL Server as well. We ...
1 vote
1 answer
3k views

My Azure Data Factory Linked Service can't see my SQL Managed instance

We're using Azure Data Factory and have an Azure hosted Integration Runtime as well as a SQL Managed instance where our databases live. I'm having trouble getting a data set from our Managed Instance -...
0 votes
1 answer
155 views

Azure SQL. Scale out database to improve performance (read only)

We have a database that is used quite heavily (almost 100% of requests are selects), and now database becomes a bottleneck. We were looking for a solution that would let us scale this database out (...
1 vote
0 answers
665 views

Azure SQL PIM like access

We are implementing PIM across our Azure setup and whilst it works well I cannot see a way to restrict access to the SQL databases in a way that allows a user to request elevation to access the ...
0 votes
2 answers
133 views

Is an Azure Vnet really private?

I'm in the process of splitting the functions of a single VM web server on Azure across two VMs on the same Vnet. I want to check, can I assume that traffic between them is absolutely isolated and ...
0 votes
1 answer
936 views

Azure Database for MySQL servers: Location: service not available in this location for your subscription

I am trying to create an Azure DB MySQL server and under location I keep getting this error. " service not available in this location for your subscription." Could you guide me what needs to be ...
3 votes
4 answers
13k views

How to create database user and assign role to it with terraform

I have created sql server and database with terraform now I have to create database user and assign role to it. How I can do it. Please suggest me.
0 votes
1 answer
52 views

Azure SQL metric

I am not able to find few SQL metrics in Azure. Can anyone help in how to set metrics for below topics. 1)Under utilized capacity 2)Number of databases outside of pool 3)Scale up 4)Connection ...
0 votes
1 answer
462 views

WebApp cannot connect to Dbaas SQL server database

Since yesterday afternoon our Azure website is (again) not working because it cannot connect to its Azure SQL Server database. We haven't changed anything. The database is accessible through ...
0 votes
1 answer
157 views

Detect when scaling Azure SQL database via async TSQL command has failed

I have a scheduled task which runs each night to copy an existing production Azure SQL db to a dev environment. Once copied, I scale the database down (actually I put it into an elastic pool to share ...