Forum Discussion
nitinrahim
Sep 28, 2023Brass Contributor
Azure Synapse Link for Cosmos Db
Hi Azure Cosmos Db Team, When accessing Cosmos Db with private endpoint from serverless sql pools in synapse workspace, I was getting the below error. Resolving CosmosDB path has failed with err...
nitinrahim
Oct 02, 2023Brass Contributor
Thanks Saranya for the response.I did that particular step as well. However I still get the access forbidden message when running the below query from serverless sql pool to access the test1 container. Was checking if the private endpoint from cosmos db for 'analytical store' also has to be setup?If yes is there a specific documentation pertaining to the same. Synapse Link has been enabled for this contaner.
SELECT *
FROM OPENROWSET(PROVIDER = 'CosmosDB',
CONNECTION = 'Account=testaccount;Database=testdatabase',
OBJECT = 'testcontainer',
SERVER_CREDENTIAL = 'testcredential')
AS [testcontainer]
With Regards,
Nitin Rahim
AnithaA
Oct 02, 2023Copper Contributor
Hi Nitin, I am a PM In Cosmos DB team, working on Synapse Link. Sorry for the inconvenience you are facing. Could you please share the network acl bypass command you've set? Are Cosmos DB account and Synapse WS in same AD tenant? You've mentioned test1container in the msg and the select command seems to be connecting to testcontainer - are they from the same account on which you've set the aclbypass?