{"id":280,"date":"2026-07-30T13:00:41","date_gmt":"2026-07-30T07:00:41","guid":{"rendered":"https:\/\/bytegeeks.net\/blog\/?p=280"},"modified":"2026-08-03T16:28:25","modified_gmt":"2026-08-03T10:28:25","slug":"fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset","status":"publish","type":"post","link":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/","title":{"rendered":"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If a user can log into their Windows profile just fine, but Office apps (Outlook, Teams, Word) keep bouncing them back to a sign-in prompt in an endless loop &#8211; never actually completing authentication &#8211; you&#8217;re likely dealing with a corrupted Azure AD Broker Plugin or Identity Cache on that machine. This is a common issue on domain-joined and Azure AD-joined workstations, and it&#8217;s usually fixable in a few minutes without a full profile rebuild.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why this happens<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Windows caches Azure AD authentication tokens locally so users aren&#8217;t re-prompted constantly. When that cache &#8211; specifically the AAD Broker Plugin data or the Identity Cache folder &#8211; becomes corrupted or falls out of sync with the actual account state in Azure AD, Windows keeps trying to validate against stale, broken tokens. The result is Office repeatedly prompting for sign-in without ever resolving it, even with correct credentials.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fix: Reset the AAD Broker and Identity Cache<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Before you start:<\/strong> sign out of the affected user&#8217;s Windows profile and sign in with an admin account, since you&#8217;ll need admin permissions to access their AppData folders.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <code>C:\\Users<\/code>, select the affected user&#8217;s folder. Windows will prompt for admin permission \u2014 accept it and wait for the folder to load.<\/li>\n\n\n\n<li>Enable <strong>View hidden items<\/strong> (View tab in File Explorer) so you can see the <code>AppData<\/code> folder.<\/li>\n\n\n\n<li>Navigate to <code>AppData\\Local\\Packages<\/code> (i.e. <code>%LocalAppData%\\Packages<\/code>) and locate the folder starting with <code>Microsoft.AAD.BrokerPlugin_<\/code>. Either rename it or delete the contents inside.<\/li>\n\n\n\n<li>Go to <code>AppData\\Local\\Microsoft\\IdentityCache<\/code>. Rename the numbered subfolder inside (e.g. if it&#8217;s named <code>1<\/code>, rename it to <code>1-old<\/code>).<\/li>\n\n\n\n<li>Go to <code>AppData\\Local\\Microsoft\\Office\\Licenses<\/code> and rename the numbered subfolder there the same way (e.g. <code>5<\/code> \u2192 <code>5-old<\/code>) to clear the Office-specific identity cache.<\/li>\n\n\n\n<li>Reboot the machine.<\/li>\n\n\n\n<li>Log back in with the <strong>user&#8217;s own account<\/strong> (not the admin account).<\/li>\n\n\n\n<li>Go to <strong>Settings &gt; Accounts &gt; Access work or school<\/strong>, click <strong>Add account<\/strong>, and re-add the user&#8217;s Office 365 account.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Office should now authenticate normally without looping. If it doesn&#8217;t resolve immediately, a second reboot after step 8 usually clears any remaining cached prompt state.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You don&#8217;t need to delete the renamed folders &#8211; Windows and Office will regenerate fresh ones automatically. Keeping the <code>-old<\/code> versions around briefly gives you a fallback if something looks off after the reboot.<\/li>\n\n\n\n<li>This fix targets local cache corruption specifically. If the loop persists across multiple machines for the same user, the issue is more likely on the Azure AD account side (token revocation, conditional access policy, or MFA state) rather than local cache &#8211; worth checking the user&#8217;s sign-in logs in Entra ID before repeating this on more machines.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you liked this post, view more <a href=\"https:\/\/coldroute.net\/blog\/\" data-type=\"link\" data-id=\"https:\/\/coldroute.net\/blog\/\">here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If a user can log into their Windows profile just fine, but Office apps (Outlook, Teams, Word) keep bouncing them back to a sign-in prompt in an endless loop &#8211; never actually completing authentication &#8211; you&#8217;re likely dealing with a corrupted Azure AD Broker Plugin or Identity Cache on that machine. This is a common [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[18,5],"tags":[25],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-troubleshoot","category-windows","tag-troubleshoot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset) - ByteGeeks<\/title>\n<meta name=\"description\" content=\"Fix an Office 365 sign-in loop on Windows by resetting the AAD Broker Plugin and Identity Cache a step-by-step guide for IT admins.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset) - ByteGeeks\" \/>\n<meta property=\"og:description\" content=\"Fix an Office 365 sign-in loop on Windows by resetting the AAD Broker Plugin and Identity Cache a step-by-step guide for IT admins.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/\" \/>\n<meta property=\"og:site_name\" content=\"ByteGeeks\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-30T07:00:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-03T10:28:25+00:00\" \/>\n<meta name=\"author\" content=\"Redwan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Redwan\" \/>\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:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/\"},\"author\":{\"name\":\"Redwan\",\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/#\\\/schema\\\/person\\\/419ede240aa968b3bf8202cf9e94e792\"},\"headline\":\"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset)\",\"datePublished\":\"2026-07-30T07:00:41+00:00\",\"dateModified\":\"2026-08-03T10:28:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/\"},\"wordCount\":450,\"commentCount\":0,\"keywords\":[\"Troubleshoot\"],\"articleSection\":[\"Troubleshoot\",\"Windows\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/\",\"url\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/\",\"name\":\"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset) - ByteGeeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/#website\"},\"datePublished\":\"2026-07-30T07:00:41+00:00\",\"dateModified\":\"2026-08-03T10:28:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/#\\\/schema\\\/person\\\/419ede240aa968b3bf8202cf9e94e792\"},\"description\":\"Fix an Office 365 sign-in loop on Windows by resetting the AAD Broker Plugin and Identity Cache a step-by-step guide for IT admins.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/\",\"name\":\"ByteGeeks\",\"description\":\"Your one-stop shop for everything IT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/#\\\/schema\\\/person\\\/419ede240aa968b3bf8202cf9e94e792\",\"name\":\"Redwan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g\",\"caption\":\"Redwan\"},\"description\":\"Just your average IT guy talking about IT stuff.\",\"sameAs\":[\"https:\\\/\\\/bytegeeks.net\\\/blog\"],\"url\":\"https:\\\/\\\/bytegeeks.net\\\/blog\\\/author\\\/redmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset) - ByteGeeks","description":"Fix an Office 365 sign-in loop on Windows by resetting the AAD Broker Plugin and Identity Cache a step-by-step guide for IT admins.","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:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/","og_locale":"en_US","og_type":"article","og_title":"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset) - ByteGeeks","og_description":"Fix an Office 365 sign-in loop on Windows by resetting the AAD Broker Plugin and Identity Cache a step-by-step guide for IT admins.","og_url":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/","og_site_name":"ByteGeeks","article_published_time":"2026-07-30T07:00:41+00:00","article_modified_time":"2026-08-03T10:28:25+00:00","author":"Redwan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Redwan","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/#article","isPartOf":{"@id":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/"},"author":{"name":"Redwan","@id":"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/419ede240aa968b3bf8202cf9e94e792"},"headline":"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset)","datePublished":"2026-07-30T07:00:41+00:00","dateModified":"2026-08-03T10:28:25+00:00","mainEntityOfPage":{"@id":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/"},"wordCount":450,"commentCount":0,"keywords":["Troubleshoot"],"articleSection":["Troubleshoot","Windows"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/","url":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/","name":"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset) - ByteGeeks","isPartOf":{"@id":"https:\/\/bytegeeks.net\/blog\/#website"},"datePublished":"2026-07-30T07:00:41+00:00","dateModified":"2026-08-03T10:28:25+00:00","author":{"@id":"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/419ede240aa968b3bf8202cf9e94e792"},"description":"Fix an Office 365 sign-in loop on Windows by resetting the AAD Broker Plugin and Identity Cache a step-by-step guide for IT admins.","breadcrumb":{"@id":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bytegeeks.net\/blog\/fix-office-365-sign-in-loop-on-windows-aad-identity-cache-reset\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bytegeeks.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Fix Office 365 Sign-In Loop on Windows (AAD Identity Cache Reset)"}]},{"@type":"WebSite","@id":"https:\/\/bytegeeks.net\/blog\/#website","url":"https:\/\/bytegeeks.net\/blog\/","name":"ByteGeeks","description":"Your one-stop shop for everything IT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bytegeeks.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/419ede240aa968b3bf8202cf9e94e792","name":"Redwan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g","caption":"Redwan"},"description":"Just your average IT guy talking about IT stuff.","sameAs":["https:\/\/bytegeeks.net\/blog"],"url":"https:\/\/bytegeeks.net\/blog\/author\/redmin\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":3,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts\/280\/revisions\/283"}],"wp:attachment":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}