> For the complete documentation index, see [llms.txt](https://docs.blockbrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockbrain.ai/for-admins/classic-microsoft-integrations/onedrive-admin-consent.md).

# OneDrive (Admin Consent)

### 1. **Understand the Admin Consent Request**

* **What You See:** A notification that informs you the application requires admin consent to access organizational resources.
* **Message:** The app cannot be used until an administrator grants the necessary permissions.

**How to Proceed:**

* **If you are an administrator:** Log in using your admin account to approve the request.
* **If you are not an administrator:** Contact your organization's admin to request approval for the app.

### 2. **Review the Requested Permissions**

* This page lists all the permissions the app is requesting, such as:
  * Reading items in site collections.
  * Reading user files.
  * Accessing all files that users can access.
  * Maintaining data access.
  * Reading user profiles.
  * Consent on behalf of the organization (applies permissions for all users in the organization).

**Key Notes:**

* Only administrators can grant "Consent on behalf of your organization."
* Ensure that you carefully review these permissions before proceeding.

### 3. **Approve or Decline the Request**

* If you **trust the app and are an administrator**, click **“Accept”** (Akzeptieren) to grant the requested permissions.
* If you **do not approve**, click **“Cancel”** (Abbrechen) to deny access.

### 4. **Report or Seek Support If Necessary**

* If the app seems suspicious, click **“Report this app”** (Hier melden) to notify Microsoft.
* For further assistance, contact your IT department or system administrator.<br>

{% hint style="warning" %}

#### **Security Reminder** <a href="#security-reminder" id="security-reminder"></a>

* Only approve apps you fully trust and understand.
* Avoid granting permissions that provide broad access to organizational data unless strictly necessary.
  {% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.blockbrain.ai/for-admins/classic-microsoft-integrations/onedrive-admin-consent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
