azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Refenced material links

Open BertusV opened this issue 2 years ago • 5 comments

Hi documenters,

Overall, I think you are doing a fantastic job keeping the documentation up to date. Well done.

I'm trying to get an example of the referenced document "@"path/linkedservice.json"". I think it will improve the documentation if links are provided to these types of references. They are not always easy to track down.

In this case I can't get this commend "az synapse linked-service set --workspace-name testsynapseworkspace
--name testlinkedservice --file @"path/linkedservice.json" " to work and I believe the issue is possibly in the formatting of the document.

While the command executes without any error the Authorisation Headers never appear on the linked service.

Regards, Bertus


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

BertusV avatar Sep 15 '22 22:09 BertusV

route to CXP team

yonzhan avatar Sep 15 '22 23:09 yonzhan

@BertusV Thank you for reaching out, we are looking into it.

RakeshMohanMSFT avatar Sep 16 '22 02:09 RakeshMohanMSFT

@BertusV Here is a sample for storage account as linked service, there are too many external linked services that can be mapped, having samples of all of them are difficult, but the basic template for all of them should be similar as below.


{
  "properties": {
    "type": "AzureBlobStorage",
    "typeProperties": {
      "connectionString": "DefaultEndpointsProtocol=https;AccountName=issue23887***;EndpointSuffix=core.windows.net;AccountKey=********;"
    }
  }
}

RakeshMohanMSFT avatar Sep 17 '22 15:09 RakeshMohanMSFT

Would you happen to have an example of using a https auth header?

BertusV avatar Sep 23 '22 03:09 BertusV

@BertusV I believe you are looking for this.

{
  "properties": {
    "description": "Issue23905HttpServer",
    "annotations": [],
    "type": "HttpServer",
    "typeProperties": {
      "url": "http://localhost:1981/",
      "enableServerCertificateValidation": true,
      "authenticationType": "Basic",
      "userName": "Issue23905username",
      "password": {
        "type": "SecureString",
        "value": "Issue23905pwd"
      },
      "authHeaders": {
        "APIKey": {
          "type": "SecureString",
          "value": "Issue23905ApiKey"
        }
      }
    }
  }
}

RakeshMohanMSFT avatar Sep 23 '22 10:09 RakeshMohanMSFT

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

ghost avatar Sep 30 '22 14:09 ghost