New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS M365 - Something went wrong [2400] error with webApplicationInfo section #2217
Comments
Hi @onmomo, just wanted to check. Is this something you're running into on the iOS client of Teams specifically, or is it somewhere else? |
Hi @TrevorJoelHarris, this occurs if our teams app is opened inside the iOS M365 native app with said manifest.json version 1.13. This manifest.json works without issues for all the other supported apps (Teams iOS / Android, Outlook iOS / Android, Teams Desktop and Web). |
Hello @onmomo - Could you please confirm whether you have implemented any SSO in your application and let us know what all are the features included? |
@ChetanSharma-msft thanks for coming back to me. We implemented external SSO flow. We require the webApplicationInfo section for our teams app backend to communicate with our multi tenant AAD registered App. This is the most basic manifest.json I was able to come up with. It allows to easily reproduce the error. Please also find the attached packaged app to reproduce it quickly.
I figured out that the contents of webApplicationInfo -> resource attribute is essential to allow reproducing this issue. If I put any url there, the error won't occur. Whereas, if I put the correct url there, the error is triggered. |
Hi @onmomo, thanks for the detailed repro! We are checking this issue and will provide updates soon. |
@onmomo I just want to let you know that I'm able to reproduce the problem with the sample app you provided (Thanks!) and I'm working with the M365 app team to make traction on the cause. We haven't forgotten about you! |
Thanks for your patience while I investigated this issue. The M365 app team is located on the other side of the world than I am so collaboration has taken a little longer than usual due to time zone differences. I don't have a clear fix for the issue yet, but we've been able to debug that the problem exhibited by the sample app you provided is because of how our system tries to prefetch authentication tokens for apps as a performance improvement for when they actually later request the auth token. In your sample app, one problem is that the I am still getting to the bottom of this and will report back when I have more details. Thanks! |
@onmomo Related to what I wrote above, the issue that repros with the sample app you provided is because apps are only allowed to request tokens for domains that their app lives on. E.g., if the URL of the page requesting a token is Obviously we have a bug to fix because our prefetch action shouldn't ever trigger UI, even in the case of an error, since it will be confusing to the user and/or developer since it won't be clear what caused it. However, given the sample manifest you provided, the app could never actually work like that because the content URL domain ( |
We learned that iOS M365 app is not able to load a teams app with
webApplicationInfo
section correctly.Once we removed the complete section, the error was gone
Just changing the resource string to something like
"resource": "api://{{APPLICATION_ID}}"
did not resolve it in the end.@vikramtha could you escalate this again internally, please?
cross post of (don't know where to report mobile app bugs actually)
The text was updated successfully, but these errors were encountered: