Skip to content

Commit 156f966

Browse files
committed
Update Get-CIPPAuthentication.ps1
1 parent f24f5f6 commit 156f966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Get-CIPPAuthentication.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function Get-CIPPAuthentication {
2424
$SubscriptionId = $env:WEBSITE_OWNER_NAME -split '\+' | Select-Object -First 1
2525
try {
2626
$Context = Get-AzContext
27-
Write-Information "Current context: $($Context.Subscription.Name)"
27+
Write-Information "Current context: $($Context | ConvertTo-Json)"
2828
if ($Context.Subscription.Id -ne $SubscriptionId) {
2929
Write-Information "Setting context to subscription $SubscriptionId"
3030
$null = Set-AzContext -SubscriptionId $SubscriptionId

0 commit comments

Comments
 (0)