Database scope credential Not getting created in Azure Synapse studio for SQL Serverless Db pool

Sahil Bansal 6 Reputation points
2021-11-09T13:23:25.63+00:00

CREATE DATABASE SCOPED CREDENTIAL MyCosmosDbAccountCredential
WITH IDENTITY = 'SHARED ACCESS SIGNATURE',
SECRET = 's5zarR2pT0JWH9k8roipnWxUYBegOuFGjJpSjGlR36y86cW0GQ6RaaG8kGjsRAQoWMw1QKTkkX8HQtFpJjC8Hg==';

The above statement is not working in Azure Synapse Studio for Serverless SQL database pool.
and returning below error:

Incorrect syntax near 'IDENTITY'.

Documentation url as below
https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/tutorial-logical-data-warehouse

Kindly suggest @PRADEEPCHEEKATLA-MSFT

Thanks

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,369 questions
{count} vote

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 77,081 Reputation points Microsoft Employee
    2021-11-10T04:01:27.817+00:00

    Hello @Sahil Bansal ,

    Thanks for the question and using MS Q&A platform.

    As per the repro, I'm able to CREATE DATABASE SCOPED CREDENTIAL in Azure Synapse studio for SQL Serverless pool.

    147957-image.png

    Note: CREATE DATABASE SCOPED CREDENTIAL is not supported in master database.

    148017-image.png

    When you are experiencing the Incorrect syntax near 'IDENTITY'. error, could you please share the screenshot of the error message?

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.