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.

Reply
kangwen1
New Member

use managed private end point to access storage account

I

2 REPLIES 2
Anonymous
Not applicable

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!

kangwen1
New Member

is there any sample code to access the storage account in Azure per the managed private end point in notebook?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 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.