A Microsoft file hosting and synchronization service.
How to force switch account of Microsoft v8 file picker
I know that file picker v8 can only use sharepoint tokens or msal token for personal account, because it is cookie based. But my app uses web application flow and must handle both work and personal account, and I need to find away to trigger the file picker to open sign in pop up even when the cookies exist.
When there is no cookie, the graph access token can work because the file picker will handle the sign in flow itself, but if the access token and the cookies do not match, the file picker is stuck at
'please try again or refresh the page. PrefetchFailure...', only when clearing live.com cache can the file picker work again.
So is there away I can trigger the file picker to change the cookie?
Microsoft 365 and Office | OneDrive | For home | Windows
1 answer
Sort by: Oldest
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more