We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a851aa4 commit be7606cCopy full SHA for be7606c
Modules/CIPPCore/Public/Entrypoints/Invoke-ExecListAppId.ps1
@@ -40,6 +40,7 @@ Function Invoke-ExecListAppId {
40
try {
41
$env:ApplicationID = (Get-AzKeyVaultSecret -AsPlainText -VaultName $keyvaultname -Name 'ApplicationID')
42
$env:TenantID = (Get-AzKeyVaultSecret -AsPlainText -VaultName $keyvaultname -Name 'TenantID')
43
+ Write-Host "Retrieving secrets from KeyVault: $keyvaultname. The AppId is $($env:ApplicationID) and the TenantId is $($env:TenantID)"
44
} catch {
45
Write-LogMessage -message "Failed to retrieve secrets from KeyVault: $keyvaultname" -LogData (Get-CippException -Exception $_) -Sev 'Error'
46
$env:ApplicationID = (Get-CippException -Exception $_)
0 commit comments