Share via

Create Synapse managed privte endpoint with Azure CLI / Powershell

Charles Thivierge 4,181 Reputation points
2022-01-30T01:55:22.663+00:00

We are using Azure pipeline to deploy Synapse. I wonder if it's possible to use the .json file in our DevOps repos for the creation of the managed private endpoint ?

Normally, the Azure CLI command should be like that:

az synapse managed-private-endpoints create --workspace-name myworkspace--pe-name ep-myworkspace --file @mutia keyza /test.json

From the test i have done, if i run the command from my computer, it's possible to use a file that is locally on my computer but is it possible to use a file in a repos in DevOps so the pipeline will be able to use it.

And what would be the correct path ?

I've done several tests and i'm unable to get this working... i do have the same issue with the powershell command "New-AzSynapseManagedPrivateEndpoint"

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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.