FabricTools v0.33.0 Public Preview

Get-FabricAPIclusterURI

Retrieves the cluster URI for the tenant.

Syntax

Get-FabricAPIclusterURI [<CommonParameters>]

Description

The Get-FabricAPIclusterURI function retrieves the cluster URI for the tenant. It supports multiple aliases for flexibility.

Examples

Example 1

Get-FabricAPIclusterURI

This example retrieves the cluster URI for the tenant.

Outputs

System.String

{{ Fill in the Description }}

Notes

The function retrieves the PowerBI access token and makes a GET request to the PowerBI API to retrieve the datasets. It then extracts the '@odata.context' property from the response, splits it on the '/' character, and selects the third element. This element is used to construct the cluster URI, which is then returned by the function.

Author: Ioana Bouariu