FabricTools v0.33.0 Public Preview

Remove-FabricDomain

Deletes a Fabric domain by its ID.

Syntax

Remove-FabricDomain [-DomainId] <guid> [-WhatIf] [-Confirm] [<CommonParameters>]

Description

The Remove-FabricDomain function removes a specified domain from Microsoft Fabric by making a DELETE request to the relevant API endpoint.

Examples

Example 1

Deletes the domain with ID "12345".

Remove-FabricDomain -DomainId "12345"

Parameters

NameTypeReq.Pos.PipelineDescription
-DomainId guid ✓Required 0 –

The unique identifier of the domain to be deleted.

-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