vpnOnDemandRule resource type

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

VPN On-Demand Rule definition.


Property Type Description
ssids String collection Network Service Set Identifiers (SSIDs).
dnsSearchDomains String collection DNS Search Domains.
probeUrl String A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches.
action String Action. Possible values are: connect, evaluateConnection, ignore, disconnect.
domainAction String Domain Action (Only applicable when Action is evaluate connection). Possible values are: connectIfNeeded, neverConnect.
domains String collection Domains (Only applicable when Action is evaluate connection).
probeRequiredUrl String Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed).



JSON Representation

Here is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.vpnOnDemandRule",
  "ssids": [
  "dnsSearchDomains": [
  "probeUrl": "String",
  "action": "String",
  "domainAction": "String",
  "domains": [
  "probeRequiredUrl": "String"