Managing Several SharePoint Sites #3157
dboyd-invitoep
started this conversation in
General
Replies: 1 comment 4 replies
-
Pick 1 of the SharePoint sites to be your 'primary' and symbolically link the other 11 sites 'refresh_token' to the primary one. This way, when the re-authentication is required, you are only doing it once, for all. This should lessen the pain of trolling through logs, and re-auth each individual configurations - you only need to do this once on the 'primary'. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have 12 SharePoint sites synced, each with its own systemd (--user) file which start when I log into the system. My employer's O365 environment requires re-authentication pretty frequently and this is a major hassle. Each of my SharePoint sites has its own onedrive instance running and when one of them has its authentication expire, it's not always clear to me which are still functioning and which have expired. I then go through this painstaking process where I stop each onedrive instance (systemctl --user stop onedrive_<sharepoint_site>), reauth (onedrive --confdir ~/.config/sharepoint/<sharepoint_site> --reauth) log in, paste the response URL, and then restart the client (systemctl --user start onedrive_<sharepoint_site>)
I can't even figure out how to automate this because it requires interacting with a browser. There has to be a better way!
Beta Was this translation helpful? Give feedback.
All reactions