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

Community site session details

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

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

(2) ShareShare
ReportReport
Posted on by 2
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
    3,735 on at
    How to implement resource exposer policy in ISV app key vaults for Business Central online?
    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,521

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,782 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,953 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans