You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UserAssigned Managed Identity has been added on MS SQL however we're unable to create and grant db access on data bases thru terraform
Error: │ Error: unable to create user [database].[hostname]: mssql: Incorrect syntax near 'type'.
We have been blocked from past 1 month, really appreciate any help on the issue.
When I ran SQL cmds on SSMS it worked but we would like to implement thru Terraform
CREATE USER [<managed-identity-name>] FROM EXTERNAL PROVIDER;
ALTER ROLE db_datareader ADD MEMBER [<managed-identity-name>];
ALTER ROLE db_datawriter ADD MEMBER [<managed-identity-name>];
ALTER ROLE db_ddladmin ADD MEMBER [<managed-identity-name>];
GO
The text was updated successfully, but these errors were encountered:
jvenkat255
changed the title
Unable to create user accounts and grant db permission on mssql managed database
Unable to add UserAssignedIdentity on database as external user and grant db permission on mssql managed database
Jul 15, 2023
Unable to add UserAssignedIdentity on database as external user and grant db permission on mssql managed database
UserAssigned Managed Identity has been added on MS SQL however we're unable to create and grant db access on data bases thru terraform
Error: │ Error: unable to create user [database].[hostname]: mssql: Incorrect syntax near 'type'.
We have been blocked from past 1 month, really appreciate any help on the issue.
When I ran SQL cmds on SSMS it worked but we would like to implement thru Terraform
The text was updated successfully, but these errors were encountered: