How to change "Go to Website" Globe Icon link in ms teams app

Pushpanjay Umrao 161 Reputation points
2021-05-12T08:26:44.3+00:00

I have created a spfx webpart that i am using as teams app as well. I have added the app in the app catalog and click the "Sync to Teams" . This creates the team app as well the app manifest file. Is there a way to change the default website. I dont see the option to do the same even in teams admin center under app management. Is there any change that i can make in my spfx project to do so.
95928-image.png

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

Accepted answer
  1. akash 81 Reputation points
    2021-05-28T13:43:27.427+00:00

    Hi @Pushpanjay Umrao ,

    You can achieve this by upgrading framework solution to V1.11.0 and above, then you can specify an additional developer section in package-solution.json file e.g. below, deploy your package as usual and sync to teams. No need to create separate manifest file.

    "developer": {
    "name": "Contoso",
    "privacyUrl": "https://contoso.com/privacy",
    "termsOfUseUrl": "https://contoso.com/terms-of-use",
    "websiteUrl": "https://contoso.com/my-app",
    "mpnId": "000000"
    }

    Details mentioned here https://learn.microsoft.com/en-us/sharepoint/dev/spfx/publish-to-marketplace-checklist

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,126 Reputation points
    2021-05-13T02:57:54.383+00:00

    Hello, @Pushpanjay Umrao ,

    To change other properties (such as the website url), you need to use your own Microsoft Teams app manifest & app package instead of letting SharePoint Online dynamically create it.

    96108-image.png

    You could refer to this article:https://learn.microsoft.com/en-us/sharepoint/dev/spfx/deployment-spfx-teams-solutions

    The Sync to Teams button will creat the Microsoft Teams app manifest, and only few properties can be set in teams:

    96186-image.png

    Besides, the app studio in Teams is a good tool to create app manifest & app package: https://microsoft.github.io/botframework-solutions/clients-and-channels/tutorials/enable-teams/4-create-app-manifest/


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. MichaelHan-MSFT 18,126 Reputation points
    2021-05-18T08:50:46.727+00:00

    Hi, @Pushpanjay Umrao ,

    The id doesn't matter. And the file must be named TeamsSPFxApp.zip and placed in the ./src/teams folder.

    Besides, this feature is only available in SharePoint Framework new version v1.12.1: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/release-1.12.1

    So, if you are using v1.11.0, you need to upgrade projects from v1.11.0 to v1.12.1.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.