Skip to content

Est. 2011ยทMicrosoft Partner 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

Free Fix 0xD000000C

Office for Mac 0xD000000C: the keychain cannot store the sign-in

10 min read Updated October 4, 2026 Office & Microsoft 365 Licensing

Fix it now

Microsoft’s message for 0xD000000C is “The system requires that you sign on to a valid account”, and it names two causes: credentials that cannot be stored in the keychain, and network accounts such as Open Directory whose keychain is read-only. The remedy is the License Removal Tool, then activating while signed in to a local macOS account.

  1. Open a browser and confirm the Mac can reach microsoft.com. Microsoft’s first step for this code is a plain connectivity check.
  2. Quit every Office application, including Outlook and Teams.
  3. Run Microsoft’s License Removal Tool for Mac. It is a .pkg published by Microsoft and it removes all Microsoft 365 for Mac licences.
  4. Open Word and complete the activation prompts. If it fails again and you are signed in to a network or Open Directory account, sign out and sign back in with a local macOS account.
  5. If the Mac has no local account, create one from the Apple menu, in System Settings under Users and Groups, unlock with the padlock, add a user, then log into it and activate there.

The License Removal Tool removes activation data only. Your documents, your Outlook profile and your settings stay where they are, but you will need to sign in or re-enter a key afterwards.

If Office activates you can stop here. If not, the next section explains which Mac activation code means what, because the one people most often blame is a different number.

Why it happens

Start with the code, because this family gets mixed up constantly. 0xD000000C is the keychain code. Microsoft’s page for it publishes the message “The system requires that you sign on to a valid account” and gives two causes: the system cannot properly store credentials, and users signed in through a network account such as Open Directory cannot write credentials to the Mac’s keychain, which is read-only for those accounts.

0xD000001C, one character different, is the computer name code. Microsoft states that the Mac’s name contains invalid characters when it is sent to the server, and its remedy is to change the name in Sharing and restart. If you have been renaming Macs to clear 0xD000000C, you have been applying the fix for its neighbour. It sometimes helps because both end in a fresh activation attempt, which is not the same as it being the cause.

0xD0001043 is a third thing again: Microsoft calls it a server issue, and its first remedy is simply to restart the Mac and activate again, then the License Removal Tool, then uninstall and reinstall. And a dialog showing 0x0 or “License not found” was published by Microsoft as a known issue on macOS, now marked resolved, whose fix is to be on macOS 12 or later and update the Office apps through Microsoft AutoUpdate.

What ties the whole group together is where the licence lives. On the Mac, activation writes licence data into the Office container in your Library folder and stores the identity that obtained it in the login keychain. If either side cannot be written – because the keychain is read-only, or because the container belongs to another machine’s restore – the activation restarts, and it is that restart failing that you see.

The account signed in to macOS cannot write to the keychain

You have this one if The Mac is joined to a directory, or the user signs in with a network or Open Directory account rather than a local one.

  1. Sign out of the network account and sign back in with a local user account, then activate.
  2. If no local account exists, create one from the Apple menu in System Settings under Users and Groups, then log into it.
  3. Confirm activation completes in that account before deciding whether the directory account needs a different arrangement.

This is the cause Microsoft names first, and it is invisible from inside Office. Nothing in the error text mentions directory accounts.

Stale licence data from a previous activation

You have this one if Office arrived on this Mac through Migration Assistant, a restore from a backup of another Mac, or an account change.

  1. Quit all Office applications.
  2. Run Microsoft’s License Removal Tool for Mac.
  3. Restart the Mac.
  4. Open Word and activate from scratch: sign in for a subscription, or enter the key for a perpetual copy.

The code is actually 0xD000001C

You have this one if The last two characters are 1C, not 0C, and the Mac has an unusual name – blank, very long, or full of punctuation.

  1. Change the computer name in the Sharing settings, reachable from the Apple menu under System Settings.
  2. Confirm the change took with scutil --get ComputerName in Terminal.
  3. Restart the Mac, then activate Office.

Where a management profile enforces the name, change it in the management tool. A local change is overwritten at the next check-in.

The dialog shows 0x0 or “License not found”

You have this one if No meaningful code at all, on a Mac that was working before an operating system or Office update.

  1. Confirm the Mac is running macOS 12 or later.
  2. Quit all Office apps, open Microsoft AutoUpdate from the Applications folder, and choose Update All.
  3. For App Store installations, update Word, Excel, PowerPoint, Outlook and OneNote from the App Store Updates section instead.
  4. Reopen Word and let activation complete.

The failure is on Microsoft’s side

You have this one if The code reads 0xD0001043 and nothing about this Mac has changed.

  1. Restart the Mac and try activating again. That is Microsoft’s first documented step for this code.
  2. If it persists, run the License Removal Tool.
  3. If it still persists, uninstall Office for Mac and reinstall it, then restart and activate.

Full reference

Reading the Mac activation codes apart

Code What Microsoft publishes First step
0xD000000C The system requires that you sign on to a valid account; credentials cannot be stored in the keychain, or the account is a read-only network account License Removal Tool, then a local macOS account
0xD000001C The Mac’s name contains invalid characters when sent to the server Rename the Mac in Sharing and restart
0xD0001043 A server issue Restart the Mac and activate again
0x0 or License not found Published as a known issue, now resolved macOS 12 or later, then Microsoft AutoUpdate
0x8A010101 Wrong Microsoft account, or a key from an unofficial source Check which account is signed in

If you go looking in Keychain Access, note that Microsoft’s documented route is the License Removal Tool rather than deleting entries by hand, and that it does not publish which entries the tool clears. Deleting keychain items removes saved credentials, so make sure the person knows the password of the account they are about to sign in with.

Narrowing it to one Mac or one user

  1. Create a fresh local macOS user account and open Word in it. If activation succeeds there, the fault is confined to the original user’s data rather than the machine.
  2. Back in the original account, quit Office and run the License Removal Tool.
  3. Confirm the Mac’s name is a plain one with scutil --get ComputerName, and check the local host name with scutil --get LocalHostName.
  4. Confirm date, time and time zone are correct and set automatically. A clock far enough out breaks the certificate validation that activation depends on.
  5. If it still fails only for that one user, move the Office container folder in that user’s Library aside and let Office rebuild it. Documents are unaffected; toolbars, templates and signatures may need setting up again.

What the License Removal Tool is, and is not

  • It is a .pkg published by Microsoft and it costs nothing. Any site charging for a Mac Office licence cleaner is selling something Microsoft gives away.
  • Microsoft describes it as completely removing all licences for Microsoft 365 for Mac. It does not publish the individual file paths or keychain entries it clears.
  • It removes activation state only. Documents, the Outlook profile and application settings are untouched.
  • Microsoft’s guidance is to confirm your credentials work at the Office sign-in page before running it, so you are not left unable to sign back in.
  • Delete the installer from your Downloads folder afterwards, which is also in Microsoft’s steps.

Managed Macs

Two things behave differently on a managed Mac and both cause repeat visits. The computer name is often enforced by a configuration profile, so a local rename lasts until the next check-in and then reverts, taking any 0xD000001C fix with it. And directory-bound Macs are exactly the population Microsoft’s documented cause for 0xD000000C describes, because their keychain behaviour is what triggers it.

If a whole fleet of directory-bound Macs shows this, the answer is not fifty local accounts. It is to raise the keychain behaviour with whoever manages the directory integration, and in the meantime to use a local account on the machines that need Office working today. Note also that shared computer activation, which solves a related problem on Windows session hosts, is not available for Office for Mac, so it is not the answer here either.

Every code this article covers

Code What it points at Source
0xD000000C The system requires that you sign on to a valid account: credentials cannot be stored in the keychain, or the macOS account is a network account with a read-only keychain Microsoft Support
0xD000001C The Mac’s computer name contains invalid characters when it is sent to the activation server Microsoft Learn
0x0 Published by Microsoft as a known issue on macOS, now marked resolved: run macOS 12 or later and update the apps through Microsoft AutoUpdate Microsoft Support

Confirm the fix worked

  1. Word’s About panel names the subscription or product you expect on the licence line.
  2. scutil --get ComputerName returns a plain name, with no punctuation beyond hyphens.
  3. Outlook opens without prompting for activation.
  4. Restart the Mac and open an Office application again to confirm the state persists.
  5. If you moved to a local macOS account to fix it, confirm whether that is the arrangement you want to keep, or whether the directory integration needs looking at.

Questions people ask about this

Do I have to buy Office again?

No. Nothing here touches your entitlement. A subscription lives on your Microsoft account and a perpetual key lives with your purchase record; neither is consumed by a failed activation.

Is renaming my Mac the fix?

Only if your code is 0xD000001C. That is the code Microsoft ties to invalid characters in the computer name. 0xD000000C is the keychain and network-account code, and renaming the Mac does not address it.

Why does a work account break activation on a Mac?

Because Microsoft documents that users signed in through a network account, such as an Open Directory account, cannot write credentials to the keychain – it is read-only for them. Office needs to store the identity it activated with, and that write fails.

Will the License Removal Tool delete my documents?

No. It removes activation data only. You will need to sign in or re-enter your key afterwards, so confirm those work before you run it.

My colleague on the same subscription has no trouble. Why?

Because this is local state and account type. The same subscription activates without complaint on a Mac with a local account and a writable keychain, which is why the account you sign in to macOS with is more often the variable than the Microsoft account.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

Free Fix Office 0xCAA50021: Microsoft 365 cannot sign you in on this computer Free Fix Office 0x80070426: the Software Protection Platform service is not running Free Fix Office 30174-4: Office setup cannot reach the Microsoft servers at all License Error Office 0x4004F040: activated, but you must verify your Product Use Rights
โ† Back to Knowledge Base