To provide additional request context information, Client Access Policies use the following claim types, which AD FS generates from request header information for processing. For more information see The role of the claims engine.
This AD FS claim represents a “best attempt” at ascertaining the IP address of the user (for example, the Outlook client) making the request. This claim can contain multiple IP addresses, including the address of every proxy that forwarded the request. This claim is populated from an HTTP header that is currently only set by Exchange Online, which populates the header when passing the authentication request to AD FS. The value of the claim can be one of the following:
A single IP address - The IP address of the client that is directly connected to Exchange Online
![Note] The IP address of a client on the corporate network will appear as the external interface IP address of the organization’s outbound proxy or gateway.
One or more IP addresses
- If Exchange Online cannot determine the IP address of the connecting client, it will set the value based on the value of the x-forwarded-for header, a non-standard header that can be included in HTTP based requests and is supported by many clients, load balancers, and proxies on the market.
Multiple IP addresses indicating the client IP address and the address of each proxy that passed the request will be separated by a comma.
![Note] IP addresses related to Exchange Online infrastructure will not be present in the list.
![Warning] Exchange Online currently supports only IPV4 addresses; it does not support IPV6 addresses.
This AD FS claim represents the protocol used by the end client, which corresponds loosely to the application being used. This claim is populated from an HTTP header that is currently only set by Exchange Online, which populates the header when passing the authentication request to AD FS. Depending on the application, the value of this claim will be one of the following:
- In the case of devices that use Exchange Active Sync, the value is Microsoft.Exchange.ActiveSync.
- Use of the Microsoft Outlook client may result in any of the following values:
- Other possible values for this header include the following:
This AD FS claim provides a string to represent the device type that the client is using to access the service. This can be used when customers would like to prevent access for certain devices (such as particular types of smart phones). This claim is populated from an HTTP header that is currently only set by Exchange Online, which populates the header when passing the authentication request to AD FS. Example values for this claim include (but are not limited to) the values below.
![Note] The below are examples of what the x-ms-user-agent value might contain for a client whose x-ms-client-application is “Microsoft.Exchange.ActiveSync”
![Note] It is also possible that this value is empty.
This AD FS claim indicates that the request has passed through the federation server proxy. This claim is populated by the federation server proxy, which populates the header when passing the authentication request to the back end Federation Service. AD FS then converts it to a claim.
The value of the claim is the DNS name of the federation server proxy that passed the request.
X-MS-Endpoint-Absolute-Path (Active vs Passive)
This claim type can be used for determining requests originating from “active” (rich) clients versus “passive” (web-browser-based) clients. This enables external requests from browser-based applications such as the Outlook Web Access, SharePoint Online, or the Office 365 portal to be allowed while requests originating from rich clients such as Microsoft Outlook are blocked.
The value of the claim is the name of the AD FS service that received the request.