How to close your account
If you set up Desktop Analytics in your environment, and then decide you need to remove it, use this process to close your account.
Only a Global Administrator can close or reactivate the account in the Azure portal.
Process to offboard
Open the Desktop Analytics portal in Microsoft 365 Device Management as a user with the Global Administrator role.
In the Global Settings menu, select Connected services. In the enroll devices section, select the option to Offboard.
If you decide to continue, your account is closed.
Only continue with the rest of this article after 90 days, or if you won't reactivate.
If you want to completely close your account without waiting for 90 days, first Reset your account.
For the next 90 days, any administrator from your organization who accesses the Desktop Analytics portal will see a notice that you opted to offboard.
A global administrator can reactivate the account within 90 days. To restore Desktop Analytics for your organization, select the option to Take me back.
Delete the solution
Only continue with the rest of this article after 90 days, or if you won't reactivate. If you delete and disconnect these other components, don't try to reactivate.
Sign in to the Azure portal as a user with the Global administrator role.
Search in All resources for the name of your Desktop Analytics workspace. This name is what you created when signing up for the service.
Microsoft365Analytics(YourWorkspaceName)of type Solution.
The Desktop Analytics data ages out based on your data retention policy for the workspace. You can continue using any other solutions in same workspace.
If you're using the Log Analytics workspace with other solutions like Windows Analytics, don't delete the workspace.
Remove user and app access
Sign in to the Azure portal as a user with the Global administrator role. Go to Azure Active Directory.
In Roles and administrators, search for the Desktop Analytics administrator role. Remove its members.
In Groups, remove the members of the following groups:
- M365 Analytics Client Admins (Log Analytics Owners)
- M365 Analytics Client Admins (Log Analytics Contributors)
In Enterprise applications, delete or revoke access permissions for the following apps:
The ConfigMgr app. To find the name of this app, go to the Configuration Manager console. In the Administration workspace, expand Cloud Services, and select the Azure Services node. Open the properties of the Desktop Analytics service, and switch to the Applications tab. The Web app is this Azure app.
Before you make changes to this app in Azure AD, make sure that you're not reusing it with another service in Configuration Manager.
Disconnect Configuration Manager
Open the Configuration Manager console as a user with the Full administrator role.
Go to the Administration workspace, expand Cloud Services, and select the Azure Services node.
Delete the Desktop Analytics service.
Delete collections for the pilot and production deployments
In the Configuration Manager console, select Device Collections in the Assets and Compliance workspace.
Delete any collections you're no longer using. By default, the collections are located under the Deployment Plans folder.
On enrolled devices, remove the CommercialID value from the following Windows Registry keys:
Windows diagnostic data configuration
If you don't want your devices to continue sending diagnostic data:
- Windows 10: set the diagnostic data level to Security
- Windows 7 SP1 or 8.1: disable the Commercial Data Opt-in Key
Set these values using one of the following methods:
- Group policy, in Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds
- Mobile device management (MDM), such as Microsoft Intune
For more information, see Configure Windows diagnostic data in your organization.
When you apply these changes, devices immediately stop sending diagnostic data. It may take 24-48 hours for Microsoft to stop processing insights for your workspace. Microsoft deletes this data from its cloud services within 30 days or less.