You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/Public/Connect-FabricAccount.ps1
+65-20Lines changed: 65 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -5,51 +5,96 @@ function Connect-FabricAccount {
5
5
Connects to the Fabric WebAPI.
6
6
7
7
.DESCRIPTION
8
-
Connects to the Fabric WebAPI by using the cmdlet Connect-AzAccount.
9
-
This function retrieves the authentication token for the Fabric API and sets up the headers for API calls.
8
+
Connects to the Fabric WebAPI by using the cmdlet Connect-AzAccount. This function retrieves the authentication token for the Fabric API and sets up the headers for API calls.
10
9
11
10
.PARAMETERTenantId
12
-
The TenantId of the Azure Active Directory tenant you want to connect to
13
-
and in which your Fabric Capacity is.
11
+
The TenantId of the Azure Active Directory tenant you want to connect to and in which your Fabric Capacity is.
12
+
13
+
.PARAMETERServicePrincipalId
14
+
The Client ID (AppId) of the service principal used for authentication.
15
+
16
+
.PARAMETERServicePrincipalSecret
17
+
The **secure string** representing the service principal secret.
18
+
19
+
.PARAMETERCredential
20
+
A PSCredential object representing a user credential (username and secure password).
- 2025-05-26 - Jojobit: Added Service Principal support, with secure string handling and parameter descriptions, as supported by the original FabTools module
0 commit comments