web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to implement resource exposer policy in ISV app key vaults for Business Central online?

(5) ShareShare
ReportReport
Posted on by 12
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
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,808 Super User 2026 Season 1 on at
    Hello,
     
    Your override isn’t working because the GUIDs in your JSON must be the user’s own Microsoft Entra tenant ID, not the customer’s tenant ID or an app/environment ID.
    This is the #1 reason overrides fail.
     
    Also make sure:
     
    The ISV app itself contains the Key Vault URL in its app.json
     
    launch.json has tenant = <customer tenant>
     
    You’re debugging as a delegated admin or guest
     
    Secret name is exactly BC-ResourceExposurePolicy-Overrides
     
     
    If any of those four elements is wrong, the policy won’t override.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    CU24111138-0 Profile Picture
    12 on at
    Thank you for your response. The JSON shared earlier was only for example purposes — I have already considered and implemented all those steps.

    Please review the attached document below and let me know if you notice any gaps or anything that needs correction.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans