# OneDrive Sync Question

**URL:** <https://discourse.joplinapp.org/t/onedrive-sync-question/11653>\
**Category:** Support\
**Created:** [13 October 2020 17:23 UTC](https://discourse.joplinapp.org/t/onedrive-sync-question/11653 "2020-10-13T17:23:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![johnny](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/johnny/32/3492_2.png) [@johnny](https://discourse.joplinapp.org/u/johnny)\
**Post date:** [13 October 2020 18:42 UTC](https://discourse.joplinapp.org/t/onedrive-sync-question/11653/2 "2020-10-13T18:42:19Z")

</div>

> I don't want to delete the whole configuration (this was the solution in Syncronization - OneDrive) but only to alter and/or review my OneDrive-Sync-Settings. How can I accomplish this?

You won't be able to see your email adress you have used to login for the reason I explained here:

> [@View Synchronization Account Information](https://discourse.joplinapp.org/t/view-synchronization-account-information/11449/2):
>
> Joplin doesn't save this information for OneDrive. Joplin actually doesn't know that. The only way to receive this information requires developer skills: When you log in to OneDrive Joplin receives a refresh and an access Token which allows Joplin to interact with the OneDrive Api. I think you could get the email address by making a http request to the OneDrive Api using the refresh Token which is saved in the DB (I think you basically would need to get an updated Access Token first). The refre…

I think there is no option for changing your onedrive Account or to log out at the moment in the GUI. As workaround you probablly could log out of onedrive by deleting the value of `sync.3.context` in the `settings` table in the database but be aware that users actually are encouraged to not manipulate the database on their own as this can lead to serious problems such as data loss. Also I haven't tested it and don't take any responsibilty. So you should be careful if you do this.

> Additionaly, if I start Joplin at work, it seems that Joplin automagically uses my microsoft business account - instead, I wanted to specify my private account to access my private OneDrive from there

The reason that joplin automatically uses your Business account is that you most likely have ticked the "always login" checkbox in your default Browser for your Business Account. So you should open onedrive in the Browser and log out of your Business Account. When you then click on synchronize the first time after chosen onedrive as sync target you will see the login Dialog in your Browser and you can log in with your private Account. Once logged in with your Private Account in joplin you can again tick the "always login" checkbox for your Business Account if you want.

---

_[View the full topic](https://discourse.joplinapp.org/t/onedrive-sync-question/11653)._
