Something went wrong when run Teams app in local environment

Avery Lin 0 Reputation points
2025-10-08T04:49:39.95+00:00

I run Teams app in local environment but show something went wrong.

Here is the manifest.json. Please take a look, thanks.

<PII removed>

User's image

Microsoft Teams | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Kudos-Ng 7,850 Reputation points Microsoft External Staff Moderator
    2025-10-08T06:57:36.4066667+00:00

    Hi Avery Lin,

    Thank you for posting your question in the Microsoft Q&A forum. 

    Since this is a public platform, I’ve moved the detailed logs to a private message to avoid exposing any personal or organizational information. Please refer to the private message for those details.

    Based on your description, I’ve done some research and would like to ask you a few questions to better understand the issue you’re facing, along with some insights I found:

    What does your local test environment include?
    Are you running the app purely on localhost or using a local-hosted setup with a public HTTPS endpoint (for example, via ngrok or Teams Dev Tunnel)?
    According to Microsoft Learn – Debug your Teams app locally, Teams is a cloud-based service and cannot directly access localhost. To test inside the Teams client, you need a publicly accessible HTTPS URL.

    Have you registered the app in Azure AD and added the Teams channel?
    Check in Azure Portal > App registrations > Channels that Microsoft Teams is added.

    Is your tenant configured to allow custom apps in Teams Admin Center?
    Verify that policies such as Allow uploading custom apps are enabled and allow user to install and use custom apps in Org-wide app settings. See https://free.blessedness.top/en-us/microsoftteams/teams-custom-app-policies-and-settings for more details.

    I also have reviewed the RSC permissions declared in your manifest. Your manifest includes:

    "authorization": {
        "permissions": {
          "resourceSpecific": [
            {
              "name": "MeetingStage.Write.Chat",
              "type": "Delegated"
            },
            {
              "name": "OnlineMeetings.Read",
              "type": "Delegated"
            }
          ]
        }
      },
    

    I have verified that OnlineMeetings.Read is not RSC; it’s a standard Microsoft Graph permission and it must be added under API permissions in your Azure AD app registration.

    References:

    I hope these questions and insights help clarify the key areas to check. Looking forward to your update!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".     

    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.


Your answer

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