Hi Dwarren24
First thing as you suspect could be name is to test it
Create a spark notebook in this Synapse workspace and run command I shared above, something like below just changing it to your azure function API
Note that you should not use URL with "privatelink" you should just use regular Azure Function FQDN. "privatelink" in URL is just used internally for routing
%%pyspark
import socket
hostname = "Azurefuncion.whatever.com"
port = "443"
############################################################
def resolve_hostname(hostname):
try:
ip = socket.gethostbyname(hostname)
print(f"{hostname} resolved to {ip}.")
return ip
except:
print(f"Unable to resolve hostname {hostname}.")
return None
############################################################
def is_port_open(hostname, port):
try:
sock = socket.create_connection((hostname, port), timeout=1)
sock.close()
print(f"Port {port} is OPEN to {hostname}")
except socket.error:
print(f"Port {port} is CLOSED to {hostname}")
############################################################
resolve_hostname(hostname)
is_port_open(hostname, port)
Second how are you trying to connect to Azure function? Using ADF or using some Spark connector. Please make a test with Linked Services first
If not please open a ticket we will be glad to help