An Azure relational database service.
Hello Stefan !
Thank you for posting on Microsoft Learn.
You can fix your it by connecting directly to your target database with a modern SQL Server ODBC driver and a contained user. Instead of browsing for databases OR schemas, you can create a contained user in the target DB so you avoid using the server admin whose default DB is master:
-- Run in your TARGET database, not master
CREATE USER app_access WITH PASSWORD = 'Strong#Password123!';
ALTER ROLE db_datareader ADD MEMBER app_access;
ALTER ROLE db_datawriter ADD MEMBER app_access;
ALTER USER app_access WITH DEFAULT_SCHEMA = dbo;
Or create a DSN that pins the database (Access then External Data then ODBC Database then Machine Data Source then New):
- Driver: ODBC Driver 18 for SQL Server (not the legacy SQL Server driver).
- Server: yourserver.database.windows.net
- Authentication: SQL login app_access / password
- Click Options and set Database = YourDatabaseName
- Encrypt = Yes and Trust Server Certificate = No (Driver 18 defaults are fine).
Equivalent connection string for File DSN or linked table manager:
Driver={ODBC Driver 18 for SQL Server};
Server=tcp:yourserver.database.windows.net,1433;
Database=YourDatabaseName;
Uid=app_access;Pwd=Strong#Password123!;
Encrypt=yes;TrustServerCertificate=no;
Then link tables in Access, under External Data then ODBC Database then Link to the data source then choose your DSN.
When Access asks for owner, pick dbo. Your tables should appear.