To prevent your device from being Azure AD registered, clear Allow my organization to manage my device, select No, sign in to this app only, and then select OK. This registers your device in Azure AD while adding your account to Workplace Join. By default, the Allow my organization to manage the devices checkbox is selected. Prevent Workplace Join on your deviceĪfter Office successfully authenticates and activates, the Stay signed in to all your apps dialog pops up. The next time an application tries to sign in, users will be asked to add the account again. After this operation, all applications in the current logon session will lose SSO state, and the device will be unenrolled from management tools (MDM) and unregistered from the cloud. This tool removes all SSO accounts in the current Windows logon session.
#REMOVE OFFICE LICENSE FROM MAC DOWNLOAD#
To clear all WAM accounts associated with Office on the device, download and run the signoutofwamaccounts.ps1 script with elevated privileges. In scenarios where all stored credentials (such as domain/tenant migration) must be cleared, clear the additional WAM locations. Open a command prompt as an administrator.
#REMOVE OFFICE LICENSE FROM MAC HOW TO#
Here's how to find out if a device is DJ, AADJ, HAADJ, or WPJ: These configurations use Web Account Management (WAM), which stores credentials in different locations. In a managed environment, more locations store credentials.ĭevices are considered managed if they're Azure AD Joined (AADJ), Hybrid Azure AD Joined (HAADJ), or Workplace Joined (WPJ). The above steps reset the Office activation for unmanaged devices (Domain Joined aka DJ). Clear Office credentials and activation state for managed devices Simply download and run the script with elevated privileges. The four steps above can be automated using OLicenseCleanup.vbs. HKEY_USERS\The user's SID\Software\Microsoft\Office\16.0\Common\Identity.HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity.Open a PowerShell (or command prompt) as Administrator. %localappdata%\Microsoft\Office\Licenses (Microsoft 365 Apps for enterprise version 1909 or later) Lean how to remove Microsoft Office 2019 (or Office 2016) product key with simple command shell scripts.%localappdata%\Microsoft\Office\16.0\Licensing.Office 365 activation tokens and identities HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider.
Remove all Windows credentials listed for Office16 by selecting the drop-down arrow and Remove.Ĭlear the following persisted locations if they exist: Credential Manager Step 3: Remove the stored credentials in Credential Manager If you have Shared Computer Licensing enabled, remove the same identities from the registry HKEY_USERS\The user's SID.