# Conditional Access

{% hint style="info" %}
This page works off of conditional access policies that would be applied to the user. Be sure to deploy your test policy in "Report Only" mode to ensure that you can test without breaking the user's login experience.
{% endhint %}

## How to Test

{% stepper %}
{% step %}

### Select the Application to Test

This drop down contains the list of applications available for login scenarios
{% endstep %}

{% step %}

### Select Optional Parameters

See the [#optional-parameters](#optional-parameters "mention")table below for more information
{% endstep %}

{% step %}

### Click the "Test policies" button

{% endstep %}

{% step %}

### Review the Test Results

See the [#test-results](#test-results "mention") table below for more information
{% endstep %}
{% endstepper %}

## Optional Parameters

| Parameter          | Description                                                                              |
| ------------------ | ---------------------------------------------------------------------------------------- |
| Country            | Select the country you want to test logging in from via the drop down.                   |
| IP Address         | Enter the IP address you want to test logging in from. Format must be similar to 8.8.8.8 |
| Device Platform    | Select the device platform you want to test.                                             |
| Client Application | Select the client application you want to test.                                          |
| Sign-In Risk Level | Select the sign-in risk level of the user signing in you want to test.                   |
| User Risk Level    | Select the user risk level of the user signing in you want to test.                      |

## Test Results

This table will outline the following information about the conditional access policies configured for the tenant and the results of the test.

| Column         | Description                                                    |
| -------------- | -------------------------------------------------------------- |
| Display Name   | The display name of the conditional access policy.             |
| State          | The enablement state of the conditional access policy.         |
| Policy Applies | A Boolean showing if the policy applies to the test settings.  |
| Reasons        | A value for the reason for the decision on policy application. |

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/KelvinTegelaar/CIPP/issues/new?template=feature.yml) on GitHub.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cipp.app/user-documentation/identity/administration/users/user/conditional-access.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
