Source type

Microsoft Graph Source Configuration

Microsoft Graph sources receive change notifications and answer validationToken checks when Graph creates or renews a subscription.

MICROSOFT_GRAPHPOST, PUT, PATCH, DELETEOptional Client StateIdentity
Microsoft Graph sends webhook traffic to a FastHook source, FastHook validates the provider contract, records the request, and routes accepted events through connections to destinations.Microsoft GraphProviderPOST, PUT, PATCH, DELETESetup + eventsFastHookSource URLMICROSOFT_GRAPHProvider credentialchallengeVerify before queue401 on auth failure405 on wrong methodAcceptedRequestverified: trueConnections route the accepted request to destinationsFilters, transformations, retries, replay, and destination signatures stay downstream from source verification.Provider setupValidate firstReturn validationToken

Microsoft Graph configuration

Create a Microsoft Graph source, keep POST and PUT and PATCH and DELETE enabled, and provide the configured Optional Client State values for provider signature. FastHook uses these settings to validate each Microsoft Graph delivery before it enters the routing workflow.

Source Type

MICROSOFT_GRAPH

Allowed methods

POST, PUT, PATCH, DELETE

Authentication

Provider signature

Credential fields

Optional Client State

Microsoft Graph source config
{
  "type": "MICROSOFT_GRAPH",
  "config": {
    "auth_type": "PROVIDER_SIGNATURE",
    "auth": {
      "provider": "MICROSOFT_GRAPH",
      "client_state": "optional-client-state"
    },
    "allowed_http_methods": ["POST","PUT","PATCH","DELETE"]
  }
}

Validation token before change notifications

  1. Microsoft Graph validates the notification URL with a validationToken value.
  2. FastHook returns the validationToken as plaintext.
  3. After validation succeeds, Graph sends change notifications and FastHook can check clientState when configured.

Microsoft Graph request contract

Microsoft Graph validation is challenge-based. FastHook echoes validationToken and optionally verifies notification clientState values.

POSTPUTPATCHDELETE

Special response: Validation requests return the validationToken value as plaintext.

Microsoft Graph headers

Preserve validationToken, clientState when sending Microsoft Graph test deliveries. FastHook evaluates this request context before accepting the payload, so missing or modified values remain visible as rejected requests instead of routed events.

validationToken

GET query parameter FastHook echoes for subscription validation.

clientState

Notification body value FastHook can compare when configured.

Microsoft Graph setup

  1. Create a Graph change notification subscription with the FastHook Source URL.
  2. If you use clientState, configure the same value in FastHook.
  3. Use Requests to confirm validation requests and POST notifications are stored separately.

Continue with Microsoft Graph