FabricTools v0.33.0 Public Preview

Import-FabricEnvironmentStagingLibrary

Uploads a library to the staging environment in a Microsoft Fabric workspace.

Syntax

Import-FabricEnvironmentStagingLibrary [-WorkspaceId] <guid> [-EnvironmentId] <guid>
 [<CommonParameters>]

Description

This function sends a POST request to the Microsoft Fabric API to upload a library to the specified environment staging area for the given workspace.

Aliases: Upload-FabricEnvironmentStagingLibrary

Examples

Example 1

Import-FabricEnvironmentStagingLibrary -WorkspaceId "workspace-12345" -EnvironmentId "env-67890"

Parameters

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

The unique identifier of the environment where the library will be uploaded.

-WorkspaceId guid ✓Required 0 –

The unique identifier of the workspace where the environment exists.

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

Notes

  • This is not working code.

It is a placeholder for future development. Fabric documentation is missing some important details on how to upload libraries.

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

Author: Tiago Balabuch, Kamil Nowinski