{"id":11853,"date":"2023-05-29T05:33:56","date_gmt":"2023-05-29T12:33:56","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=11853"},"modified":"2023-05-29T05:33:56","modified_gmt":"2023-05-29T12:33:56","slug":"onedrive-folder-permissions","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/onedrive-folder-permissions\/","title":{"rendered":"Q&#038;A: Why Can&#8217;t OneDrive Find my Folder?"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/qa-onedrive-permissions-problem.webp\" style=\"margin-bottom:20px;\" title=\"Why Can't OneDrive Find my Folder?\" alt=\"Why Can't OneDrive Find my Folder?\" border=\"0\" width=\"380\" height=\"160\" \/><\/div>\n<div class=\"blog-qa-question-box\">\n<img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"https:\/\/cdn.coretechnologies.com\/images\/quotes-transparent-21x21.webp\" width=\"21\" height=\"21\" \/>&nbsp;&nbsp;We are currently testing <a href=\"\/products\/AlwaysUp\/Apps\/RunOneDriveAsAService.html\">AlwaysUp to manage OneDrive<\/a> from two Windows 2022 STD 21H2 servers and sharing the data externally.<\/p>\n<p>Installation was very easy but it looks like the sync is not working as expected.<\/p>\n<p>Your FAQ says to try starting OneDrive in the current session. When I did, the attached dialogue popped up behind the AlwaysUp app:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/onedrive-folder-error.png\" class=\"zoomPopup\" title=\"OneDrive folder error\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/onedrive-folder-error.png\" title=\"OneDrive folder error (click to enlarge)\" alt=\"OneDrive folder error\" border=\"0\" \/><\/a><\/div>\n<p>Can you tell me how to troubleshoot this further or how I might resolve the issue?<\/p>\n<p align=\"right\">&mdash; Marcus<\/p>\n<\/div>\n<p>Hi Marcus, thanks for trying AlwaysUp. Fortunately, we have lots of experience running OneDrive as a Windows Service. We&#8217;ll get you going soon!<\/p>\n<p>In fact, we&#8217;ve seen this specific issue before. Let&#8217;s dig into the problem and show you how to fix it.<\/p>\n<h2 class=\"blog-caption\">Your Windows account doesn&#8217;t have explicit rights to the OneDrive folder<\/h2>\n<p>OneDrive is complaining because the user account you specified on the AlwaysUp Logon tab can&#8217;t access the folder. That Windows account needs to be granted permission to the folder for OneDrive to work.<\/p>\n<p>But that&#8217;s strange because OneDrive has no problem reading and writing files in the folder when you start it normally on your desktop!<\/p>\n<p>The issue comes up because:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>Your rights to the OneDrive folder are granted because you are a member of the Administrators group<\/p>\n<\/li>\n<li>\n<p>AlwaysUp <a href=\"\/blog\/onedrive\/windows-service-not-deleting-files\/\">strips away administrative rights<\/a> in order to run OneDrive as a Windows Service<\/p>\n<\/li>\n<\/ol>\n<p>Fortunately, the problem is easy to fix.<\/p>\n<h2 class=\"blog-caption\">How to grant your Windows account its own rights to the OneDrive folder<\/h2>\n<p>Instead of relying on your membership in an administrative group to give you permission to access the OneDrive folder, you should give your account its own rights. Here&#8217;s how to do that, step-by-step:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>Open Windows File Explorer.<\/p>\n<\/li>\n<li>\n<p>Navigate to your OneDrive folder.<\/p>\n<p>Normally that&#8217;s in &#8220;C:\\Users\\[Your User Account]\\OneDrive&#8221;, but it will be elsewhere if someone <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/change-the-location-of-your-onedrive-folder-f386fb81-1461-40a7-be2c-712676b2c4ae\" target=\"_blank\" rel=\"noopener\">changed where OneDrive stores its files<\/a>.\n<\/li>\n<li>\n<p>Right-click your OneDrive folder and choose <b>Properties<\/b>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/select-onedrive-folder-properties.png\" class=\"zoomPopup\" title=\"Choose Folder Properties\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/select-onedrive-folder-properties.png\" title=\"Choose Folder Properties (click to enlarge)\" alt=\"Choose Folder Properties\" border=\"0\" width=\"520\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>In the <b>OneDrive Properties<\/b> window, move to the <b>Security<\/b> tab.<\/p>\n<\/li>\n<li>\n<p>Click <b>Edit<\/b>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/onedrive-folder-properties-edit.png\" class=\"zoomPopup\" title=\"Edit OneDrive Security\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/onedrive-folder-properties-edit.png\" title=\"Edit OneDrive Security (click to enlarge)\" alt=\"Edit OneDrive Security\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>In the <b>Permissions for OneDrive<\/b> window, click <b>Add<\/b>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/add-permissions-for-onedrive-folder.png\" class=\"zoomPopup\" title=\"Add permissions for OneDrive\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/add-permissions-for-onedrive-folder.png\" title=\"Add permissions for OneDrive (click to enlarge)\" alt=\"Add permissions for OneDrive\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>In the <b>Select Users or Groups<\/b> window, enter your Windows username. This must be the same account you specified on the Logon tab in AlwaysUp. For us that&#8217;s &#8220;Mike Jones&#8221; &mdash; a OneDrive user on our Windows 11 QA machine:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/enter-windows-user-for-onedrive.png\" class=\"zoomPopup\" title=\"Enter the Windows user account\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/enter-windows-user-for-onedrive.png\" title=\"Enter the Windows user account (click to enlarge)\" alt=\"Enter the Windows user account\" border=\"0\" \/><\/a><\/div>\n<p>Click <b>OK<\/b>.<\/p>\n<\/li>\n<li>\n<p>Your account will now be listed in the <b>Select Users or Groups<\/b> window. Make sure that it has full control:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/permissions-for-onedrive-full-control.png\" class=\"zoomPopup\" title=\"Grant full control to the folder\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/permissions-for-onedrive-full-control.png\" title=\"Grant full control to the folder (click to enlarge)\" alt=\"Grant full control to the folder\" border=\"0\" \/><\/a><\/div>\n<p>Click <b>OK<\/b>.<\/p>\n<\/li>\n<li>\n<p>And back in the <b>OneDrive Properties<\/b> window, click <b>OK<\/b> to save all your changes:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/onedrive-folder-security-updated.png\" class=\"zoomPopup\" title=\"OneDrive folder security updated\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/onedrive-folder-security-updated.png\" title=\"OneDrive folder security updated (click to enlarge)\" alt=\"OneDrive folder security updated\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<\/ol>\n<p>That&#8217;s it. You should be good to go.<\/p>\n<p>To confirm, please start OneDrive in your current session from AlwaysUp. The error window shouldn&#8217;t pop up &mdash; and the OneDrive icon should appear in your task tray.<\/p>\n<p style=\"margin-top: 30px\">\nHappy syncing!\n<\/p>\n<div align=\"center\">\n<div class=\"cta-button-1\">\n<table role=\"presentation\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"left\">\n<tbody>\n<tr>\n<td align=\"center\"><a href=\"\/blog\/tag\/onedrive\/\" title=\"More about running OneDrive as a Windows Service\"><span><nobr>Read more articles about OneDrive&#8230;<\/nobr><\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/onedrive\/onedrive-directory-junctions\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"OneDrive Doesn&#039;t Sync Directory Junctions\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/onedrive-warning-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">OneDrive Doesn&#039;t Sync Directory Junctions<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/delay-service-start\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How Do I Delay the Start of my Windows Service?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/delay-windows-service-start-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: How Do I Delay the Start of my Windows Service?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/non-admins-control-services-remotely\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Why Can&#039;t Non-Admins Start\/Stop Windows Services Remotely?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/remote-access-check-exemption-list-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: Why Can&#039;t Non-Admins Start\/Stop Windows Services Remotely?<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;We are currently testing AlwaysUp to manage OneDrive from two Windows 2022 STD 21H2 servers and sharing the data externally. Installation was very easy but it looks like the sync is not working as expected. Your FAQ says to try &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/onedrive-folder-permissions\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":11918,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[316,110,127,143,170],"class_list":["post-11853","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-folder-permissions","tag-onedrive","tag-qa","tag-security","tag-troubleshooter"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=11853"}],"version-history":[{"count":18,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11853\/revisions"}],"predecessor-version":[{"id":12053,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11853\/revisions\/12053"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/11918"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=11853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=11853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=11853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}