Cannot register Application ID URI at Teams app SSO

Takashi Shinohara 71 Reputation points MVP
2021-02-08T12:16:20.993+00:00

Hi all,

I am tring to developing a Teams tab app which supports SSO. I deployed the app to the Azure App Service, and registered Azure AD app.

Single sign-on (SSO) support for tabs

However, an error occurred and the Application ID URL cannot be set. The error is:

Failed to update application property. Error detail: The host name should not be based on already owned domain paramName.

the Application ID URL is like below:

api://contoso.azurewebsites.net/00000000-0000-0000-0000-000000000000

When I contacted Azure support, I was told that azurewebsites.net is reserved by Microsoft. I was recommended to use https://contoso.azurewebsites.net/00000000-0000-0000-0000-000000000000, but it does not work.

App resource defined in manifest and iframe origin do not match

Is it any solutions?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,836 questions
{count} votes

Accepted answer
  1. Nikitha-MSFT 541 Reputation points
    2021-02-12T07:17:58.54+00:00

    Currently using Domain as *.azurewebsites.net is not supported. Could you please check this docs for more info. Also check the below screen shot.

    67229-image.png

    Thanks,
    Nikitha.


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

0 additional answers

Sort by: Most helpful