File tree Expand file tree Collapse file tree
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Setup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,10 +89,8 @@ function Invoke-ExecCreateSAMApp {
8989 $Secret | Add-Member - MemberType NoteProperty - Name ' tenantid' - Value $TenantId - Force
9090 $Secret | Add-Member - MemberType NoteProperty - Name ' applicationid' - Value $AppId.appId - Force
9191 $Secret | Add-Member - MemberType NoteProperty - Name ' applicationsecret' - Value $AppPassword - Force
92- Write-Information ($Secret | ConvertTo-Json - Depth 5 )
9392 Add-CIPPAzDataTableEntity @DevSecretsTable - Entity $Secret - Force
9493 } else {
95-
9694 Set-CippKeyVaultSecret - VaultName $kv - Name ' tenantid' - SecretValue (ConvertTo-SecureString - String $TenantId - AsPlainText - Force)
9795 Set-CippKeyVaultSecret - VaultName $kv - Name ' applicationid' - SecretValue (ConvertTo-SecureString - String $Appid.appId - AsPlainText - Force)
9896 Set-CippKeyVaultSecret - VaultName $kv - Name ' applicationsecret' - SecretValue (ConvertTo-SecureString - String $AppPassword - AsPlainText - Force)
You can’t perform that action at this time.
0 commit comments