mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-21 13:23:36 +00:00
s
This commit is contained in:
@ -44,6 +44,8 @@ This page explains how to create an app, get an access token to Windows Defender
|
|||||||
**Note**: When accessing WDATP API on behalf of a user, you will need the correct app permission and user permission.
|
**Note**: When accessing WDATP API on behalf of a user, you will need the correct app permission and user permission.
|
||||||
If you are not familiar with user permissions on WDATP, please refer to [Manage portal access using role-based access control](rbac-windows-defender-advanced-threat-protection.md)
|
If you are not familiar with user permissions on WDATP, please refer to [Manage portal access using role-based access control](rbac-windows-defender-advanced-threat-protection.md)
|
||||||
|
|
||||||
|
**Rule of thumb for user permissions:** If you have the permission to perform an action in the portal, you have the permission to perform the action in the API.
|
||||||
|
|
||||||
## Create an app
|
## Create an app
|
||||||
|
|
||||||
1. Log on to [Azure](https://portal.azure.com).
|
1. Log on to [Azure](https://portal.azure.com).
|
||||||
|
@ -36,6 +36,7 @@ One of the following permissions is required to call this API. To learn more, in
|
|||||||
Permission type | Permission | Permission display name
|
Permission type | Permission | Permission display name
|
||||||
:---|:---|:---
|
:---|:---|:---
|
||||||
Application | AdvancedQuery.Read.All | 'Run advanced queries'
|
Application | AdvancedQuery.Read.All | 'Run advanced queries'
|
||||||
|
Delegated (work or school account) | AdvancedQuery.Read |
|
||||||
|
|
||||||
## HTTP request
|
## HTTP request
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user