> 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/server/da/web-interface/administration/configuration/server-settings/general/authentication/microsoft-authentication-with-devolutions-server.md).

# Microsoft-godkendelse med Devolutions Server

Konfigurer Microsoft-godkendelse i Devolutions Server med appregistrering i Microsoft Entra ID, lejer-id, klient-id og hemmelighed til Office365-logon.

{% hint style="info" %}
Der kræves et abonnement på Microsoft Entra ID for at konfigurere Office365-godkendelse i Devolutions Server. Der skal oprettes en ny appregistrering i Microsoft Entra ID, før godkendelsesindstillingerne kan færdiggøres. Flere oplysninger om appregistreringer findes i [konfigurationsvejledning til Azure-portalen for Microsoft-godkendelse](/server/da/knowledge-base/how-to-articles/configure-microsoft-authentication-with-entra-id.md).
{% endhint %}

Fanen ***Microsoft-godkendelse*** giver Devolutions Server mulighed for at godkende brugere med Office365-godkendelse. Felterne ***Vist navn***, ***Lejer-id***, ***Klient-id*** og ***Hemmelig værdi*** er obligatoriske.

### Parametre

| INDSTILLING                                                                                                                                                                  | BESKRIVELSE                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Vist navn**                                                                                                                                                                | Det navn, der vises for denne konfiguration.                                                                                                                                                                                                                                                                                                                                                                                                   |
| [**Godkendelsestilstand**](/server/da/web-interface/administration/configuration/server-settings/general/authentication/microsoft-authentication-with-devolutions-server.md) | <p>Angiver den tilladelsesmodel, som Devolutions Server bruger til at godkende mod Microsoft Entra ID.</p><ul><li><em><strong>Programtilladelser</strong></em> (anbefalet standard): Devolutions Server godkender som selve programmet med klientlegitimationsoplysninger.</li><li><em><strong>Delegerede tilladelser</strong></em>: Devolutions Server udgiver sig for en tjenestekontobruger for at foretage Microsoft Graph-kald.</li></ul> |
| **Lejer-id**                                                                                                                                                                 | Lejer-id'et er katalog-id'et for Entra ID.                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Klient-id**                                                                                                                                                                | Program-id for Entra ID-programmet.                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Brug et bestemt klient-id til cache for brugere og brugergrupper**                                                                                                         | Brug kun dette, hvis hemmeligheden findes i et andet Azure-program.                                                                                                                                                                                                                                                                                                                                                                            |
| **Hemmelig værdi**                                                                                                                                                           | Hemmelighed, der er genereret i Azure.                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Type af brugerinteraktion ved logon**                                                                                                                                      | <ul><li><em><strong>Automatisk</strong></em>: Vælg den metode, der passer bedst til konteksten.</li><li><em><strong>Vælg konto</strong></em>: Vis altid kontovalget.</li><li><em><strong>Ingen</strong></em>: Kun lydløs forbindelse. Brugeren skal være forbundet via et andet program hos udbyderen.</li><li><em><strong>Logon</strong></em>: Tvinger brugeren til udbyderen hver gang.</li></ul>                                            |
| **Test forbindelse**                                                                                                                                                         | Test forbindelsen med de aktuelle parametre.                                                                                                                                                                                                                                                                                                                                                                                                   |

### Automatisk brugeroprettelse <a href="#automatic-user-creation" id="automatic-user-creation"></a>

| INDSTILLING                           | BESKRIVELSE                                                                                                                         |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Opret automatisk ved første logon** | Opretter en bruger ved første logon.                                                                                                |
| **Kun fra denne gruppe**              | Kun brugere fra denne gruppe oprettes ved første logon (kun tilgængelig, når ***Opret automatisk ved første logon*** er aktiveret). |


---

# 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/server/da/web-interface/administration/configuration/server-settings/general/authentication/microsoft-authentication-with-devolutions-server.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.
