I developed Microsoft Teams Tab app, which I'm adding to the chat and teams channels.
From the Graph API tab app needs to chceck who is a member of a chat/teams channel, and also read who is a manger among members.
For development (Visual Studio, Blazor) I registered the app in my temporary tenant, I was able to test application in Microsoft Teams as an admin and a a user. It was working properly (everything was on localhost).
Right now I want to test it on the company domain. I tunneled app using ngrok, administrator registered an app in Azure.
I changed manifest to be compatible with information I got from the administrator.
My "webApplicationInfo" (id and resource) are the same as Application (client) ID and Application ID URI from Azure.
When I'm opening a tab in Teams (it doesn't matter if it's web or desktop app) I'm getting error:
ExtensionTabService: getAuthTokenForApp: Failed with error - App resource defined in manifest and iframe origin do not match.
I developed Microsoft Teams Tab app, which I'm adding to the chat and teams channels. From the Graph API tab app needs to chceck who is a member of a chat/teams channel, and also read who is a manger among members. For development (Visual Studio, Blazor) I registered the app in my temporary tenant, I was able to test application in Microsoft Teams as an admin and a a user. It was working properly (everything was on localhost).
Right now I want to test it on the company domain. I tunneled app using ngrok, administrator registered an app in Azure. I changed manifest to be compatible with information I got from the administrator. My "webApplicationInfo" (id and resource) are the same as Application (client) ID and Application ID URI from Azure.
When I'm opening a tab in Teams (it doesn't matter if it's web or desktop app) I'm getting error: ExtensionTabService: getAuthTokenForApp: Failed with error - App resource defined in manifest and iframe origin do not match.
What can I change to make it work?