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

# SQL Azure-Fehlerbehebung

### Problem 1: Keine Verbindung zur Datenbank möglich

Beim Versuch, eine Azure SQL-Datenquelle zu verwenden, erhalten Sie diese Fehlermeldung:

```
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
```

### Lösung 1

Um dieses Problem zu beheben, werfen Sie bitte einen Blick auf [Azure SQL](/rdm/de/getting-started/workspaces/workspace-types/alternative-workspaces/microsoft-azure-sql.md).

### Problem 2: Benutzer kann nicht in der Datenbank gespeichert werden

Beim Erstellen eines Benutzers mit Entra ID-Konto-Authentifizierung erhalten Sie diese Fehlermeldung:

```
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.
```

### Lösung 2

Sie müssen zunächst Ihren SQL Server Entra ID-Administrator über das Azure Portal definieren und sich dann mit diesem Entra ID-Konto bei Remote Desktop Manager anmelden. Von dort aus können Sie neue Entra ID-Konten (Administrator und Nicht-Administrator) erstellen. Diese neuen Administratoren können dasselbe ebenfalls tun.

Weitere Informationen finden Sie unter [Den Entra ID-Administrator konfigurieren](/rdm/de/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/de/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.
