Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
When trying to invoke a method followin instructions from documentation (https://docs.microsoft.com/en-us/rest/api/power-bi/gateways/create-datasource), I encountered the errors I am not able to find anywhere on the Internet:
Have you seen similar problem? My request:
Hi @gagusz ,
First, please make sure the gateway didn't install in Virtual network. Not sure if the credentails part cause this error... Please refer the following links to configure credentails, later check if it can work well...
By C#:
Configure credentials programmatically for Power BI
// Basic credentials
var credentials = new BasicCredentials(username: "john", password: "*****");
var credentialsEncryptor = new AsymmetricKeyEncryptor(publicKey);
var credentialDetails = new CredentialDetails(credentials, PrivacyLevel.Private, EncryptedConnection.Encrypted, credentialsEncryptor);
By Powershell:
How to update credentials for an on-prem Power BI data source using PowerShell
Best Regards
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |