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

# Autenticazione Microsoft con Devolutions Server

{% hint style="info" %}
Per configurare l'autenticazione Office365 in Devolutions Server è necessaria una sottoscrizione a Microsoft Entra ID. Prima di completare le impostazioni di autenticazione è necessaria una nuova registrazione dell'app in Microsoft Entra ID. Per maggiori informazioni sulle registrazioni delle app, veda [Guida alla configurazione del portale di Azure per l'autenticazione Microsoft](/server/it/knowledge-base/how-to-articles/configure-microsoft-authentication-with-entra-id.md).
{% endhint %}

La scheda ***Microsoft Authentication*** consente a Devolutions Server di autenticare gli utenti utilizzando l'autenticazione Office365. I campi ***Display name***, ***Tenant ID***, ***Client ID*** e ***Secret value*** sono obbligatori.

### Parametri

| OPZIONE                                                                                                                                                                     | DESCRIZIONE                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Display name**                                                                                                                                                            | Il nome visualizzato per questa configurazione.                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [**Authentication mode**](/server/it/web-interface/administration/configuration/server-settings/general/authentication/microsoft-authentication-with-devolutions-server.md) | <p>Imposta il modello di autorizzazione utilizzato da Devolutions Server per autenticarsi con Microsoft Entra ID.</p><ul><li><em><strong>Application permissions</strong></em> (impostazione predefinita consigliata): Devolutions Server si autentica come app stessa utilizzando le credenziali client.</li><li><em><strong>Delegated permissions</strong></em>: Devolutions Server impersona un utente account di servizio per effettuare le chiamate a Microsoft Graph.</li></ul> |
| **Tenant ID**                                                                                                                                                               | Il TenantID è il Directory ID di Entra ID.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Client ID**                                                                                                                                                               | Application ID dell'applicazione Entra ID.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Use specific client ID for users and user groups cache**                                                                                                                  | Utilizzi questa opzione solo se il secret si trova in un'altra applicazione Azure.                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Secret value**                                                                                                                                                            | Secret generato in Azure.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Type of user interaction on login**                                                                                                                                       | <ul><li><em><strong>Automatic</strong></em>: sceglie il metodo più appropriato per il contesto.</li><li><em><strong>Select account</strong></em>: visualizza sempre la selezione dell'account.</li><li><em><strong>None</strong></em>: solo connessione silenziosa, l'utente deve essere connesso tramite un'altra applicazione del provider.</li><li><em><strong>Login</strong></em>: forza ogni volta l'utente verso il provider.</li></ul>                                         |
| **Test connection**                                                                                                                                                         | Testa la connessione con i parametri correnti.                                                                                                                                                                                                                                                                                                                                                                                                                                        |

### Creazione automatica degli utenti <a href="#automatic-user-creation" id="automatic-user-creation"></a>

| OPZIONE                        | DESCRIZIONE                                                                                                                               |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Auto create on first login** | Crea un utente al primo accesso.                                                                                                          |
| **Only from this group**       | Solo gli utenti di questo gruppo verranno creati al primo accesso (disponibile solo quando ***Auto create on first login*** è abilitato). |


---

# 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 dynamically by asking a question.

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

```
GET https://docs.devolutions.net/server/it/web-interface/administration/configuration/server-settings/general/authentication/microsoft-authentication-with-devolutions-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
