> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omnifact.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Admin Consent

> How to authorize Omnifact to access your organization's SharePoint and OneDrive

When connecting **SharePoint** or **OneDrive** to Omnifact, you may encounter a message stating that **Admin Authorization is Required**.

This is a standard security setting within Microsoft Entra ID (formerly Azure Active Directory) that prevents third-party applications from accessing your organization's data without explicit approval from an IT Administrator.

<Note>
  **This is not an error.** This is a security policy enabled by your organization to ensure only approved applications can access your corporate data.
</Note>

## Identifying the Requirement

You might first notice this requirement when connecting SharePoint or OneDrive in [Account Settings > Connections](/en/platform/core-features/account-settings/user-profile-and-personalization#connections) or when choosing cloud storage while uploading files in chat.

<Frame>
  <img src="https://mintcdn.com/omnifact/pnnSIu14K5V1_pCJ/images/integrations/connect-sharepoint.png?fit=max&auto=format&n=pnnSIu14K5V1_pCJ&q=85&s=14b05c559a48e4af04c363a82807cf2b" alt="Connect SharePoint Modal" width="487" height="707" data-path="images/integrations/connect-sharepoint.png" />
</Frame>

After logging in with your credentials you may see one of the popups below. Seeing the first popup will allow you to request approval for Omnifact to access your organization's data. The second popup (Need admin approval) appears if your organization has disabled the ability for users to request approval directly. In this case, you must use the Authorization Flow below to generate a manual link.

<CardGroup cols={2}>
  <Card title="Permission requested" icon="user-check">
    <img src="https://mintcdn.com/omnifact/pnnSIu14K5V1_pCJ/images/integrations/microsoft-permissions-screen.png?fit=max&auto=format&n=pnnSIu14K5V1_pCJ&q=85&s=956151d8644155a0c1305b0706e50e8f" alt="Admin Consent Required Popup" width="494" height="737" data-path="images/integrations/microsoft-permissions-screen.png" />
  </Card>

  <Card title="Need admin approval" icon="lock">
    <img src="https://mintcdn.com/omnifact/pnnSIu14K5V1_pCJ/images/integrations/admin-consent-required.png?fit=max&auto=format&n=pnnSIu14K5V1_pCJ&q=85&s=f1d0d0ab6a3777afe15ea3855ced96eb" alt="Admin Consent Required Popup" width="490" height="629" data-path="images/integrations/admin-consent-required.png" />
  </Card>
</CardGroup>

## The Authorization Flow

To enable the integration, a **Microsoft Global Administrator** must grant "Tenant-Wide Consent" to Omnifact. This is a one-time process. Once approved, all users in your workspace will be able to connect their accounts.

### 1. Locate the Authorization Link

Go to **Team Settings > Integrations**. Click the link button that says **"Need to authorize Omnifact in your organization?"**

<Frame>
  <img src="https://mintcdn.com/omnifact/pnnSIu14K5V1_pCJ/images/integrations/team-settings-authorize-link.png?fit=max&auto=format&n=pnnSIu14K5V1_pCJ&q=85&s=97ed6e904475039e5450b501fdb1b647" alt="Team Settings Integrations Page" width="859" height="360" data-path="images/integrations/team-settings-authorize-link.png" />
</Frame>

### 2. Open the Admin Popup

Clicking that link opens a popup that allows you to authorize Omnifact to access your organization's data.

<Frame>
  <img src="https://mintcdn.com/omnifact/pnnSIu14K5V1_pCJ/images/integrations/admin-consent-required-popup.png?fit=max&auto=format&n=pnnSIu14K5V1_pCJ&q=85&s=76176aa76dd8967dba0c6805225d4ab7" alt="Admin Authorization Popup" width="653" height="730" data-path="images/integrations/admin-consent-required-popup.png" />
</Frame>

Choose the option below that matches your role:

#### **Option A: I am a Microsoft Global Administrator**

1. Click the purple **Authorize Organization** button.
2. You will be redirected to Microsoft. Log in with your Microsoft Admin credentials.
3. Review the permissions requested by Omnifact.
4. Check the box **"Consent on behalf of your organization"** and click **Accept**.

<Frame>
  <img src="https://mintcdn.com/omnifact/pnnSIu14K5V1_pCJ/images/integrations/authorize-organization-button.png?fit=max&auto=format&n=pnnSIu14K5V1_pCJ&q=85&s=bb48a5039c74f32eb57645fb81062b3c" alt="Authorize Organization Button" width="653" height="730" data-path="images/integrations/authorize-organization-button.png" />
</Frame>

#### **Option B: I am not a Microsoft Administrator**

If you are not a Microsoft Global Administrator, you cannot approve the app yourself.

1. In the popup, find the **"Need to request access?"** section.
2. Click **Copy** to grab the secure authorization link.
3. Send this link to your IT Administrator (via email, Slack, or Teams).

<Frame>
  <img src="https://mintcdn.com/omnifact/pnnSIu14K5V1_pCJ/images/integrations/request-access-link.png?fit=max&auto=format&n=pnnSIu14K5V1_pCJ&q=85&s=e73a14b1c0e4b2d82754851aed91dd13" alt="Request Access Link" width="653" height="730" data-path="images/integrations/request-access-link.png" />
</Frame>

<Note>
  **Why do I need to send a link?**
  Depending on your organization's Azure settings, you might be blocked from requesting access directly inside Microsoft's interface. Sending this link ensures your Admin goes directly to the correct approval page.
</Note>
