diff --git a/howto/setup-state-store/setup-sqlserver.md b/howto/setup-state-store/setup-sqlserver.md index 84219140d..7c2e329e8 100644 --- a/howto/setup-state-store/setup-sqlserver.md +++ b/howto/setup-state-store/setup-sqlserver.md @@ -4,7 +4,7 @@ [Follow the instructions](https://docs.microsoft.com/azure/sql-database/sql-database-single-database-get-started?tabs=azure-portal) from the Azure documentation on how to create a SQL database. The database must be created before Dapr consumes it. -**Note: SQL Server state store also supports SQL Server running on VMs.** +**Note: SQL Server state store also supports SQL Server running on VMs.** In order to setup SQL Server as a state store, you will need the following properties: @@ -13,6 +13,13 @@ In order to setup SQL Server as a state store, you will need the following prope * **Table Name**: The database table name. Will be created if not exists * **Indexed Properties**: Optional properties from json data which will be indexed and persisted as individual column +### Create a dedicated user + +When connecting with a dedicated user (not `sa`), these authorizations are required for the user - even when the user is owner of the desired database schema: + +- `CREATE TABLE` +- `CREATE TYPE` + ## Create a Dapr component The next step is to create a Dapr component for SQL Server.