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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
joakimfenno
Helper V
Helper V

Need help getting semantic link to work

I have added the semantic link library to my workspace environment in fabric 

 

joakimfenno_0-1731075262356.png

however It does not work when trying to access it, for example

 

 

import sempy.fabric as fabric
# List the available semantic models

df_datasets = fabric.list_datasets()
df_datasets

 

part of the log:
 
ExtendedSocketException Traceback (most recent call last) ExtendedSocketException: (00000005, 0xFFFDFFFF): Name or service not known at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at System.Net.Sockets.Socket.Connect(String host, Int32 port) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Net.HttpWebRequest.<>c__DisplayClass216_0.<<CreateHttpClient>b__1>d.MoveNext() --- End of stack trace from previous location --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) The above exception was the direct cause of the following exception: HttpRequestException Traceback (most recent call last) HttpRequestException: Name or service not known (9c8de003bc814850bd7b1111fbf5fb75.pbidedicated.windows.net:443) ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress, AddressFamily family) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at System.Net.Sockets.Socket.Connect(String host, Int32 port) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Net.HttpWebRequest.<>c__DisplayClass216_0.<<CreateHttpClient>b__1>d.MoveNext() --- End of stack trace from previous location ---

 

Am I missing something obvious here?

8 REPLIES 8
PrachiJain_2025
Advocate V
Advocate V

Hi @joakimfenno , how did you resolve the issue?

fb200
Frequent Visitor

I have the same issue, but new workspaces do not solve the issue.
Which SKU did you used? 

frithjof_v
Super User
Super User

This works fine on my side, I didn't do anything about installation or environment:

 

frithjof_v_0-1731144163094.png

 

The Created Timestamp column seems to return a strange value, but other than that it seems to be working as expected. 

frithjof_v
Super User
Super User

I don't see anything obviously wrong here.

 

Your code looks good to me.

 

It's not necessary to install Semantic Link or add it to environment. It is pre-installed.

 

I have no idea what that error message means. 

 

Can you try to create a new workspace, add a semantic model, create a new notebook, and run the code again.

 

Just use the default environment.

 

And try this code:

 

import sempy

import sempy.fabric as fabric

x = fabric.list_items()

x

thansk for the tips

it worked with a small semantic model in a new workspace

I seems like I have issues with my current workspace

Anonymous
Not applicable

Hi @joakimfenno ,

 

Thanks for the reply from frithjof_v .

 

It looks like you have found a solution. Could you please mark this helpful post as “Answered”?

 

This will help others in the community to easily find a solution if they are experiencing the same problem as you.

 

Thank you for your cooperation!

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

sure but I still need help identify what issue with my general workspace is

Hello, did you manage to fix the general workspace? Creating a new workspace is not an option for us, so we would also need to fix the existing one. Thank you

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Fabric Update Carousel

Fabric Monthly Update - October 2025

Check out the October 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.