FabricTools v0.33.0 Public Preview

Get-FabricUserListAccessEntities

Retrieves access entities for a specified user in Microsoft Fabric.

Syntax

Get-FabricUserListAccessEntities [-UserId] <guid> [[-Type] <string>] [<CommonParameters>]

Description

This function retrieves a list of access entities associated with a specified user in Microsoft Fabric. It supports filtering by entity type and handles token validation, constructs the API URL, makes the API request, and processes the response.

Examples

Example 1

This example retrieves all access entities associated with the user having ID "user-12345".

Get-FabricUserListAccessEntities -UserId "user-12345"

Example 2

This example retrieves only the 'Dashboard' access entities associated with the user having ID "user-12345".

Get-FabricUserListAccessEntities -UserId "user-12345" -Type "Dashboard"

Parameters

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

The unique identifier of the user whose access entities are to be retrieved. This parameter is mandatory.

-Type string 1 –

The type of access entity to filter the results by. This parameter is optional and supports predefined values such as 'CopyJob', 'Dashboard', 'DataPipeline', etc.

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