> For the complete documentation index, see [llms.txt](https://docs.cipp.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cipp.app/user-documentation/endpoint/mem/list-templates/edit.md).

# Edit Template

Opens a saved Intune policy template so its name, description and settings can be changed. Edits are stored against the template in CIPP, so they take effect the next time the template is deployed rather than changing any policy already in a tenant.

{% hint style="warning" %}
Only templates that are not synced to a community repository can be edited. A synced template must be cloned first, which breaks its link to the repository and makes the copy editable.
{% endhint %}

## Template details

| Field         | Description                                                                                                                                                              |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Template Name | The name of the template. Required. This is also the name the deployed policy takes, and the name CIPP matches on when deciding whether to overwrite an existing policy. |
| Description   | The description recorded against the template.                                                                                                                           |

The template's type is shown alongside the card heading.

**Validate template** checks your current changes for anything that would stop the template deploying and lists every problem found. Nothing is saved. A template that would not deploy is not saved when you submit it either, and the result lists what is wrong.

## Configured settings

Shown for Intune Settings Catalog templates, with a count of the settings the template holds. **Add setting** searches the Settings Catalog for the template's platform and adds the one you choose, exactly as on [New Endpoint Manager Template](/user-documentation/endpoint/mem/list-templates/add.md). Each setting has a remove control, and a setting made of grouped entries has **Add row** and **Remove row** controls. Removing the last setting leaves an empty policy, which the card warns would deploy as an empty policy.

## Policy settings

Lists the template's settings as editable fields, grouped into the sections Intune itself organises them under. Each setting is rendered according to what it accepts: a true or false switch, a list of the options the setting allows, a list of values, or a free text or numeric field.

Under each setting, **Raw values** expands to show the setting's definition identifier, the exact values it accepts, and the value currently stored. This is the value written into the policy, which is not always the same as the friendly label shown in the field.

CIPP custom variables appear in the field's dropdown alongside the setting's own options. Choosing one stores the variable rather than a fixed value, and it is resolved per tenant when the template is deployed, so one template can carry a different value for each customer. The variable has to resolve to what the setting accepts, and where the type does not match the field says so.

{% hint style="warning" %}
Changing a setting that has other settings nested beneath it does not update those nested settings. They still hold the values belonging to the option that was originally selected, and CIPP flags this when it happens.
{% endhint %}

Some templates cannot have their settings edited here:

| Situation                                   | What happens                                                                                                                    |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Administrative Templates                    | The settings are resolved against a tenant and cannot be presented as fields. The name and description remain editable.         |
| The stored policy is not valid JSON         | An error is shown and nothing can be edited.                                                                                    |
| The Intune setting catalog cannot be loaded | Settings appear under their definition identifiers with no option lists to pick from. Values changed are still saved correctly. |

{% hint style="info" %}
Settings the editor does not present as fields are left exactly as they were stored. Saving a template only changes the values bound to a field, so nothing else in the underlying policy is rewritten.
{% endhint %}

***

## Feature Requests / Ideas

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cipp.app/user-documentation/endpoint/mem/list-templates/edit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
