21 questions
0
votes
1
answer
578
views
ManagedIdentityCredential authentication failing
In our Azure Pipeline we add members to roles of a SQL Server database:
ALTER ROLE [db_datareader] ADD MEMBER [$(user)]
ALTER ROLE [db_datawriter] ADD MEMBER [$(user)]
This has worked years without ...
1
vote
0
answers
166
views
Can SQL Server with Entra Authentication accept pre-Windows 2000 identifiers?
I have a SQL Server on Azure Virtual Machine joined to a Microsoft Entra Domain Services instance that has Enable Microsoft Entra authentication for SQL Server on Azure VMs enabled.
I have a user in ...
0
votes
1
answer
178
views
Receiving TaskCanceledException when using passwordless authentication with Azure Functions and Entity Framework with SQL Server
I am using Isolated Azure Functions and SQL Server with Entity Framework. This is configuration I am having inside my Program.cs of corresponding Azure Function App:
var connectionString = ...
1
vote
1
answer
783
views
Login failed for user '<token-identified principal>' while authorizing to SQL Server via Service Principal from AAD group assigned
I visited and tried several examples, but error still the same. I have a AAD group named Azure_SqlServer_Admins assigned to SQL Server in Entra section as Microsoft Entra admin. I have a service ...
2
votes
0
answers
522
views
postman server basic auth and bearer token
When I load my staging environment from the browser, a popup appears for me to fill in username and password. If credentials are correct, I can load the website, otherwise I get a nginx auth error.
...
0
votes
1
answer
238
views
Default dbo schema for user from ACL group
I have following situation
ACL group: domain\aclgroup
user account: domain\account
user account is a member of the ACL group
in the sql server ACL group is added to the server logins, mapped to the ...
0
votes
0
answers
49
views
Error when connecting to sql-server using windows authentication mode
for a couple of days or weeks I am finding a solution to my problem on google but still, I don't get any solution so that's why am here to ask you to help me. Actually I am getting an error by ...
0
votes
1
answer
978
views
Cannot create new user in SQL Server
Everythiing was working fine
My laptop has SQL Server installed
I formatted my laptop
Installed SQL Server (latest version)
then Changed my computer name
Old name was : DESKTOP-EP40R17
New Name is : ...
0
votes
0
answers
307
views
Securing database credential with user, data database for mobile/web application
I'm creating a mobile application with react-native and mongoDB (AWS mongoDB server). How to I store the user database creation credentials (need database admin access) to signup in application.
Do I ...
0
votes
1
answer
484
views
How to pass parameter to a store procedure in openrowset and sql-server authentication
I have a store procedure with dynamic parameters (@ parametr1, @parametr2) and I wanna use it in an openrowset with SQL-SERVER authentication.
0
votes
1
answer
1k
views
What would be the connection string of a .Net Core web app that runs on Linux and connects to SQL server using an AD account
On windows the web app service would run under a service account and that service account would have permissions to connect to the SQL server and DB. Using a connection string similar to this:
Server=...
0
votes
1
answer
1k
views
Pyodbc is only accepting windows authentication
I'm having one python script which connects to the MS SQL server from windows via pyodbc. When trying with windows authentication, it is getting connected to the database, but when trying with SQL ...
2
votes
2
answers
1k
views
node.js is not connecting to SQL Server database using SQL Server authentication
I'm using node.js and the mssql package to connect to a SQL Server database using SQL Server authentication. When I try connecting using SQL Server Management Studio with the same credentials, it is ...
5
votes
3
answers
84k
views
Python pyodbc connect to Sql Server using SQL Server Authentication
The window user details is different from the Sql Server user I log in. So I had tried to use pyodbc connect to the database using the username(Admin_JJack) and password. But the connection show fails ...
3
votes
1
answer
4k
views
Connect Local SQL Server Database using Azure Active Directory Credentials
The SQL Server (version 2016) is located in the local Virtual Machine(Windows Server 2012 R2) and I need to provide authentication for the users in the Azure Active Directory. As I am new to this I am ...
0
votes
3
answers
1k
views
VB code to connect to SQL server on windows server 2012R2 - not locally
I know how to connect to SQL server Management studio locally, the one to your desktop, Windows Authentication. Code is as below.
myconnection As New SqlConnection("data source =serverNAME01; ...
1
vote
1
answer
2k
views
ColdFusion is not connecting datasource with SQL Server 2014 [duplicate]
I am trying to connect datasource in coldfusion admin with my local sql server 2014 but it is not connecting . I have tried every method to do this but no success.
I have also created new user but it ...
0
votes
1
answer
95
views
How can we assign permissions to setup SQL Server Reporting Services
In SQL Server 2012, how can we give a permission to someone to have full control to SSRS and a permission to a specific Db so they can configure and run the SSRS reports and have a full control to ...
0
votes
1
answer
83
views
SQL Server SA Password for SQL Server Authentication?
I am working on SQL Server 2008 and currently I am using my local server with windows authentication. Can i set SA password for SQL Server Authentication? What are the steps and also I want to know ...
0
votes
4
answers
1k
views
How do I connect to a SQL Server which is usually a machine I remote desktop into
Typically I remote into a machine with IP Address 00.00.00.00 and then I have an account in a domain, let's call it myspecialaccount\firstname.lastname.
Then I use Windows auth to connect to SQL ...
1
vote
1
answer
7k
views
MVC 5 IIS 7.5 double-hop issue (avoid hard coded SQL passwords)
I am experiencing the double-hop SQL server log in problem associated with MVC projects.
I am using IIS 7.5; MVC 5; Visual Studio 2013, and simple Windows 7 system running IIS.
I need to make an ...