When you delete your browsing history, it's automatically stored in your Microsoft account for 30 days. After that, it's permanently deleted.
To view your deleted history:
1. Sign in to the Your info page on the Microsoft account website.
2. Under Your data, select View and clear activity history. (You may need to sign in again.)
Your activity history includes all the searches, websites, and apps you've used with your Microsoft account—including what you've typed and things you've clicked on—as well as location information if you've turned on location services. If there's something in your activity history that you want to keep private, or if you just don't want it saved in your account anymore, you can delete all or part of it.