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 58e3a36 commit 3af3902Copy full SHA for 3af3902
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Setup/Invoke-ExecUpdateRefreshToken.ps1
@@ -29,7 +29,7 @@ Function Invoke-ExecUpdateRefreshToken {
29
}
30
Add-CIPPAzDataTableEntity @DevSecretsTable -Entity $Secret -Force
31
} else {
32
- if ($env:ApplicationId -eq $Request.body.tenantId) {
+ if ($env:TenantID -eq $Request.body.tenantId) {
33
Set-AzKeyVaultSecret -VaultName $kv -Name 'RefreshToken' -SecretValue (ConvertTo-SecureString -String $Request.body.refreshtoken -AsPlainText -Force)
34
35
$name = $Request.body.tenantId -replace '-', '_'
0 commit comments