If the user wants to turn on the cookies in their browser, then they should restart the OneDrive app and then change its Internet Properties settings. For assistance, the user can contact Microsoft support team through www.office.com/setup free installation the product key.
Method To Resolve Cookies Must Be Allowed Error in OneDrive:
First, you have to open Microsoft Edge. Then, you have to click the More actions option which is there in the toolbar and then select Settings. Now, you have to select View advanced settings option. Here, you should scroll down till you reach the Cookies section and just ensure the option is set to Don’t block cookies.
You have to open Chrome and then click on the Tools button which is there in the taskbar. Now, just scroll down and then click on the Show Advanced Settings link. Here, under the Privacy section you have to click on Content Settings. After this, you should tick mark the box which is next to the option Allow local data to be set.
First, you have to open Firefox and then click on Settings. Then, you have to select Options and then choose the Privacy tab. Now under History section, you should select Use custom settings for history. At this point, you should tick mark the box which is next to the option Accept cookies from sites. Here, you have to click the drop-down menu and then choose Always for the option Accept third-party cookies. www office com setup
For this, you have to open the Opera browser. Then, you have to click on Settings and then tap on Privacy and Security. Now, just under the Cookies section you have to activate the option Allow local data to be set.
To close all running apps, you should press the Win+X keys altogether and then select PowerShell as an Admin. Now, you should copy-paste and then run the command:
taskkill /f /im OneDrive.exe
Open OneDrive App Again:
First, you should click on the Cortana search box which is there in your Windows taskbar and then type OneDrive. After this, you should open the OneDrive app just by clicking on it. Here, you have to use the same login credentials if you want to enter into the Microsoft account which you are using on your Computer system. At last, just follow the instructions to finish the login process.
For this, you have to close OneDrive app by pressing Ctrl+Alt+Del keys altogether to run the Task Manager. Now, you should search for OneDrive which is there in the task list and then choose select it and at last, press End Task.
more info this link: If Outlook Hangs When Switching To Calendar! How To Resolve it?