> For the complete documentation index, see [llms.txt](https://help.radiantsecurity.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.radiantsecurity.ai/radiant-connectors/email-and-collaboration/microsoft-o365/microsoft-o365-expired-client-secret-key.md).

# Microsoft O365 Expired Client Secret Key

### Prerequisites

* [ ] Admin access to Microsoft 365

### 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="/files/64x412u1IqKnfU98T7tR" 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.


---

# 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:

```
GET https://help.radiantsecurity.ai/radiant-connectors/email-and-collaboration/microsoft-o365/microsoft-o365-expired-client-secret-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
