Closed mikemowgli closed 3 years ago
could it be related to a charset problem?
Do you have custom collation on the database? And does the error also happen with the above password (or something similar)? I guess you did include a dummy password in the snippet above. :-)
Maybe you can debug it with this sql (taken from the provider source code):
DECLARE @stmt nvarchar(max)
SET @stmt = 'CREATE USER ' + QuoteName('analysisservices') + ' WITH PASSWORD = ' + QuoteName('Thisisa8!securepassword', '''') + ', DEFAULT_SCHEMA = ' + QuoteName('dbo')
EXEC (@stmt)
Could you try this with version 0.2.1. This version should remove some issues due to charset/collation problems.
Closed since no response.
Hello,
I cannot create a user using this code. I'm using the latest provider (0.2.0) with Terraform 0.15
Here is the error I get with TF_LOG_PROVIDER=debug
FYI: