Forum Discussion
maheshkumaryu
Aug 19, 2022Copper Contributor
Microsoft Teams Stage View fails to load Dynamics 365
I am trying to invoke a stage view through deeplink to view a Dynamics 365 Account record from my Personal Teams app on click of a button. I followed the documentation - https://docs.microsoft.com/en...
Nivedipa-MSFT
Microsoft
Aug 19, 2022maheshkumaryu - We are investigating your query. We will update you soon.
maheshkumaryu
Aug 22, 2022Copper Contributor
Nivedipa-MSFT, any update on this?
- Meghana-MSFTAug 22, 2022
Microsoft
Please verify the contents of webApplicationInfo section:
"webApplicationInfo": { "id": "{AAD App client id}", "resource": "api://{Your tab app domain}/{AAD App client id}" }
Please make sure the domain in webApplicationInfo is same as your tab app's domain, otherwise Teams will return error.
- maheshkumaryuAug 22, 2022Copper ContributorMeghana-MSFT,@Nivedipa-MSFT-
I have a manifest where I have set the resource as "api://localhost:8080/{AAD App client id}" and I run my personal app at https://localhost:8080.
When I set the contentURL as https://localhost:8080 itself to the Stage View, the Teams opens the Stage View and renders my app running in the localhost properly with all authentication and all.
However, I am unable to render a Dynamics 365 record in the Stage View, I think I am getting the contentURL wrong that I need to pass to get Dynamics 365.
Also, when I pass the Dynamics 365 url of a particular entity record to the Stage View, I am getting a pop up saying : "{Personal app name} is unable to show this view
Contact your IT admin if the problem persists."- Meghana-MSFTAug 23, 2022
Microsoft
maheshkumaryu - We will check what could be causing this and get back to you.