Forum Discussion
pbiembed5
6 years agoNew Member
Gateway public key size problem
Hello, Is something changed with the public key size on the enterprise gateway lately? I've been using this key successfully to encrypt credentials and update DataSources bound on an already s...
dmarkham
6 years agoFrequent Visitor
Not had time to fully qualify, but initial tests did not show this code making any difference
The error went away, but additional errors occurred on the gateway with other operations as a result
I've not had time to check into it exactly, but wondering did this fix the problem for you?
PeterPetkov
6 years agoFrequent Visitor
My problem is solved. But in addition to new AsymmetricKeyEncryptor code, i've updated the Microsoft.PowerBI.Api NuGet package to 2.14 and Enterprise Gateway is the latest 3000.27.30 (February 2020) release
P.S.
The link from my previous comment is not working. Code is moved one level up
https://github.com/microsoft/PowerBI-CSharp/tree/master/sdk/PowerBI.Api/Extensions/