We have created the Key Vault at Azure and provided the required access and user the Key Vault URL used in the app.json in Business Central, and then "BC-ResourceExposurePolicy-Overrides secret" the resource exposure policy to test the customer tenant as shown below, script run in PowerShell, but still not able to override ISV APP "ResourceExposurePolicy" in the dependent app
$json = '{
"allowDebugging": [
"9e2b6561-1ba6-4790-abcc-c84abf9a8961"
],
"allowDownloadingSource": [
"9e2b6561-1ba6-4790-abcc-c84abf9a8961"
],
"includeSourceInSymbolFile": [
"9e2b6561-1ba6-4790-abcc-c84abf9a8961"
]
}'
$Secret = ConvertTo-SecureString -String $json -AsPlainText -Force
Set-AzKeyVaultSecret -VaultName "YourKeyVaultName" -Name "BC-ResourceExposurePolicy-Overrides" -SecretValue $Secret