Skip to content

Commit 7638464

Browse files
Updating the examples
Signed-off-by: Rob Sewell <mrrobsewell@outlook.com>
1 parent ed1ff29 commit 7638464

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

source/Public/Connect-FabricAccount.ps1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,19 @@ function Connect-FabricAccount {
2222
.EXAMPLE
2323
Connect-FabricAccount -TenantId '12345678-1234-1234-1234-123456789012'
2424
25+
Connects to the stated Tenant with exisitng credentials
26+
27+
.EXAMPLE
28+
$credential = Get-Credential
29+
Connect-FabricAccount -TenantId 'xxx' -credential $credential
30+
31+
Prompts for Service Principal id and secret and connects as that Service Principal
32+
2533
.EXAMPLE
26-
$secret = Read-Host -AsSecureString
2734
Connect-FabricAccount -TenantId 'xxx' -ServicePrincipalId 'appId' -ServicePrincipalSecret $secret
2835
36+
Connects as Service Principal using id and secret
37+
2938
.NOTES
3039
3140
Revsion History:

0 commit comments

Comments
 (0)