Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Problem connecting to SAS using OLEDb SAS.IOMprovider

ErrorErrorWe are trying to access data from a SAS grid using Integrated Windows authentication, single sign on. This works in Visual studio but in PowerBi we get the above error. The client doesn't want to supply credential every time they access a different folder or library. Any help will be appreciated

Status: Needs Info
Comments
v-haibl-msft
Microsoft Employee

@dondokp

 

From the error message, it seems that the connection string is not correct. Do you include credential and security related properties in it?

 

Problem connecting to SAS using OLEDb SAS.IOMprovider_1.jpg

 

Best Regards,
Herbert

Vicky_Song
Impactful Individual
Status changed to: Needs Info
 
dondokp
New Member

Hi Herbert

Thanks for your response. The connection string is as follows

Provider=SAS.IOMProvider;Data Source=iom-name://SASApp - Logical Workspace Server;SAS Metadata Location=’iom://MYSERVER:8561;Bridge;SECURITYPACKAGE=Negotiate’

 

Since we are using Integrated Windows Authentication , is it necessary to put in credentials? In Visual studio we don't have to enter credentials.

 

Thanks

Kudzayi

Anonymous
Not applicable

Any luck solving this?

Otacon
New Member

This is for a SAS IOM Provider through OLEDB:

First in conetction string put this conection string (your IOM-NAME could be different)

 

Provider=sas.IOMProvider.9.47; Data Source=iom-name://SASApp - Logical Workspace Server;SAS Port=8561;SAS Protocol=0;SAS Server Type=1;SAS Metadata User ID=xxxx;SAS Metadata Password=xxxx;SAS Metadata Location=[your metadata server];SAS Workspace Init Script="LIBNAME [your libname] '[route]'";

2.png

 

then click on accept

 

in the next window put the metadata server credentials "SAS Metadata User ID=xxxx;SAS Metadata Password=xxxx"

3.png

 

and click to conect. if everything is fine youll see the datasets in your library listed

 

Best Regards