# Microsoft O365 Expired Client Secret Key

### Create a new client secret key in Microsoft

1. Log in to the [Microsoft Azure Portal](https://portal.azure.com/).
2. From the left menu, navigate to **Microsoft Entra ID** and then select **App Registrations**.
3. Click the **All Applications** tab and search for and open the `radiantsecurity-connector`.
4. On the left sidebar menu, click **Certificates & Secret**.
5. Click + **New client secret**, click **Add**, and enter the following:&#x20;
   * **Description**: `Radiant Security Connector`
   * **Expires**: `12 months`
6. Copy the **Value** (*not* the Secret ID field)**.**

{% hint style="warning" %}
**Important note:** Ensure you copy the **Client Secret value** now, as you won't be able to look it up again later. It will be provided to Radiant Security at the end of this configuration.
{% endhint %}

### Update client secret key in Radiant Security

1. Login to [Radiant Security](https://app.radiantsecurity.ai/).
2. Use the left navigation bar to open **Settings > Credentials.**
3. Locate the **Microsoft O365** credential to update.
4. Hover over the credential and click the icon that appears on the right side <img src="https://2439665791-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPsFulb2ZOtSPcRSc2rXE%2Fuploads%2Fwkg8AjIuS7ckm1txWeYm%2Fright.png?alt=media&#x26;token=3982cd88-7735-4a1d-bb90-df78ec48daa6" alt="" data-size="line">.
5. In the right-side menu that appears, click **Actions** and select **Edit Credentials**.
6. Update the **Client Secret Value**.
7. Click **Apply Update**.
   * All other fields can remain unchanged.
