Rediger

Edit DevOps connectors

After onboarding your Azure DevOps, GitHub, or GitLab environments to Microsoft Defender for Cloud, you might need to change the authorization token for a connector. You might also need to add or remove onboarded organizations or groups, or install the GitHub application to another scope. This article shows how to update those connector settings.

Prerequisites

Before you edit a DevOps connector, make sure you have the following:

Make edits to your DevOps connector

To edit a DevOps connector in Defender for Cloud:

  1. Sign in to the Azure portal.

  2. Go to Microsoft Defender for Cloud > Environment settings.

  3. Identify the connector you want to change.

  4. Select Edit settings for the connector.

    Screenshot of the connector page that shows where to select Edit settings.

  5. Go to Configure access. Here you can exchange tokens, change onboarded organizations or groups, or toggle autodiscovery.

    Note

    If you're the owner of the connector, reauthorizing your environment to make changes is optional. If you're trying to take ownership of the connector, you must reauthorize by using your access token. This change is irreversible as soon as you select Reauthorize.

  6. Use Edit connector account to update onboarded inventory. If an organization or group is grayed out, verify that you have permissions to that environment and that the scope isn't onboarded elsewhere in the tenant.

    Screenshot of the Edit connector account page that shows account selection options.

  7. To save inventory changes, select Next: Review and generate > and then select Update. If you skip Update, Defender for Cloud doesn't save your inventory changes.

Next step