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 0448d45 commit 88450c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Deploy/GrantPermissions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ param(

# Check if the script is running in Azure Cloud Shell
if( $env:AZUREPS_HOST_ENVIRONMENT -like "cloud-shell*" ) {
Write-Host "[+] The script is running in Azure Cloud Shell, Device Code flow will be used for authentication" -ForegroundColor Yellow
Write-Host "[+] The script is running in Azure Cloud Shell, Device Code flow will be used for authentication."
Write-Host "[+] It will look like the connection is coming from the Azure data center and not your client's location." -ForegroundColor Yellow
$DeviceCodeFlow = $true
}

Expand Down

0 comments on commit 88450c1

Please sign in to comment.