Connectivity issue from Power BI to Azure DataBricks - azure

I am facing this error when i am trying to import data from Azure DataBricks to Power BI. The cluster is active only not terminated while trying to import. I am using UserName and Password as credentials.
It is throwing the following error
ODBC: ERROR [HY000] [Microsoft][ThriftExtension] (14) Unexpected
response from server during a HTTP connection: SSL_connect:
certificate verify failed.
enter image description here

To resolve the above error,
Go to START > ODBC DATA SOURCE ADMINSTRATOR > select your deriver > Configure > SSL options
enable SSL, checking "Use Trusted store"
OR
To connect Databricks to PowerBI follow below steps.
Go to the cluster and click on Advanced Options, click on jdbc/odbc
create url https://"ServerHostname"/"HTTP path" replace you values in quoted sections.
Generate personal access token
Go to Setting >> User Setting >> Access Token >> Generate new access token >>comment- PowerBI, lifetime-7 >> Generate
Save this token in notepad for future use
Now open PowerBI
Go to Get data >> More...>> other >> spark >> connect
Now, copy-paste the JDBC URL (created in Step 1) in the Server field. Select HTTP as the Protocol and DirectQuery in the Data Connectivity mode, and click OK:
In the next dialog box, type in token as the User name and paste Token value that we generated in Step 2 in the Password field. Then click Connect
Now your databricks cluster connected to PowerBI

Related

Configure ODBC Azure linked service in Synapse

Where I can find the connection string in the Azure linked service for odbc as attached in screenshot. Click here for screenshot
Enter the connection String details with below format.
Driver={SQL Server};Server=Server.database.windows.net; Database=TestDatabase;
or
DSN=<name of the DSN on IR machine>;
The connection string excluding the credential portion. You can specify the connection string with pattern like Driver={SQL Server};Server=Server.database.windows.net; Database=TestDatabase;, or use the system DSN (Data Source Name) you set up on the Integration Runtime machine with DSN=<name of the DSN on IR machine>; (you need still specify the credential portion in linked service accordingly). You can also put a password in Azure Key Vault and pull the password configuration out of the connection string.
Connect via **Self hosted integrated Runtime **
Give the authentication type.
Enter username, password if authentication type is basic.
Enter the credential.
The access credential portion of the connection string specified in
driver-specific property-value format. Example: "RefreshToken=<secret refresh token>;". Mark this field as a SecureString.
Reference: MS doc on ODBC Linked Service Properties in ADF

Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException: 'The server did not provide a response with the expected content.'

I am having error while having reading table data from sql azure:
Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException: 'The server did not provide a response with the expected content.'
Following are some images from where i am calling my database
using LINQ to get table checking enter data
the azure sql database table value
the application login page
just after clicking on button login having error
just add following code
client = new MobileServiceClient(applicationURL, new HttpClientHandler());
for more information
enter image description here

Box - Webhook v2 - 403 Forbidden with Box CLI

I am trying to create a Webhook V2 associated to a folder with the Box CLI (Powershell) but I return this error:
Unexpected API Response [403 Forbidden | wncdt6fz7hr7j3tk] access_denied_insufficient_permissions - Access denied - insufficient permission
I follow these steps:
Create a Custom App with OAuth 2.0 with JWT Authentication
Set Enterprise as Application Access.
Enable/Check all Application Scopes options.
Activate Perform Actions As Users and Generate User Access Token at Advanced Features.
Generate a Public/Private Keypair and download the JSON to set in my Box CLI.
Authorize the custom application using the Client ID at Admin Console.
At Box CLI, create the environment with the JSON configuration downloaded at step 5. Set that environment as default.
Get the Token to use to create the Webhook with the following command:
box tokens:get --user-id $user_number
Create the Webhook:
box webhooks:create folder test_lab -T FILE.UPLOADED -a http://test-lab.us-e2.cloudhub.io/lab -t e66kxXI1MyGtXTs7888uy8hutPrreH9R
When I try to create it, returns the 403 Forbidden error. What can I need to solve the permissions problem?
In order to set Box Webhook endpoints you need to set the url as https and not http
Can you give that a try?

How to connect Sybase from client tool for password Encrypted db

Our back end Sybase db password encryption is enabled and for this I am unable to connect the db using any client tool. here is the exception:
Error connecting to datasource "UAT"
SQL Error [1640] [S1000]: Adaptive Server requires encryption of the login password on the network.
SQL Error [4002] [S1000]: Login failed
SQL Error [4002] [S1000]: Login failed.
Adaptive Server requires encryption of the login password on the network.
From java/ property file I ma bale to connect using below properties
ENCRYPT_PASSWORD=true
JCE_PROVIDER_CLASS=org.bouncycastle.jce.provider.BouncyCastleProvider
Have you tried isql (the command line tool) to confirm if your connection details are correct?
The basic command would be:
isql -U username -S servername -X
This will help determine if it is something more fundamental that is causing the problem.

Connecting with the Azure SFTP ApiApp Connector

I have been playing around with the Azure SFTP connector for API Apps and Logic Apps (under the new preview site (portal.azure.com)) but have not had much luck getting it to work.
The Connector requires the following package settings to be set: ServerAddress, ServerPort, SSH Server HostKey, Root Folder, Accept Any SSH Server HostKey (bool), and Encrypt Cipher. It does not ask for a user name, and after activating the API app and attempting to use it I get the expected response of HTTP 400 with:
[
"User Name Value cannot be null, empty, or cannot contain only white-space characters."
]
The Swagger api definition does not define any way to pass in the username and I cannot see anyway to define it in the connector settings, does anyone know how to set the username?
You can configure the user and pass at the security component in your App API panel, select it an then you can set the user and password.
Check this url for more info: http://azure.microsoft.com/en-gb/documentation/articles/app-service-logic-connector-sftp/

Resources