FabricTools v0.33.0 Public Preview

Revoke-FabricExternalDataShares

Retrieves External Data Shares details from a specified Microsoft Fabric.

Syntax

Revoke-FabricExternalDataShares [-WorkspaceId] <guid> [-ItemId] <guid> [-ExternalDataShareId] <guid>
 [-WhatIf] [-Confirm] [<CommonParameters>]

Description

This function retrieves External Data Shares details. It handles token validation, constructs the API URL, makes the API request, and processes the response.

Examples

Example 1

This example retrieves the External Data Shares details

Get-FabricExternalDataShares

Parameters

NameTypeReq.Pos.PipelineDescription
-ExternalDataShareId guid ✓Required 2 –

The unique identifier of the External Data Share to be retrieved.

-ItemId guid ✓Required 1 –

The unique identifier of the item associated with the External Data Shares.

-WorkspaceId guid ✓Required 0 –

The unique identifier of the workspace where the External Data Shares resides.

-Confirmalias: cf switch Named –

Prompts you for confirmation before running the cmdlet.

-WhatIfalias: wi switch Named –

Runs the command in a mode that only reports what would happen without performing the actions.

This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.

Notes

  • Calls Confirm-TokenState to ensure token validity before making the API request.

Author: Tiago Balabuch, Kamil Nowinski