Forum Discussion
ceooptimusprime
May 02, 2024Copper Contributor
MS Teams bot task/fetch desktop app cookies
Issue: In the Teams desktop app, all cookies are not set. Only 2 cookies are getting set in the Teams desktop app. The issue is not seen in the web-based Teams app. In the desktop app, all cookie...
ceooptimusprime
May 09, 2024Copper Contributor
Dinesh-MSFT Please share a update.
Dinesh-MSFT
May 09, 2024Microsoft
Sorry for the delay in the response.
We tried to repro this issue. We couldn't find any error. We are checking this internally and let you know the update.
Update:
What is the size of the cookies that you are trying to set?
Cookies in the Teams Desktop Client are automatically partitioned in order to support Multi-Tenant Multi-Account (MTMA) scenarios.
This same partitioning is also coming to the Web Client with the rollout of 3P Cookie Deprecation (3PCD) in Chrome and Edge. The partitioned cookie jar limit is 10KB so if an app tries to store cookies with a combined size greater than that some of the cookies will get dropped:
If you need to store more than 10KB worth of session data, you can explore using LocalStorage or IndexedDB instead.