6,107 questions with Azure SQL Database tags

Sort by: Updated
1 answer

Cannot connect Power BI to Azure

I cannot connect Power BI to the Azure database. I am able to access the DB and query editor in Azure and SSMS, but I cannot establish a connection from Power BI. I submitted a support ticket in the Power BI service but was told that they cannot help?

Azure SQL Database
asked 2025-03-16T06:27:52.6266667+00:00
Erica Chown 0 Reputation points
commented 2025-03-22T05:16:21.1566667+00:00
VINODH KUMAR 30,346 Reputation points MVP
1 answer

Power BI, Dataverse, Project Online help

My client uses Power BI to report on a portfolio of projects in Project Online. They would like to be able to view detailed reporting over time within Power BI. They have a ton of Power BI Pro licenses. We would need some place to store the historical…

Azure SQL Database
asked 2025-03-13T14:16:18.9533333+00:00
SusieMull 0 Reputation points
commented 2025-03-22T05:16:06.2666667+00:00
VINODH KUMAR 30,346 Reputation points MVP
0 answers

Azure SQL Managed Instance - Error log not appearing in the EventHub

We have 2 Azure SQL Managed Instances that we have configured the Diagnostic Settings to write allLogs and Audit information into an Event Hub, using an Event Hub policy name (SendPermissions). However, there are no entries from the SQL Error Log that i…

Azure SQL Database
asked 2025-03-21T17:14:07.8933333+00:00
Gerads, Dennis(IT) 5 Reputation points
commented 2025-03-21T23:16:05.77+00:00
Prasad Chaganti 95 Reputation points Microsoft External Staff
1 answer

i have multiple databases in one SQL managed instance, i wish to replicate only one the databases instead of all of them

I have multiple databases in my SQL managed instance, when create a failover group all the databases are replicated to failover group, instead i want only selective databases to be replicated.

Azure SQL Database
asked 2025-03-19T16:31:47.47+00:00
Jayesh Lakhiani 0 Reputation points
commented 2025-03-21T22:14:35.01+00:00
Mahesh Kurva 3,335 Reputation points Microsoft External Staff
0 answers

How to delete sql server which is created earlier ?

Hello, Am trying to delete mssql server from this account, getting error. PFA.

Azure SQL Database
asked 2025-03-21T12:13:29.7666667+00:00
STSI Support 0 Reputation points
commented 2025-03-21T21:43:19.3533333+00:00
Erland Sommarskog 119.9K Reputation points MVP
0 answers

ARM/Bicep Microsoft.Sql/servers/databases Replica CreateMode. Only once?

I have bicep script that creates a SQL database used as a replica for a primary database. The bicep script, used for both creating and updating this database, has createMode set Secondary and the sourceDatabseId set to the primary database. Each the…

Azure SQL Database
asked 2025-03-20T17:29:34.81+00:00
Christopher Schneider 0 Reputation points
commented 2025-03-21T17:45:36.12+00:00
Prasad Chaganti 95 Reputation points Microsoft External Staff
3 answers

Pls help me to remote connect to Azure windows SQL DB--fails at Uid/Pwd

i would like to run code scripts (R, SQL, YAML) to access my AZURE windows VM SQL DB. Please help--requesting online session to have successful connect code line for R, SQL, and YAML. For R script con <- DBI::dbConnect(odbc::odbc(), …

Azure SQL Database
asked 2025-03-20T15:25:35.1+00:00
Sheila Varga 0 Reputation points
commented 2025-03-21T17:03:30.41+00:00
Mahesh Kurva 3,335 Reputation points Microsoft External Staff
2 answers

SQL Managed Instance November 2022 Feature Wave - Azure Government

Does anyone have any idea when the November 2022 Feature Wave for SQL Managed Instance is going to come to Azure Government. Every time I ask support I get the typical "We do not have a date at this time". It is so old and rolled out its in the…

Azure SQL Database
asked 2025-03-13T12:35:32.0033333+00:00
Joe Alonge 0 Reputation points
edited an answer 2025-03-21T16:42:23.59+00:00
Oury Ba-MSFT 20,536 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

How do I kill a scaling job that is stuck?

Azure SQL Database scaling job which should complete in a few minutes has been running for 3 hours and is only at 16%. Need to kill this job and attempt manual scaling.

Azure SQL Database
asked 2025-03-19T10:41:37.84+00:00
Irvine, David 20 Reputation points
accepted 2025-03-21T12:49:46.8366667+00:00
Irvine, David 20 Reputation points
1 answer

System.Data.SqlClient.SqlException: Login failed for user '

I have an ASP MVC app on Azure App Service. The app uses Managed Identity to connect Azure SQL database. All is working correctly, but from time to time app stops working and I have an error System.Data.SqlClient.SqlException: Login failed for user '

Azure SQL Database
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,500 questions
asked 2025-02-12T15:58:54.23+00:00
Robert Bosko 0 Reputation points
edited a comment 2025-03-21T12:34:01.08+00:00
Gaurav Kumar 80 Reputation points Microsoft External Staff
1 answer

Sql is in pausing state - Sql serverless model

Facing issue with the sql server as it's in pause state. Not able to drop or connect or change tier. Any recommendation on what to do.

Azure SQL Database
asked 2025-03-19T10:05:25.34+00:00
Tushar Goel 0 Reputation points
commented 2025-03-21T12:28:09.89+00:00
Saraswathi Devadula 310 Reputation points Microsoft External Staff
1 answer

I failing to set the Microsoft Entra admin for my Azure SQL server "Failed to set the Microsoft Entra admin for serverName: xxxxxx"

Using the Azure Portal, I checked in IAM and my logged in user is "Owner" for the Azure SQL server, but I am still unable to set the Microsoft Entra admin to my user, it keeps failing with the error "Failed to set the Microsoft Entra admin…

Azure SQL Database
asked 2025-03-17T08:31:32.95+00:00
jimzim 6 Reputation points
edited a comment 2025-03-21T11:08:26.2266667+00:00
jimzim 6 Reputation points
0 answers

INSERT INTO Fails in Azure Synapse Analytics with Error Code 1104.

Scenario: I am working on loading data from the EDWLanding table to the EDW table using a stored procedure in Azure Synapse Analytics. The stored procedure uses an INSERT INTO SELECT * statement to load data from EDWLanding table into EDW table. The…

Azure SQL Database
asked 2025-03-18T10:06:03.38+00:00
Akshay Gopal 0 Reputation points
commented 2025-03-21T09:17:17.4933333+00:00
PratikLad 475 Reputation points Microsoft External Staff
2 answers

Database is stuck on pausing

My Azure SQL database is stuck on pausing. The database is meant to autopause after an hour aof inactivity and then unpause when it detects activity. This has worked fine for years. Today it is stuck on pausing

Azure SQL Database
asked 2025-03-19T09:10:02.86+00:00
Filipe McManus 0 Reputation points
answered 2025-03-21T08:36:36.88+00:00
Saraswathi Devadula 310 Reputation points Microsoft External Staff
2 answers

Is Azure SQL Database 2014-04-01 API retirement affecting Microsoft.EntityFrameworkCore.SqlServer 1.1.1?

We received an email saying Azure SQL Database 2014-04-01 APIs will be retired on 31 Oct 2025. We have programs using Microsoft.EntityFrameworkCore.SqlServer version 1.1.1 to access the Azure SQL database service. I would like to know whether we are…

Azure SQL Database
asked 2025-03-13T15:56:19.49+00:00
Edwin Chan 25 Reputation points
edited a comment 2025-03-21T04:11:14.33+00:00
Vijayalaxmi Kattimani 1,720 Reputation points Microsoft External Staff
1 answer

Having intermittent issue with logging into Azure Managed instance using SSMS

Developers are having intermittent issues logging into SQL Managed instance in Azure. They are using SQL Server Management Studio. Diagnostics returned the following: We ran diagnostics between 2025-03-14 13:49 UTC and 2025-03-18 13:50 UTC and were…

Azure SQL Database
asked 2025-03-18T14:01:09.35+00:00
Hajkowski, Michael 0 Reputation points
commented 2025-03-20T22:59:24.7233333+00:00
Prasad Chaganti 95 Reputation points Microsoft External Staff
1 answer

Unable to find content of functions (Sys.FunctionName)

Hi Team, Inside Stored Procedure of my Database, a function of a different Database is called using DBName.Sys.Functionname. Inside this function a no. of other functions are called using Sys.functionname. For few of these functions (inside…

Azure SQL Database
asked 2025-03-18T19:47:10.3833333+00:00
Salil Singh 40 Reputation points
commented 2025-03-20T20:40:14.22+00:00
Mahesh Kurva 3,335 Reputation points Microsoft External Staff
4 answers

Azure SQL - can't drop system versioned tables

Hello. I'm can't drop system versioned tables in master db in Azure SQL I have a docs - https://learn.microsoft.com/en-us/sql/relational-databases/tables/stopping-system-versioning-on-a-system-versioned-temporal-table?view=azuresqldb-current but…

Azure SQL Database
asked 2025-02-26T09:06:45.93+00:00
Vitalii Bohachov 0 Reputation points
commented 2025-03-20T20:22:18.9366667+00:00
Oury Ba-MSFT 20,536 Reputation points Microsoft Employee
1 answer

MI Link Feature implemented - How to proceed offloading read-only workloads

Architecture: SQL Server 2019 on an Azure VM with the primary Replica and connected through MI Link Feature to SQL Managed Instance (General Purpose Tier) with the secondary Replica Now I want to point 3rd Party apps to the read-only Replica on the…

Azure SQL Database
asked 2025-03-12T10:23:58.3333333+00:00
Vanhoefen, Guido 0 Reputation points
commented 2025-03-20T13:41:13.6733333+00:00
Vanhoefen, Guido 0 Reputation points
1 answer One of the answers was accepted by the question author.

Serverless Database stuck in "Pausing" state

I have one SQL Database on the serverless tier which is stuck in the 'pausing' state and therefore allows no connections at all. The database paused correctly yesterday evening, but this morning will not resume. The change analysis in the Azure Portal…

Azure SQL Database
asked 2025-03-19T09:47:49.0066667+00:00
Duncan Sutcliffe 20 Reputation points
accepted 2025-03-20T12:42:18.0733333+00:00
Duncan Sutcliffe 20 Reputation points