diff --git a/samples/features/security/contoso-clinic/README.md b/samples/features/security/contoso-clinic/README.md index 7638a7f1..054ac011 100644 --- a/samples/features/security/contoso-clinic/README.md +++ b/samples/features/security/contoso-clinic/README.md @@ -30,15 +30,17 @@ This project has adopted the [Microsoft Open Source Code of Conduct](http://micr ## Setup ### Set up the Demo Database 1. Clone/Download the repository -2. Import the *Clinic* database - + Open SSMS and connect to your SQL Server 2016 instance +2. Open SSMS and connect to your SQL Server 2016 instance + + In Object Explorer right-click on the server instance and select Properties. In the Security tab set Server authentication to SQL Server and Windows Authentication. Close the Properties window. + + In Object Explorer right-click on the server instance and select Restart. +3. Import the *Clinic* database + In SSMS, right-click on *Databases* in Object Explorer and select *Import Data-tier Application...*. + Locate your copy of the bacpac file, located in the */setup* folder. ![Import Data-tier Application Wizard](img/import-bacpac.png) + Complete the steps of the wizard. -3. While connected to your database (master) via SSMS, execute [setup/Create-Application-Login.sql](setup/Create-Application-Login.sql) link. +4. While connected to your database (master) via SSMS, execute [setup/Create-Application-Login.sql](setup/Create-Application-Login.sql) link. + Before running the script, create a password for the `ContosoClinicApplicaation` user. - + This script creates a login and user, assigns `datareader` and `datawriter` permissions, and gives several Always Encrypted specific permissions to the `ContosoClinicApplication` user + + This script creates a login and user, assigns `datareader` and `datawriter` permissions, and gives several Always Encrypted specific permissions to the `ContosoClinicApplication` user ### Modify and Set up the Sample Application Project 1. Start Visual Studio and open the Contoso Application solution file- located in /src.