# How to update SharePoint Client Secret

Follow the steps below to update the client secret for the **FenixPyre** application in **Microsoft Azure**:

#### **Step 1: Access Azure Portal**

1. Open your web browser and navigate to [Azure Portal](https://portal.azure.com/).
2. Sign in using your **Azure administrator credentials**.<br>
3. Once logged in, click on **Azure Active Directory** from the left-hand menu.

   <figure><img src="/files/w9VqixQ72NplQn6GYWAI" alt=""><figcaption></figcaption></figure>

#### **Step 2: Access App Registrations**

1. In the **Azure Active Directory** menu, click on **App Registrations**.

<figure><img src="/files/yeaz33X7K5VdisDtAhFh" alt=""><figcaption></figcaption></figure>

#### **Step 4: Locate the FenixPyre App**

1. In the list of registered applications, locate **FenixPyre(**&#x43;heck for the **Datanchor** app if you have not migrated to FenixPyr&#x65;**)**
2. **Verify the App ID** to ensure you are updating the correct application.

#### **Step 5: Check Certificate Expiry**

1. Under the **Certificates & secrets** section, check if the **current client secret has expired**.

<figure><img src="/files/iEJQ6l9OkjGQTUybqeUA" alt=""><figcaption></figcaption></figure>

#### **Step 6: Create a New Client Secret**

1. Click on **+ New Client Secret**.
2. Enter a **description** (e.g., "FenixPyre Client Secret").
3. Select the desired **expiration period** (e.g., 6 months, 1 year, or 2 years).
4. Click **Add.**<br>

   <figure><img src="/files/qIF3jtoEY3jriyTthOPs" alt=""><figcaption></figcaption></figure>

#### **Step 7: Copy and Store the Client Secret**

1. Once created, **copy the new client secret value immediately**.

   * **Important:** You will not be able to retrieve it later.

   <figure><img src="/files/t8L3o2RgOhA1b07rGDJ3" alt=""><figcaption></figcaption></figure>
2. Store it securely in a **password manager** or a **secure vault**.

#### **Step 8: Update FenixPyre Configuration in Dashboard**

1. Navigate to the FenixPyre (Anchor) dashboard
   * Navigate to <https://admin.anchormydata.com/> or admin.fenixpyre.com if you have migrated to FenixPyre
   * Navigate to \<orgId>.[dashboard.datanchor.io](http://dashboard.datanchor.io/) if you have not migrated to FenixPyre
2. Click on edit and update the client secret ID <br>

   <figure><img src="/files/5u2NswgxnTIH6VZYbwhw" alt=""><figcaption></figcaption></figure>

* **Application (Client) ID**: Locate this on the app’s overview page in Azure.
* **Directory (Tenant) ID**: This is also available on the app’s overview page in Azure.

<figure><img src="/files/gYxSgiRLMH1jzyLabX9l" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://docs.fenixpyre.com/faqs-trouble-shooting/how-to-update-sharepoint-client-secret.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.
