Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi @mahmoud edreas,
Good day to you! Welcome to Microsoft Q&A.
To resolve the “credential is invalid” error and successfully re-register your device with your university or organization, please follow the steps below:
Step 1: Sign Out and Remove the Work Account
- Sign out of all Office 365 applications (Word, Outlook, Teams, OneDrive) that are currently signed in with your university credentials.
- Open Settings > Accounts > Access work or school.
- If your university account is listed, select it and click Disconnect. Confirm any prompts to remove the account.
- If the account is not listed, proceed to the next step.
Step 2: Clear Cached Credentials
- Open Control Panel and go to User Accounts > Credential Manager.
- Select Windows Credentials.
- Remove any entries related to your university account or Office 365 services. Look for entries that mention your university email, “Office16”, “OneDrive”, or “Teams”.
- Also check Generic Credentials for entries like
MicrosoftAccount:******@school.eduand remove them.
Step 3: Restart the Computer Restart your device to ensure all background processes and cached tokens are cleared.
Step 4: Re-register the Device
- Go to Settings > Accounts > Access work or school.
- Click Connect or + Add account.
- Enter your university email address and password.
- When prompted, choose Yes to allow your organization to manage the device. This step registers your device with Azure AD or Entra ID.
- Complete any additional verification steps, such as multi-factor authentication or Windows Hello setup.
After a short moment, your account should appear under “Access work or school” with a note like “Connected to [Organization Name]”.
Step 5: Sign Back into Office Applications Open any Office application (Word, Outlook, OneDrive) and sign in with your university account. The sign-in should now succeed, and the device will be recognized by your organization’s system.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.