Forum Discussion

JaydenMarquardt's avatar
JaydenMarquardt
Copper Contributor
Jun 28, 2021
Solved

Issue Deploying to tenant app catalog

Hey I have been trying to deploy my package to our tenant and am receiving this error "Invalid SharePoint App package. Error: Part URI is not valid per rules defined in the Open Packaging Convention...
  • ganeshsanap's avatar
    ganeshsanap
    Jun 29, 2021

    JaydenMarquardt Then there maybe a space/dash/underscore in the file name of one of the assets. When you deploy with --ship, it includes all client side assets in package.

     

    So, check all the images/css/js/ts/tsx/fonts assets in your solution and remove space/dash/underscore in their names? Did you check this as well?

     

    In one of our solutions there was spaces in image file names which was causing this issue.


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources