You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CloudAppSecurityDocs/api-authentication-user.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ This page explains how to create a Microsoft Entra application, get an access to
86
86
87
87
1. On your application page, go to **Overview** and copy the following information:
88
88
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":::
90
90
91
91
92
92
## Supported permission scopes
@@ -158,19 +158,19 @@ namespace MDA
158
158
159
159
Verify to make sure you got a correct token:
160
160
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.
163
163
- In the screenshot below you can see a decoded token acquired from the app in the tutorial:
164
164
165
165
:::image type="content" source="media/api-authentication-application/webapp-decoded-token.png" alt-text="Screenshot that shows the decoded token.":::
166
166
167
167
## Use the token to access the Microsoft Defender for Cloud Apps API
168
168
169
169
- 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).
172
172
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#**:
0 commit comments