Skip to content

Commit 0b78c95

Browse files
Jojobitjpomfret
andauthored
Update Connect-FabricAccount.ps1
Co-authored-by: Jess Pomfret <[email protected]> Signed-off-by: Ioana Bouariu <[email protected]>
1 parent 41628ac commit 0b78c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Public/Connect-FabricAccount.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Connect-FabricAccount {
6565

6666
if ($servicePrincipalId) {
6767
$credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $servicePrincipalId, $servicePrincipalSecret
68-
Connect-AzAccount -ServicePrincipal -TenantId $tenantId -Credential $credential | Out-Null
68+
$null = Connect-AzAccount -ServicePrincipal -TenantId $tenantId -Credential $credential
6969
#Set-AzContext -Tenant $tenantId | Out-Null
7070
}
7171
elseif ($null -ne $credential) {

0 commit comments

Comments
 (0)