> 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/rdm/it/knowledge-base/how-to-articles/convert-microsoft-sql-server-workspace-to-contained.md).

# Convertire lo spazio di lavoro Microsoft SQL Server in contained

Converta uno spazio di lavoro Microsoft SQL Server in contenuto in Remote Desktop Manager, così l'autenticazione viaggia con il database.

Gli amministratori potrebbero voler convertire il proprio spazio di lavoro Microsoft SQL Server da non contenuto a contenuto, consentendo all'autenticazione di viaggiare con il database invece di essere gestita a livello di server.

{% hint style="danger" %}
È necessario implementare un'adeguata strategia di backup dello spazio di lavoro per evitare possibili perdite di dati.
{% endhint %}

1. Configuri il suo SQL Server per consentire i database contenuti. Se l'ultimo comando restituisce un messaggio di errore, utilizzi il comando `sp_who2` per individuare lo SPID delle connessioni aperte.
2. Creare un utente amministratore per il database SQL.
3. Di nuovo in Remote Desktop Manager, nella scheda ***General*** del suo spazio di lavoro, cambi il tipo in ***Microsoft Azure SQL*** e imposti un ***Username*** e una ***Password***. Clicchi su ***Save***.
4. Vada alla scheda ***Advanced***, clicchi su ***More settings*** e imposti il valore dell'impostazione ***Encrypt*** su ***false***. Clicchi su ***Ok*** per chiudere la finestra, quindi su ***Save*** per salvare la modifica.
5. Quindi, selezioni la casella di controllo ***Contained database user (recommended)*** ogni volta che [crea un nuovo utente](/rdm/it/ribbon-menu-bar/administration/user-management.md) per questo spazio di lavoro.


---

# 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/rdm/it/knowledge-base/how-to-articles/convert-microsoft-sql-server-workspace-to-contained.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.
