Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Configuration object that specifies blocked URI schemes for redirect URIs with global and platform-specific settings and exempt format patterns. Blocked schemes prevent applications from using specific URI schemes (such as http, urn, or custom schemes) in their redirect URIs.
Applies to: redirectUriConfiguration (uriWithBlockedScheme)
Methods
None.
Properties
| Property | Type | Description |
|---|---|---|
| blockedSchemes | String collection | Collection of URI schemes that are blocked globally across all platforms. Schemes refer to URI schemes as defined in RFC 3986 ยง3.1. |
| excludeActors | appManagementPolicyActorExemptions | Applications or service principals that are exempt from this restriction. |
| exemptFormats | String collection | Collection of URI patterns that are exempt from the blocked scheme restrictions. Patterns must follow specific validation rules for standard URI formats or URN formats. |
| isStateSetByMicrosoft | Boolean | Indicates whether the restriction state was set by Microsoft. |
| publicClient | redirectUriPlatformBlockedSchemeConfiguration | Platform-specific blocked scheme configuration for public client applications (native/mobile apps). |
| restrictForAppsCreatedAfterDateTime | DateTimeOffset | Date and time when this restriction starts applying to newly created applications. Applications created before this date are not affected. |
| spa | redirectUriPlatformBlockedSchemeConfiguration | Platform-specific blocked scheme configuration for single-page applications (SPAs). |
| state | appManagementRestrictionState | Indicates whether the restriction is enabled or disabled. The possible values are: enabled, disabled, unknownFutureValue. |
| web | redirectUriPlatformBlockedSchemeConfiguration | Platform-specific blocked scheme configuration for web applications. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.redirectUriBlockedSchemeConfiguration",
"state": "String",
"isStateSetByMicrosoft": "Boolean",
"restrictForAppsCreatedAfterDateTime": "String (timestamp)",
"blockedSchemes": [
"String"
],
"exemptFormats": [
"String"
],
"web": {
"@odata.type": "microsoft.graph.redirectUriPlatformBlockedSchemeConfiguration"
},
"spa": {
"@odata.type": "microsoft.graph.redirectUriPlatformBlockedSchemeConfiguration"
},
"publicClient": {
"@odata.type": "microsoft.graph.redirectUriPlatformBlockedSchemeConfiguration"
},
"excludeActors": {
"@odata.type": "microsoft.graph.appManagementPolicyActorExemptions"
}
}