TppConfiguration error (Failed to add installation access grants due to error 'Unable to verify or create grant rules; MaximumScope must be within the allowed maximum application scope [InvalidScope]')

TppConfiguration error (Failed to add installation access grants due to error 'Unable to verify or create grant rules; MaximumScope must be within the allowed maximum application scope [InvalidScope]')

89
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 12:58 PM


Symptom


You encounter the below error message when trying to request MMC grants on the TPP server using [TppConfiguration.exe -enablemmc] command.

c:\Program Files\Venafi\Platform>TppConfiguration.exe -enablemmc
Please enter the TPP account name: vcc1admin1
Please enter the password for account 'vcc1admin1': ***************
TppConfiguration: Enabling MMC Admin access for user 'V24-3-5\Administrator' with Venafi Account 'vcc1admin1'
TppConfiguration: Failed to add installation access grants due to error 'Unable to verify or create grant rules; MaximumScope must be within the allowed maximum application scope [InvalidScope]'


Environment


24.3 TPP/TLSPDC TLSPDC

Cause


The errors occurs if the MMC API integrations are missing the required scope to request the MMC grants.

In this particular case, the "Venafi Code Signing Administration" was missing the "codesign:admin" scope.



Resolution


  1. Remote into your TPP server.
  2. Open an elevated command prompt.
  3. Import the CodeSign API Integrations using schematool.
    1. "C:\Program Files\Venafi\Platform\SchemaTool.exe" <local_master_admin> "C:\Program Files\Venafi\Schema\OAuthApps\VenafiCodeSignApps.xml"
  4. You will be prompted for a password and get a result message.
    1. C:\Users\Administrator>"C:\Program Files\Venafi\Platform\SchemaTool.exe" vcc1admin1 "C:\Program Files\Venafi\Schema\OAuthApps\VenafiCodeSignApps.xml"
      SchemaTool
      Please enter the password for vcc1admin1:***************
      Schema updated successfully
      
      C:\Users\Administrator>
  5. Navigate to the "API > Integrations" page and ensure the proper scope has been added.
  6. You can always check the original file XML file to see the scope that is imported (C:\Program Files\Venafi\Schema\OAuthApps\VenafiCodeSignApps.xml).
  7. You should now be able to request MMC grants:
    1. c:\Program Files\Venafi\Platform>TppConfiguration.exe -enablemmc
      Please enter the TPP account name: vcc1admin1
      Please enter the password for account 'vcc1admin1': ***************
      TppConfiguration: Enabling MMC Admin access for user 'V24-3-5\Administrator' with Venafi Account 'vcc1admin1'
      TppConfiguration: MMC access granted to user 'V24-3-5\Administrator' with Venafi Account 'vcc1admin1'
      
      c:\Program Files\Venafi\Platform>
  8. Process complete.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001OQ5CAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail