> For the complete documentation index, see [llms.txt](https://docs.prismacloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prismacloud.io/content-collections/data-security-posture-management/prisma-cloud-dspm-deployment/deploy-prisma-cloud-dspm-on-azure/offboarding-azure.md).

# Offboarding Azure

This article describes how to off-board Data Security Posture Management (DSPM) and remove associated roles, ensuring that DSPM no longer has access or the ability to perform actions within the environment after completion.

**NOTE**: To temporarily stop DSPM, without offboarding the account, refer to [Monitoring an Account](https://docs.prismacloud.io/en/enterprise-edition/content-collections/data-security-posture-management/how-to-articles/configure-the-scanning-settings-for-supported-services#monitoring-an-account).

Do the following for each subscription in the tenant, meaning the subscriptions onboarded to the Prisma Cloud platform.

1. Navigate to the **Subscription’s Access Control** (IAM) and click the **Role assignments** tab. Enter **dig-security** in the search bar. Ensure that the signed-in user has permissions to view and edit role assignments.

   **NOTE**: If the resource group was deleted before the role assignments, you may see “Null” values in the Name/Role fields. Be sure to locate and delete these assignments.

   ![](/files/wGXCm0GIWCQmnJgf7vFk)
2. Select all relevant assignments and click **Remove**.
3. Go to the **Roles** tab, find and select all **dig-security** roles, and click **Remove**.\
   ![](/files/0YEbGGArSIG2kWrZiG82)
4. In the **Subscription Resource** section, search for **dig-security**.\
   ![](/files/Mc86OOpJWqsb8kPBkzVy)
5. If any resource groups are locked, access the lock and delete it (if applicable).\
   ![](/files/y7K51t8IQv4oIc5wIMvH)
6. Return to the **Resource group Overview** page, and delete the resource group.\
   ![](/files/PENMoBduAfrwcrR4qrau)
7. Click **Activity log**, and select **Export Activity Log** for the relevant subscription.\
   ![](/files/9p9av7hQZRLdd8gunqZK)
8. Choose the DSPM setting **stream\_to\_dig\_eventhub**, and click **Edit setting**.
9. In the **Diagnostic settings**, page, click **Delete**, and when prompted click **Yes**.\
   ![](/files/WknuJxDYKkYA32hzp1Tk)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.prismacloud.io/content-collections/data-security-posture-management/prisma-cloud-dspm-deployment/deploy-prisma-cloud-dspm-on-azure/offboarding-azure.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
