Skip to content

Commit bbe7365

Browse files
authored
Update serilog-protected-web-api-authentication-authorization-errors.md
1 parent f88343f commit bbe7365

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

support/entra/entra-id/app-integration/serilog-protected-web-api-authentication-authorization-errors.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Use Serilog to troubleshoot protected Web API authentication or authorization errors
2+
title: Use Serilog to Troubleshoot Protected Web API Authentication or Authorization Errors
33
description: Provides a sample web API application to troubleshoot Microsoft Entra protected Web API authentication or authorization errors using Serilog logs.
4-
ms.date: 05/07/2025
4+
ms.date: 05/012/2025
55
ms.service: entra-id
66
ms.custom: sap:Developing or Registering apps with Microsoft identity platform
77
ms.reviewer: bachoang, v-weizhu
@@ -30,10 +30,10 @@ To add the application ID URI for a web API, follow these steps:
3030

3131
1. In the Azure portal, navigate to the app registration of the web API.
3232
2. Select **Expose an API** under **Manager**.
33-
3. At the top of the page, select **Add** next to **Application ID URI**. This defaults to `api://<application-client-id>`.
33+
3. At the top of the page, select **Add** next to **Application ID URI**. The defaults is `api://<application-client-id>`.
3434
4. Select **Save**.
3535

36-
:::image type="content" source="media/serilog-protected-web-api-authentication-authorization-errors/application-id-uri.png" alt-text="Screenshot that shows how to set the application ID URI in an app registration." border="false":::
36+
:::image type="content" source="media/serilog-protected-web-api-authentication-authorization-errors/application-id-uri.png" alt-text="Screenshot that shows how to set the application ID URI in an app registration.":::
3737

3838
### Step 2: Change the sample application configuration
3939

@@ -69,7 +69,7 @@ Configure Serilog in the `Serilog` section in the **appsettings.json** file as f
6969

7070
## Set up logging for JwtBearer events
7171

72-
Here's the sample Program.cs file that shows how to set up logging for the preceding events:
72+
Here's the sample **Program.cs** file that shows how to set up logging for the preceding events:
7373

7474
```csharp
7575
using Microsoft.AspNetCore.Authentication;

0 commit comments

Comments
 (0)