Local Storage not persisted in Edge(iOS) when logged in with enterprise account

LamYiKwan-5547 20 Reputation points
2023-10-20T05:53:56.8633333+00:00

[Device/App/Versions]

iPhone SE/XR/12 pro

Edge 117.0.2045.65

[Steps to reproduce]

In Edge setting, login with enterprise account

Go to the following site and click the button a few time (say 3 time) (the click count is stored in local storage)
https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_webstorage_local_clickcount

Close Edge in app switcher and start it again

Go to the site in step 2 again. Click the button and the click count starts again from 1 (expecting 4 as clicked 3 times in step 2)

[Expectation]

After step3 (restart of edge), local storage should persist and click count should continue counting.

[More information]

No login or logging in with personal account during step1 will not reproduce the problem. The local storage persists as expected and click count continues counting.

[Questions]

Is the behavior described above (non-persistent local storage) a bug or feature of enterprise account?

If it is a feature of enterprise account, is there any related documentation describing the behavior and the purpose of the feature?

If it is a feature of enterprise account, is there any way to turn off the feature?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,238 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yu Zhou-MSFT 12,951 Reputation points Microsoft Vendor
    2023-10-20T08:48:10.4333333+00:00

    Hi @LamYiKwan-5547

    This is a known issue on Edge for iOS. This behavior is caused by a design limitation of Edge for iOS.

    This behavior was first changed with the release of Edge for iOS Stable version 114. The following PersistentWebsiteDataStore policy must also be configured to enable the local storage persistence for AAD-based accounts: https://learn.microsoft.com/en-us/mem/intune/apps/manage-microsoft-edge#ios-website-data-store.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,

    Yu Zhou


0 additional answers

Sort by: Most helpful