You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any user with the Synapse Administrator role can use these credentials to access Azure Data Lake storage or Cosmos DB analytical storage.
81
+
If you have low priviledged users that do not have Synapse Administrator role, you would need to give them an explicit permission to reference these database scoped credentials:
82
+
83
+
```sql
84
+
GRANTREFERENCESON DATABASE SCOPED CREDENTIAL::MyCosmosDbAccountCredential TO [jovan@contoso.com]
85
+
GO
86
+
GRANTREFERENCESON DATABASE SCOPED CREDENTIAL::MyCosmosDbAccountCredential TO [jovan@contoso.com]
87
+
GO
88
+
```
89
+
90
+
Find more details in [grant DATABASE SCOPED CREDENTIAL permissions](https://docs.microsoft.com/sql/t-sql/statements/grant-database-scoped-credential-transact-sql) page.
91
+
80
92
### Define external file formats
81
93
82
94
External file formats define the structure of the files stored on external data source. You can define Parquet and CSV external file formats:
@@ -202,7 +214,7 @@ GRANT SELECT ON SCHEMA::ecdc_adls TO [jovan@contoso.com]
202
214
GO
203
215
GRANTSELECTON OBJECT::ecdc_cosmosDB.cases TO [jovan@contoso.com]
204
216
GO
205
-
GRANTREFERENCESON CREDENTIAL::MyCosmosDbAccountCredential TO [jovan@contoso.com]
217
+
GRANTREFERENCESONDATABASE SCOPED CREDENTIAL::MyCosmosDbAccountCredential TO [jovan@contoso.com]
206
218
GO
207
219
```
208
220
@@ -246,4 +258,4 @@ This role-based security access control might simplify management of your securi
246
258
## Next steps
247
259
248
260
- To learn how to connect serverless SQL pool to Power BI Desktop and create reports, see [Connect serverless SQL pool to Power BI Desktop and create reports](tutorial-connect-power-bi-desktop.md).
249
-
- To learn how to use External tables in serverless SQL pool see [Use external tables with Synapse SQL](develop-tables-external-tables.md?tabs=sql-pool)
261
+
- To learn how to use External tables in serverless SQL pool see [Use external tables with Synapse SQL](develop-tables-external-tables.md?tabs=sql-pool)
0 commit comments