Skip to content

Latest commit

 

History

History
152 lines (116 loc) · 3.03 KB

File metadata and controls

152 lines (116 loc) · 3.03 KB
document type cmdlet
external help file FabricTools-Help.xml
HelpUri
Locale en-US
Module Name FabricTools
ms.date 04/01/2026
PlatyPS schema version 2024-05-01
title Remove-FabricKQLDatabase

Remove-FabricKQLDatabase

SYNOPSIS

Deletes an KQLDatabase from a specified workspace in Microsoft Fabric.

SYNTAX

__AllParameterSets

Remove-FabricKQLDatabase [-WorkspaceId] <guid> [-KQLDatabaseId] <guid> [-WhatIf] [-Confirm]
 [<CommonParameters>]

ALIASES

DESCRIPTION

The Remove-FabricKQLDatabase function sends a DELETE request to the Fabric API to remove a specified KQLDatabase from a given workspace.

EXAMPLES

EXAMPLE 1

Deletes the KQLDatabase with ID "67890" from workspace "12345".

Remove-FabricKQLDatabase -WorkspaceId "12345" -KQLDatabaseId "67890"

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-KQLDatabaseId

(Mandatory) The ID of the KQLDatabase to be deleted.

Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 1
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-WhatIf

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

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-WorkspaceId

(Mandatory) The ID of the workspace containing the KQLDatabase to delete.

Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

  • Requires $FabricConfig global configuration, including BaseUrl and FabricHeaders.
  • Validates token expiration before making the API request.

Author: Tiago Balabuch

RELATED LINKS

{{ Fill in the related links here }}