{"id":660,"date":"2025-07-07T11:09:11","date_gmt":"2025-07-07T09:09:11","guid":{"rendered":"https:\/\/www.busted.dk\/blog\/?p=660"},"modified":"2025-07-07T11:26:30","modified_gmt":"2025-07-07T09:26:30","slug":"how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive","status":"publish","type":"post","link":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/","title":{"rendered":"Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Fix ID mismatch in SharePoint or OneDrive is a common issue that occurs when a user returns to your organization or a new account is created using the same email or initials as someone previously deleted. Although permissions may appear correct, the user can suddenly be blocked from accessing shared files or sites with an &#8220;Access Denied&#8221; error. This happens because SharePoint continues to reference the internal ID of the deleted account, creating a hidden conflict that breaks access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you need to fix ID mismatch in SharePoint or OneDrive, Microsoft provides a simple diagnostic tool that helps resolve the problem quickly and without the need for PowerShell or manual cleanup.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What\u2019s Happening?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Behind the scenes, SharePoint stores internal user IDs. If a user is deleted and later re-created with the same UPN (email address) or initials (e.g. <a>abc@domain.com<\/a>), SharePoint may still hold onto the old ID from before. This mismatch breaks permissions, even if they look fine in the UI.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Easy Fix<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft has created a built-in diagnostic tool to fix this exact issue. Here\u2019s how to use it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to: <a class=\"\" href=\"https:\/\/aka.ms\/PillarSiteUserIDMismatch\">aka.ms\/PillarSiteUserIDMismatch<\/a><\/li>\n\n\n\n<li>Sign in as a Global or SharePoint Admin.<\/li>\n\n\n\n<li>Enter the affected user\u2019s UPN (email address) and the URL of the site where access is failing.<\/li>\n\n\n\n<li>Re-share the specific files or folders.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This usually solves the problem right away. In some cases, it can take up to 24 hours for everything to fully sync.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This issue typically occurs when a user is re-created after being deleted or when a new account is made using the same initials or email address as a former user. In these cases, SharePoint may still associate permissions with the old internal identity, causing unexpected access problems. Running the Microsoft diagnostic tool helps remove the outdated reference and quickly restores the correct access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep this one bookmarked. It is a simple fix for a problem that can be surprisingly difficult to troubleshoot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix ID mismatch in SharePoint or OneDrive is a common issue that occurs when a user returns to your organization or a new account is created using the same email or initials as someone previously deleted. Although permissions may appear correct, the user can suddenly be blocked from accessing shared files or sites with an &#8230; <a title=\"Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error\" class=\"read-more\" href=\"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/\" aria-label=\"Read more about Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":662,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,18,1],"tags":[],"class_list":["post-660","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft365","category-sharepoint","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error - Peter Busted<\/title>\n<meta name=\"description\" content=\"Fix ID mismatch in SharePoint or OneDrive when users get access denied after being re-created. Learn how to resolve it using Microsoft\u2019s tool.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Peter\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/\"},\"author\":{\"name\":\"Peter\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\"},\"headline\":\"Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error\",\"datePublished\":\"2025-07-07T09:09:11+00:00\",\"dateModified\":\"2025-07-07T09:26:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/\"},\"wordCount\":338,\"publisher\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\"},\"image\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/ID-Mismatch.png\",\"articleSection\":[\"Microsoft 365\",\"SharePoint\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/\",\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/\",\"name\":\"Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error - Peter Busted\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/ID-Mismatch.png\",\"datePublished\":\"2025-07-07T09:09:11+00:00\",\"dateModified\":\"2025-07-07T09:26:30+00:00\",\"description\":\"Fix ID mismatch in SharePoint or OneDrive when users get access denied after being re-created. Learn how to resolve it using Microsoft\u2019s tool.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/ID-Mismatch.png\",\"contentUrl\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/ID-Mismatch.png\",\"width\":1536,\"height\":1024,\"caption\":\"Banner image related to access denied errors in SharePoint and OneDrive\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/\",\"name\":\"Peter Busted\",\"description\":\"A blog about my daily work with tech and more, running since 2008\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\",\"name\":\"Peter\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\",\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\",\"contentUrl\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\",\"width\":1790,\"height\":357,\"caption\":\"Peter\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\"},\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/author\\\/peter\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error - Peter Busted","description":"Fix ID mismatch in SharePoint or OneDrive when users get access denied after being re-created. Learn how to resolve it using Microsoft\u2019s tool.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/","twitter_misc":{"Written by":"Peter","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/#article","isPartOf":{"@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/"},"author":{"name":"Peter","@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d"},"headline":"Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error","datePublished":"2025-07-07T09:09:11+00:00","dateModified":"2025-07-07T09:26:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/"},"wordCount":338,"publisher":{"@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d"},"image":{"@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/#primaryimage"},"thumbnailUrl":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/07\/ID-Mismatch.png","articleSection":["Microsoft 365","SharePoint"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/","url":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/","name":"Fix ID mismatch in SharePoint or OneDrive \u2013 Solve access denied error - Peter Busted","isPartOf":{"@id":"https:\/\/www.busted.dk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/#primaryimage"},"image":{"@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/#primaryimage"},"thumbnailUrl":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/07\/ID-Mismatch.png","datePublished":"2025-07-07T09:09:11+00:00","dateModified":"2025-07-07T09:26:30+00:00","description":"Fix ID mismatch in SharePoint or OneDrive when users get access denied after being re-created. Learn how to resolve it using Microsoft\u2019s tool.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.busted.dk\/blog\/how-to-resolve-id-mismatch-access-issues-in-sharepoint-and-onedrive\/#primaryimage","url":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/07\/ID-Mismatch.png","contentUrl":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/07\/ID-Mismatch.png","width":1536,"height":1024,"caption":"Banner image related to access denied errors in SharePoint and OneDrive"},{"@type":"WebSite","@id":"https:\/\/www.busted.dk\/blog\/#website","url":"https:\/\/www.busted.dk\/blog\/","name":"Peter Busted","description":"A blog about my daily work with tech and more, running since 2008","publisher":{"@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.busted.dk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d","name":"Peter","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp","url":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp","contentUrl":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp","width":1790,"height":357,"caption":"Peter"},"logo":{"@id":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp"},"url":"https:\/\/www.busted.dk\/blog\/author\/peter\/"}]}},"_links":{"self":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/comments?post=660"}],"version-history":[{"count":3,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts\/660\/revisions"}],"predecessor-version":[{"id":666,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts\/660\/revisions\/666"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/media\/662"}],"wp:attachment":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/media?parent=660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/categories?post=660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/tags?post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}