Skip to content

Commit

Permalink
Update GrantPermissions.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
piaudonn authored Jun 7, 2024
1 parent 88450c1 commit 9b2ca84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Deploy/GrantPermissions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Write-Host "[+] Connecting to to the Azure subscription: $AzureSubscriptionId"
try
{
if ( $DeviceCodeFlow -eq $true ) {
Connect-AzAccount -Subscription $AzureSubscriptionId -Tenant $TenantId -ErrorAction Stop -UseDeviceAuthentication
Connect-AzAccount -Subscription $AzureSubscriptionId -Tenant $TenantId -ErrorAction Stop -UseDeviceAuthentication | Out-Null
} else {
Login-AzAccount -Subscription $AzureSubscriptionId -Tenant $TenantId -ErrorAction Stop | Out-Null
}
Expand Down

0 comments on commit 9b2ca84

Please sign in to comment.