Managed Private Endpoint Examples¶
This page demonstrates how to manage private endpoints in Microsoft Fabric using the CLI. Managed private endpoints provide secure, private connectivity to Azure resources without exposing traffic to the public internet.
Resource Type
Type: .ManagedPrivateEndpoint
To explore all managed private endpoint commands and their parameters, run:
Navigation¶
Navigate to the managed private endpoints collection within a workspace:
Navigate to a specific managed private endpoint:
Managed Private Endpoints Management¶
Create Managed Private Endpoint¶
Required Parameters: targetPrivateLinkResourceId
and targetSubresourceType
.
Optional Parameters: autoApproveEnabled
(default: false).
See Microsoft documentation for supported endpoints, resource ID formats, and subresource types
Create Managed Private Endpoint to Azure Data Lake Storage Gen2¶
Create a private endpoint to securely connect to Azure Data Lake Storage.
fab create ws1.Workspace/.managedprivateendpoints/adls-endpoint.ManagedPrivateEndpoint -P targetPrivateLinkResourceId=/subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.Storage/storageAccounts/<storage_account_name>,targetsubresourcetype=dfs
Create Auto-Approved Managed Private Endpoint to SQL Server¶
Create a private endpoint to SQL Server with automatic approval enabled.
fab create ws1.Workspace/.managedprivateendpoints/sql-endpoint.ManagedPrivateEndpoint -P targetPrivateLinkResourceId=/subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.Sql/servers/<sql_server_name>,targetSubresourceType=sqlServer,autoApproveEnabled=true
Check Managed Private Endpoint Existence¶
Check if a specific managed private endpoint exists and is accessible.
Get Managed Private Endpoint¶
Get Managed Private Endpoint Details¶
Retrieve full managed private endpoint details.
Export Managed Private Endpoint Details¶
Query and export managed private endpoint properties to a local directory.
List Managed Private Endpoints¶
List All Managed Private Endpoints¶
Display all managed private endpoints in the workspace in simple format.
List Managed Private Endpoints with Details¶
Show managed private endpoints with detailed information including target resources, status, and configuration.
Remove Managed Private Endpoints¶
Managed private endpoints cannot be removed while in Provisioning
state. Wait for provisioning to complete before attempting removal
Remove Managed Private Endpoint with Confirmation¶
Delete a managed private endpoint with interactive confirmation.
Force Remove Managed Private Endpoint¶
Delete a managed private endpoint without confirmation prompts.