Mauro Cazabonnet
asked on
SQL connectivity with GMSA
I have a GMSA account that's starting a service
The service code is in powershell
Looking to authenticate to sql server but seems to fail to login
GMSA account is dbo of the database
Should this work?
A standard windows service account works fine
The service code is in powershell
Looking to authenticate to sql server but seems to fail to login
GMSA account is dbo of the database
Should this work?
A standard windows service account works fine
$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
$SqlConnection.ConnectionString = "Server = $sqlServer; Database = $SQLDBName; Integrated Security = True;"
$Command = New-Object System.Data.SqlClient.SqlCommand
$Command.CommandTimeout = 0
$Command.Connection = $SqlConnection
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER