The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I
Hi @kangwen1
Not sure if this works. You may give it a try
from azure.storage.blob import BlobServiceClient
# Replace with your storage account name and private endpoint URL
storage_account_name = "your_storage_account_name"
private_endpoint_url = "https://your_storage_account_name.privatelink.blob.core.windows.net"
# Create a BlobServiceClient using the private endpoint URL
blob_service_client = BlobServiceClient(account_url=private_endpoint_url)
# List containers in the storage account
containers = blob_service_client.list_containers()
for container in containers:
print(container.name)
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
is there any sample code to access the storage account in Azure per the managed private end point in notebook?