From 2563d3f737c4e5e577bdcbebdfb12d302573c0bd Mon Sep 17 00:00:00 2001 From: Jayendran Arumugam <25414541+jayendranarumugam@users.noreply.github.com> Date: Sat, 2 May 2020 16:29:50 +0530 Subject: [PATCH 1/4] fixed the typo Added ; EOL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ccc829..d5ebe15 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ For AAD-based authentication to Azure SQL Database, developers who wanted their ```csharp SqlConnection connection = new SqlConnection(connectionString); -connection.AccessToken = await (new AzureServiceTokenProvider()).GetAccessTokenAsync("https://database.windows.net/") +connection.AccessToken = await (new AzureServiceTokenProvider()).GetAccessTokenAsync("https://database.windows.net/"); connection.Open(); ``` From c836b0974b6361b17329550c841412dca3725033 Mon Sep 17 00:00:00 2001 From: Jayendran Arumugam <25414541+jayendranarumugam@users.noreply.github.com> Date: Thu, 7 May 2020 17:19:14 +0530 Subject: [PATCH 2/4] Update README.md updated the tenant id parameter needed for azure app service --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5ebe15..0160575 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ For AAD-based authentication to Azure SQL Database, developers who wanted their ```csharp SqlConnection connection = new SqlConnection(connectionString); -connection.AccessToken = await (new AzureServiceTokenProvider()).GetAccessTokenAsync("https://database.windows.net/"); +connection.AccessToken = await (new AzureServiceTokenProvider()).GetAccessTokenAsync("https://database.windows.net/",); connection.Open(); ``` From 0aa28d0fb02578299657bf6d859ac2bf1afd3bd5 Mon Sep 17 00:00:00 2001 From: Jayendran Arumugam <25414541+jayendranarumugam@users.noreply.github.com> Date: Sun, 14 Jun 2020 16:40:53 +0530 Subject: [PATCH 3/4] Update README.md for web app slots --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0160575..59bd0de 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,8 @@ Using SQL Server Management Studio, authenticate using your developer account to ```sql CREATE USER [] FROM EXTERNAL PROVIDER +CREATE USER [/slot/] FROM EXTERNAL PROVIDER -- For Web App in slots + ALTER ROLE db_datareader ADD MEMBER [[] -- gives permission to read to database ALTER ROLE db_datawriter ADD MEMBER [[] -- gives permission to write to database ``` From fcb37fd927c4beb622fcecbc0b8bba4bfa5b9384 Mon Sep 17 00:00:00 2001 From: Jayendran Arumugam <25414541+jayendranarumugam@users.noreply.github.com> Date: Wed, 17 Jun 2020 15:47:45 +0530 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59bd0de..eb854eb 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Using SQL Server Management Studio, authenticate using your developer account to ```sql CREATE USER [] FROM EXTERNAL PROVIDER -CREATE USER [/slot/] FROM EXTERNAL PROVIDER -- For Web App in slots +CREATE USER [/slots/] FROM EXTERNAL PROVIDER -- For Web App in slots ALTER ROLE db_datareader ADD MEMBER [[] -- gives permission to read to database ALTER ROLE db_datawriter ADD MEMBER [[] -- gives permission to write to database