Forum Discussion

CardinalNight's avatar
CardinalNight
Brass Contributor
Oct 04, 2023

How to change the name of a Teams app package using Teams Toolkit (SPFx, VSC)

Hi all,

I can use Teams Toolkit in VSC to publish a package to MS Teams. I can use the Manifest.json to add a custom logo.

What I can't figure out how to do is to change the name of the published app. I've changed the "short" name by removing the: 

 

-${{TEAMSFX_ENV}}

 

 from the "short" name but it still publishes with either local, dev or my own custom creation: "Production".
How to change the name? Also - do you have to click the Provision, Deploy then Publish buttons in succession.

BTW I've read all the docs:
Teams Toolkit Overview - Teams | Microsoft Learn

  • CardinalNight - 

    You can change the name of your published app by modifying the manifest.json file. The short and full names under the description field in the manifest.json file are used to set the name of your app.

    You need to click the Provision, Deploy, and then Publish buttons in succession.

    1. Provision: This step creates all the cloud resources your app needs to run.
    2. Deploy: This step deploys your app to the cloud resources that were created in the Provision step.
    3. Publish: This step publishes your app to Teams where it can be installed and used.

    Each step depends on the previous one, so they need to be done in order. After you've made changes to your manifest.json file, you'll need to go through these steps again to apply the changes.

     

     

     

    Thanks, 

    Prasad Das

    ------------------------------------------------------------------------------------------ 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

  • CardinalNight - 

    You can change the name of your published app by modifying the manifest.json file. The short and full names under the description field in the manifest.json file are used to set the name of your app.

    You need to click the Provision, Deploy, and then Publish buttons in succession.

    1. Provision: This step creates all the cloud resources your app needs to run.
    2. Deploy: This step deploys your app to the cloud resources that were created in the Provision step.
    3. Publish: This step publishes your app to Teams where it can be installed and used.

    Each step depends on the previous one, so they need to be done in order. After you've made changes to your manifest.json file, you'll need to go through these steps again to apply the changes.

     

     

     

    Thanks, 

    Prasad Das

    ------------------------------------------------------------------------------------------ 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

    • CardinalNight's avatar
      CardinalNight
      Brass Contributor
      Thanks for your reply. I noticed it's the local.manifest that you have to change as well as the manifest.json file in order for the Provision, Deploy, Publish to update the name.

Resources