Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Power bi connector - Client certificate & client key

Hello Everyone,

 

For a power bi custom connector i am using 2 step OAuth.

 

In the 2nd step i need to use private key and certificate, along with other parameters, to get the access token.

 

I have tried specifying my client certificate in the "ClientCertificate" parameter of Web.Contents and key in the "ApiKeyName".

I am getting an error "We found 0 certificates matching this thumbprint".

 

I am guessing that the way i am definining key and certificate is wrong but it could be something else too....

Please reply in case of any suggestions

3 Replies

  • artemus's avatar
    artemus
    Icon for Microsoft Employee rankMicrosoft Employee

    This error is thrown if there are no certs installed that match the provided thumprint in HKLM or HKCU. Have you verified the certs are installed in there?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Can you please elaborate ? 

       

      Any pointers on how to get the certificate installed

  • Anonymous's avatar
    Anonymous
    Not applicable

    Can you please provide some details on how to use ClientCertificate within Web Contents? As far as the documention goes, there is no ClientCertificate parameter, however this would be an ideal update.