> 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/es/knowledge-base/troubleshooting-articles/sql-azure-troubleshooting.md).

# Solución de problemas de SQL Azure

### Problema 1: no se puede conectar a la base de datos

Al intentar usar un espacio de trabajo de Azure SQL, recibe este mensaje de error:

```
Unable to connect to the database!

Unable to load adalsql.dll (Authentication=ActiveDirectoryPassword). Error code: 0x2. For more information, see http://go.microsoft.com/fwlink/?LinkID=513072
```

### Solución 1

Para resolver este problema, consulte [Azure SQL](/rdm/es/getting-started/workspaces/workspace-types/alternative-workspaces/microsoft-azure-sql.md).

### Problema 2: no se puede guardar el usuario en la base de datos

Al crear un usuario con autenticación de cuenta de Entra ID, recibe este mensaje de error:

```
Unable to save the user in the database!

Principal '...' could not be created. Only connections established with Active Directory accounts can create other Active Directory users.
```

### Solución 2

Primero debe definir el administrador de Entra ID de su SQL Server a través del Azure Portal y, a continuación, iniciar sesión en Remote Desktop Manager con esa cuenta de Entra ID; desde allí podrá crear nuevas cuentas de Entra ID (administradoras y no administradoras). Esos nuevos administradores también podrán hacer lo mismo.

Para más información, consulte [Configurar el administrador de Entra ID](/rdm/es/getting-started/workspaces/workspace-types/alternative-workspaces/microsoft-azure-sql/enable-entra-id-authentication/configure-the-entra-id-administrator.md).


---

# 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/rdm/es/knowledge-base/troubleshooting-articles/sql-azure-troubleshooting.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.
