Skip to content

Commit 0ba9cee

Browse files
authored
Fixed alignment
1 parent f5ebf1a commit 0ba9cee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CloudAppSecurityDocs/api-authentication-user.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This page explains how to create a Microsoft Entra application, get an access to
8686

8787
1. On your application page, go to **Overview** and copy the following information:
8888

89-
:::image type="content" source="media/api-authentication-application/app-and-tenant-ids.png" alt-text="Screenshot that shows the created app ID." lightbox="media/api-authentication-application/app-and-tenant-ids.png":::
89+
:::image type="content" source="media/api-authentication-application/app-and-tenant-ids.png" alt-text="Screenshot that shows the created app ID." lightbox="media/api-authentication-application/app-and-tenant-ids.png":::
9090

9191

9292
## Supported permission scopes
@@ -158,19 +158,19 @@ namespace MDA
158158

159159
Verify to make sure you got a correct token:
160160

161-
- Copy/paste into [JWT](https://jwt.ms) the token you got in the previous step in order to decode it
162-
- Validate that you get a 'scp' claim with the desired app permissions
161+
- Copy/paste into [JWT](https://jwt.ms) the token you got in the previous step in order to decode it.
162+
- Validate that you get a 'scp' claim with the desired app permissions.
163163
- In the screenshot below you can see a decoded token acquired from the app in the tutorial:
164164

165165
:::image type="content" source="media/api-authentication-application/webapp-decoded-token.png" alt-text="Screenshot that shows the decoded token.":::
166166

167167
## Use the token to access the Microsoft Defender for Cloud Apps API
168168

169169
- Choose the API you want to use. For more information, see [Defender for Cloud Apps API](api-introduction.md).
170-
- Set the Authorization header in the HTTP request you send to "Bearer {token}" (Bearer is the Authorization scheme)
171-
- The Expiration time of the token is 1 hour (you can send more than one request with the same token)
170+
- Set the Authorization header in the HTTP request you send to "Bearer {token}" (Bearer is the Authorization scheme).
171+
- The Expiration time of the token is 1 hour (you can send more than one request with the same token).
172172

173-
- Example of sending a request to get a list of alerts **using C#**
173+
- Example of sending a request to get a list of alerts **using C#**:
174174

175175
```csharp
176176
var httpClient = new HttpClient();

0 commit comments

Comments
 (0)