vpnOnDemandRule resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

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 vpnOnDemandRuleConnectionAction Action. Possible values are: connect, evaluateConnection, ignore, disconnect.
domainAction vpnOnDemandRuleConnectionDomainAction 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"