Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Microsoft Defender for Endpoint: Remove Sprinto Access

Remove the access Sprinto was given in Microsoft Defender for Endpoint. Covers every way Sprinto can be connected to Microsoft Defender for Endpoint and the steps to take in Microsoft Defender for End

Use this guide to remove the access you gave Sprinto in Microsoft Defender for Endpoint. These steps are done in Microsoft Defender for Endpoint, not in Sprinto. To connect Microsoft Defender for Endpoint to Sprinto again later, see Microsoft Defender Endpoint Integration.

Which connection method did you use?

Sprinto can be connected to Microsoft Defender for Endpoint in 2 ways. Find the method you used, then follow the steps in that section.

Connection method
How to tell

Clicked 'Connect to Microsoft Defender…' and accepted a Microsoft admin-consent screen (did not enter any IDs or secret).

Entered a Directory (tenant) ID, Application (client) ID and client secret from your own Entra app when connecting Defender.


Who must do this: Cloud Application Administrator (or Application Administrator / Global Administrator) in Microsoft Entra ID

What gets removed: The partner Defender app consented in your tenant is permanently deleted.

Steps

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator and go to Entra ID → Enterprise apps → All applications. Clear the Application type filter so every app is listed.

  2. Find the app you approved on the consent screen: open likely matches → Permissions → Admin consent tab and look for WindowsDefenderATP permissions such as Machine.Read.All. Copy its Application ID from Overview.

  3. Open the app → Properties → Delete → Yes.

  4. Permanently delete it. Deleted apps stay in a 30-day recycle bin that the admin center can't empty, so in Graph Explorer run GET https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.servicePrincipal?$filter=appId eq 'APP_ID' (APP_ID = the Application ID you copied), copy the id it returns, then run DELETE https://graph.microsoft.com/v1.0/directory/deletedItems/{id}. PowerShell alternative: Remove-MgDirectoryDeletedItem -DirectoryObjectId {id}.

  5. If you ever blocked this app, undo it or reconnecting will fail: remove it from any Conditional Access policy that targets it (Entra ID → Conditional Access → Policies → Target resources), and if it's banned in the Microsoft Defender portal (Cloud apps → OAuth apps), select Unban app.

Confirm it's removed

Search Enterprise apps → All applications (Application type filter cleared) for the Application ID: no result. The Graph GET /directory/deletedItems/microsoft.graph.servicePrincipal?$filter=appId eq '…' query returns an empty list.

Official guide: Microsoft Learn: Delete an enterprise application


Defender connection (your own app registration)

Who must do this: Cloud Application Administrator, Application Administrator or owner of the app registration in Microsoft Entra ID

What gets removed: The app registration you created for the Defender connection, its client secret and its service principal are permanently deleted.

Steps

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator and go to Entra ID → App registrations → All applications. Open the app whose Application (client) ID matches the one you entered when connecting Defender.

  2. Go to Certificates & secrets → Client secrets and delete the secret created for this connection.

  3. Go back to Overview, select Delete, tick the box if one appears, and select Delete.

  4. Go to App registrations → Deleted applications, select the app, select Delete permanently, then Yes.

  5. Permanently delete its leftover enterprise app: in Graph Explorer run GET https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.servicePrincipal?$filter=appId eq 'APP_ID' (APP_ID = the Application (client) ID), copy the id, then run DELETE https://graph.microsoft.com/v1.0/directory/deletedItems/{id}.

  6. Optional: delete any saved copies of the client secret (password manager, files, chat). This doesn't affect reconnecting.

Confirm it's removed

App registrations → All applications and → Deleted applications no longer show the Application (client) ID, and the Graph deletedItems query for that appId returns an empty list.

Official guide: Microsoft Learn: Remove a registered app