Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

fixed the typo #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/",<Tenant-ID>);
connection.Open();
```

Expand Down Expand Up @@ -113,6 +113,8 @@ Using SQL Server Management Studio, authenticate using your developer account to

```sql
CREATE USER [<App Service Name>] FROM EXTERNAL PROVIDER
CREATE USER [<App Service Name>/slots/<slotName>] FROM EXTERNAL PROVIDER -- For Web App in slots

ALTER ROLE db_datareader ADD MEMBER [[<App Service Name>] -- gives permission to read to database
ALTER ROLE db_datawriter ADD MEMBER [[<App Service Name>] -- gives permission to write to database
```
Expand Down