RiskPreventionProviders.ReadWrite.All
Allows the app to read and write your organization's risk prevention providers, without a signed-in user.
Permission Details
Read and write all identity risk prevention providers
Allows the app to read and write your organization's risk prevention providers, without a signed-in user.
7fc7225d-eb37-4c39-90f3-a33a57cf1081
Read and write all identity risk prevention providers
Allows the app to read and write your organization's risk prevention providers, on behalf of the signed-in user.
2a7babba-9623-4109-bc9c-79728cf3bb4f
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
displayName |
StringNullable |
The display name of the identity., , For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. |
id |
StringNullable |
Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. |
tenantId |
String |
Unique identity of the tenant. Optional. |
thumbnails |
thumbnailSet |
Keyed collection of thumbnail resources. Optional. Applies to drive items, for example. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"displayName": "String",
"id": "String (identifier)",
"tenantId": "String",
"thumbnails": {
"@odata.type": "microsoft.graph.thumbnailSet"
}
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new ArkoseFraudProtectionProvider
{
OdataType = "#microsoft.graph.arkoseFraudProtectionProvider",
DisplayName = "Arkose Sign-Up Protection",
PublicKey = "A1EE42E0-C88B-47FE-A176-5E9FB8F116FB",
PrivateKey = "19BBE628-7DEF-4E28-AB25-BF129C760B7E",
ClientSubDomain = "client-api",
VerifySubDomain = "verify-api",
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Identity.RiskPrevention.FraudProtectionProviders.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const fraudProtectionProvider = {
'@odata.type': '#microsoft.graph.arkoseFraudProtectionProvider',
displayName: 'Arkose Sign-Up Protection',
publicKey: 'A1EE42E0-C88B-47FE-A176-5E9FB8F116FB',
privateKey: '19BBE628-7DEF-4E28-AB25-BF129C760B7E',
clientSubDomain: 'client-api',
verifySubDomain: 'verify-api'
};
await client.api('/identity/riskPrevention/fraudProtectionProviders')
.post(fraudProtectionProvider);
Import-Module Microsoft.Graph.Identity.SignIns
$params = @{
"@odata.type" = "#microsoft.graph.arkoseFraudProtectionProvider"
displayName = "Arkose Sign-Up Protection"
publicKey = "A1EE42E0-C88B-47FE-A176-5E9FB8F116FB"
privateKey = "19BBE628-7DEF-4E28-AB25-BF129C760B7E"
clientSubDomain = "client-api"
verifySubDomain = "verify-api"
}
New-MgIdentityRiskPreventionFraudProtectionProvider -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.arkose_fraud_protection_provider import ArkoseFraudProtectionProvider
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ArkoseFraudProtectionProvider(
odata_type = "#microsoft.graph.arkoseFraudProtectionProvider",
display_name = "Arkose Sign-Up Protection",
public_key = "A1EE42E0-C88B-47FE-A176-5E9FB8F116FB",
private_key = "19BBE628-7DEF-4E28-AB25-BF129C760B7E",
client_sub_domain = "client-api",
verify_sub_domain = "verify-api",
)
result = await graph_client.identity.risk_prevention.fraud_protection_providers.post(request_body)
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for RiskPreventionProviders.ReadWrite.All
Grant Admin Consent
Application permissions always require admin consent.