Put request to Azure API does not update parameters on linked service

Surbanoski Aleksandar 46 Reputation points
2023-07-07T13:24:45.29+00:00

Hello everyone I am trying to update paramerers for linked service below:

{
name": "asql",
    "type": "Microsoft.Synapse/workspaces/linkedservices",
    "properties": {
        "parameters": {
            "DatabaseName": {
                "type": "String",
                "defaultValue": ""
            },
            "SecretName": {
                "type": "String",
                "defaultValue": ""
            },
            "ServerName": {
                "type": "String",
                "defaultValue": ""
            },
            "UserName": {
                "type": "String",
                "defaultValue": ""
            }
        }

}

To:

{



    "properties": {

        "parameters": {

            "DatabaseName": {

                "type": "String",

                "defaultValue": null

            },

            "SecretName": {

                "type": "String",

                "defaultValue": null

            },

            "ServerName": {

                "type": "String",

                "defaultValue": null

            },

            "UserName": {

                "type": "String",

                "defaultValue": null

            }

        }



}

I am using Postman,it says it is updating, nothing happens on portal. I dont receive any error. Tried with multiple api versions





Resource used for this operation

https://learn.microsoft.com/en-us/rest/api/synapse/

https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/linked-service/create-or-update-linked-service?tabs=HTTP

So am I missing something here?

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.
5,172 questions
{count} votes

Your answer

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