FabricTools v0.33.0 Public Preview

Update-FabricReflex

Updates an existing Reflex in a specified Microsoft Fabric workspace.

Syntax

Update-FabricReflex [-WorkspaceId] <guid> [-ReflexId] <guid> [-ReflexName] <string>
 [[-ReflexDescription] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

This function sends a PATCH request to the Microsoft Fabric API to update an existing Reflex in the specified workspace. It supports optional parameters for Reflex description.

Aliases: Update-FabricActivator

Examples

Example 1

This example updates the Reflex with ID "Reflex-67890" in the workspace with ID "workspace-12345" with a new name and description.

Update-FabricReflex -WorkspaceId "workspace-12345" -ReflexId "Reflex-67890" -ReflexName "Updated Reflex" -ReflexDescription "Updated description"

Parameters

NameTypeReq.Pos.PipelineDescription
-ReflexId guid ✓Required 1 –

The unique identifier of the Reflex to be updated. This parameter is mandatory.

-ReflexName string ✓Required 2 –

The new name of the Reflex. This parameter is mandatory.

-WorkspaceId guid ✓Required 0 –

The unique identifier of the workspace where the Reflex exists. This parameter is optional.

-Confirmalias: cf switch Named –

Prompts you for confirmation before running the cmdlet.

-ReflexDescription string 3 –

An optional new description for the Reflex.

-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

  • Requires $FabricConfig global configuration, including BaseUrl and FabricHeaders.
  • Calls Confirm-TokenState to ensure token validity before making the API request.

Author: Tiago Balabuch, Kamil Nowinski