Forum Discussion

jimmcslim's avatar
jimmcslim
Helper III
8 years ago
Solved

How to set credentials for Azure Table Storage via Gateways.UpdateDatasourceAsync

I am trying to provide the credentials for an Azure Table Storage datasource via the Power BI API (specifically the Nuget package). I have successfully done this for Azure SQL, but I'm not sure what ...
  • madia's avatar
    8 years ago

    you should use the following format:

     

    {

      "credentials":"{\"credentialData\":[{\"name\":\"key\",\"value\":\"hi...rg==\"}]}",

      "credentialType": "Key",

      "encryptedConnection": "Encrypted | NotEncrypted", // chose one

      "privacyLevel": "None | Private | Organizational | Public", // chose one

      "encryptionAlgorithm":"None"

    }

     

    Thank you for pointing the datasource type issue, will fix it.