> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/pam/da/knowledge-base/how-to-articles/quickly-deploy-ad-pam-in-your-environment/enable-just-in-time-elevation-and-provisioning.md).

# Aktivér just-in-time-ophøjelse og -klargøring

Aktivér just-in-time-ophøjelse og -klargøring i Devolutions PAM for at tildele midlertidig privilegeret Active Directory-adgang efter behov.

Når De har [udrullet AD PAM i Deres miljø](/pam/da/knowledge-base/how-to-articles/quickly-deploy-ad-pam-in-your-environment.md), kan De aktivere just-in-time-ophøjelse og -klargøring for at tildele midlertidig privilegeret adgang efter behov.

#### Just-in-time-ophøjelse

1. Tilføj [tilladelsen til at oprette brugergrupper](/pam/da/knowledge-base/how-to-articles/least-privileges-for-active-directory-providers.md) til Deres PAM-domæneudbyderkonto i AD.
2. Identificér de brugergrupper i AD, som De vil have tilgængelige til just-in-time-ophøjelse.
3. Tilbage i Devolutions Server eller Devolutions Cloud skal De gå til ***Administration*** – ***Privilegeret adgang*** – ***Udbydere*** og klikke på ***Rediger*** på Deres PAM-udbyder.
4. Vælg sektionen ***JIT-privilegieophøjelse*** i menuen til venstre.
5. Vælg den brugergruppe, der blev identificeret tidligere.
6. Hvis De vil begrænse JIT-adgangen til specifikke konti, skal De klikke på ***Aktivér privilegiesæt***.
7. Tilføj et præfiks til gruppenavnet, f.eks. `DVLS-JIT-`*.*
8. Vælg en placering, hvor de midlertidige grupper skal oprettes.
9. Hvis De har flere domænecontrollere, skal De konfigurere en ***replikationsforsinkelse*** for at sikre, at JIT har tid til at replikere mellem alle domænecontrollere. Klik på ***Gem***.

#### Just-in-time-klargøring

1. Åbn konsollen Active Directory User and Computers (ADUC), højreklik på den organisationsenhed (OU), der indeholder Deres PAM-konto, og vælg ***Delegér kontrol...***.
2. Følg guiden, og sørg for at markere tilladelsen ***Opret, slet og administrer brugerkonti*** under trinnet til delegering af opgaver.

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p>Af hensyn til mindste privilegium kan De <em><strong>oprette en brugerdefineret opgave</strong></em> <em><strong>der skal delegeres</strong></em> for kun at tilføje de mindste tilladelser, der kræves for at oprette brugere i AD.</p></div>
3. Tilbage i Devolutions Server eller Devolutions Cloud skal De gå til ***Administration*** – ***Privilegeret adgang*** – ***Udbydere*** og klikke på ***Rediger*** på Deres PAM-udbyder.
4. Åbn fanen ***JIT-privilegieophøjelse***, og vælg den brugergruppe, der blev identificeret tidligere.
5. Vælg en placering, hvor de midlertidige brugere skal oprettes.
6. Hvis De har flere domænecontrollere (DC'er), skal De konfigurere ***Replikationsforsinkelse*** for at give JIT-ændringer tid nok til at replikere på tværs af alle DC'er, og klikke på ***Gem***.
7. I Deres [PAM-***boks***](/pam/da/pam-with-devolutions-server/pam-vaults.md) skal De tilføje en ny domænebruger.
8. Angiv brugernavnet til kontoen.
9. Markér feltet ***Just-in-time-konto (JIT)***, og klik på ***Gem***.


---

# 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.devolutions.net/pam/da/knowledge-base/how-to-articles/quickly-deploy-ad-pam-in-your-environment/enable-just-in-time-elevation-and-provisioning.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.
