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

Microsoft Azure: Remove Sprinto Access

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

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

Which connection method did you use?

Sprinto can be connected to Microsoft Azure in 4 ways. Find the method you used, then follow the steps in that section.

Connection method
How to tell

Connected through the Azure ChinaCloud tile; the tenant uses the Azure China portal (portal.azure.cn).

Connected through the Azure GovCloud tile; the tenant uses the Azure Government portal (portal.azure.us).

Connected as an Azure management group: sprinto-auditor-app has Reader on the Tenant Root Group management group, inherited by all subscriptions.

sprinto-auditor-app has the Reader role on one subscription (connected with the subscription PowerShell script or the manual steps).


Azure China (21Vianet)

Who must do this: Owner, User Access Administrator or Role Based Access Control Administrator on the subscription or root management group, and at least Cloud Application Administrator in Microsoft Entra ID

What gets removed: Sprinto's Reader access, its client secret, the sprinto-auditor-app app registration and its service principal in your Azure China tenant.

Steps

  1. In the Azure China portal (https://portal.azure.cn), remove Reader where you granted it: Subscriptions → your subscription, or Management groups → Tenant Root Group if you connected a management group. Open Access control (IAM) → Role assignments, tick sprinto-auditor-app (role Reader), select Remove, then Yes.

  2. Sign in to the Azure China Microsoft Entra admin center (https://entra.microsoftonline.cn) as at least a Cloud Application Administrator. Go to Entra ID → App registrations, open sprinto-auditor-app and check its Application (client) ID matches the one you gave Sprinto. Under Certificates & secrets → Client secrets, select the Delete icon next to Sprinto Secret (or sprinto-secret), then Yes.

  3. On the app's Overview page select Delete, tick the box if one appears, then select Delete.

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

  5. Permanently delete its service principal (not shown in the admin center). In Microsoft Entra PowerShell run Connect-Entra -Environment China -ClientId '<your app ID>' -TenantId '<tenant ID>' -Scopes 'Application.ReadWrite.All', then $sp = Get-EntraDeletedServicePrincipal -Filter "DisplayName eq 'sprinto-auditor-app'" and Remove-EntraDeletedDirectoryObject -Id $sp.Id.

Confirm it's removed

sprinto-auditor-app is gone from App registrations (including Deleted applications) in the Azure China Entra admin center, Get-EntraDeletedServicePrincipal -Filter "DisplayName eq 'sprinto-auditor-app'" returns nothing, and no Reader assignment for it remains.

Official guide: Azure China docs: Remove an application


Azure Government

Who must do this: Owner, User Access Administrator or Role Based Access Control Administrator on the subscription or root management group, and at least Cloud Application Administrator in Microsoft Entra ID

What gets removed: Sprinto's Reader access, its client secret, the sprinto-auditor-app app registration and its service principal in your Azure Government tenant.

Steps

  1. In the Azure Government portal (https://portal.azure.us), remove Reader where you granted it: Subscriptions → your subscription, or Management groups → Tenant Root Group if you connected a management group. Open Access control (IAM) → Role assignments, tick sprinto-auditor-app (role Reader), select Remove, then Yes.

  2. In the Azure Government portal (https://portal.azure.us) → Microsoft Entra ID → App registrations → All applications, open sprinto-auditor-app (check its Application (client) ID matches the one you gave Sprinto). Under Certificates & secrets → Client secrets, delete the secret Sprinto Secret (or sprinto-secret).

  3. On the app's Overview page select Delete, tick the box if one appears, then select Delete.

  4. Go to App registrations → Deleted applications, select sprinto-auditor-app, choose Delete permanently and select Yes.

  5. Permanently delete its service principal (not visible in the portal). In PowerShell run Connect-MgGraph -Environment USGov -Scopes "Application.ReadWrite.All", then Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.us/v1.0/directory/deletedItems/microsoft.graph.servicePrincipal?`$filter=appId eq '<client ID>'" and Remove-MgDirectoryDeletedItem -DirectoryObjectId <id from the result>.

Confirm it's removed

sprinto-auditor-app is gone from App registrations (All and Deleted applications) in the Azure Government portal and no Reader assignment for it remains.

Official guide: Microsoft Learn


Management group (organization)

Who must do this: Owner, User Access Administrator or Role Based Access Control Administrator on the Tenant Root Group management group (or a Global Administrator with elevated access) (to remove Reader), and at least Cloud Application Administrator in Microsoft Entra ID (to delete the app)

What gets removed: Sprinto's Reader access at the root management group, its client secret, the sprinto-auditor-app app registration and its service principal, permanently.

Steps

  1. In the Azure portal open Management groups → Tenant Root Group → Access control (IAM) → Role assignments. Tick sprinto-auditor-app (role Reader), select Remove, then Yes.

  2. In the Microsoft Entra admin center → Entra ID → App registrations → All applications, open sprinto-auditor-app (check its Application (client) ID matches the one you gave Sprinto). Under Certificates & secrets → Client secrets, delete the secret Sprinto Secret (or sprinto-secret).

  3. On the app's Overview page select Delete, tick the box if one appears, then select Delete.

  4. Go to App registrations → Deleted applications, select sprinto-auditor-app, choose Delete permanently and select Yes.

  5. Permanently delete its service principal (not visible in the portal). In PowerShell run Connect-MgGraph -Scopes "Application.ReadWrite.All", then Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.servicePrincipal?`$filter=appId eq '<client ID>'" and Remove-MgDirectoryDeletedItem -DirectoryObjectId <id from the result>.

  6. Optional: if you turned on elevated access for this setup and it's still on, go to Microsoft Entra ID → Properties, set Access management for Azure resources back to No and select Save. This doesn't affect reconnecting.

Confirm it's removed

The Tenant Root Group's Role assignments show no sprinto-auditor-app, and the app is not under App registrations (All applications or Deleted applications).

Official guide: Microsoft Learn


Single subscription

Who must do this: Owner, User Access Administrator or Role Based Access Control Administrator on the subscription (to remove Reader), and at least Cloud Application Administrator in Microsoft Entra ID (to delete the app)

What gets removed: Sprinto's Reader access, its client secret, the sprinto-auditor-app app registration and its service principal, permanently.

Steps

  1. In the Azure portal open Subscriptions → the subscription you connected → Access control (IAM) → Role assignments. Tick sprinto-auditor-app (role Reader), select Remove, then Yes.

  2. In the Microsoft Entra admin center → Entra ID → App registrations → All applications, open sprinto-auditor-app (check its Application (client) ID matches the one you gave Sprinto). Under Certificates & secrets → Client secrets, delete the secret Sprinto Secret (or sprinto-secret).

  3. On the app's Overview page select Delete, tick the box if one appears, then select Delete.

  4. Go to App registrations → Deleted applications, select sprinto-auditor-app, choose Delete permanently and select Yes.

  5. Permanently delete its service principal (not visible in the portal). In PowerShell run Connect-MgGraph -Scopes "Application.ReadWrite.All", then Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.servicePrincipal?`$filter=appId eq '<client ID>'" and Remove-MgDirectoryDeletedItem -DirectoryObjectId <id from the result>.

Confirm it's removed

sprinto-auditor-app is not listed under App registrations (All applications or Deleted applications), and the subscription's Role assignments show no sprinto-auditor-app or 'Identity not found' entry.

Official guide: Microsoft Learn