# Microsoft Credentials

**URL:** <https://community.n8n.io/t/microsoft-credentials/257878>\
**Category:** Questions\
**Tags:** credentials, microsoft\
**Created:** [January 29, 2026, 4:12pm UTC](https://community.n8n.io/t/microsoft-credentials/257878 "2026-01-29T16:12:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas28](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@Lucas28](https://community.n8n.io/u/Lucas28)\
**Post date:** [January 29, 2026, 4:12pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/1 "2026-01-29T16:12:21Z")

</div>

### Issue configuring SharePoint credentials in n8n

I’m struggling to properly configure SharePoint credentials in n8n and I’m not sure whether they should be set up via the Microsoft SharePoint credential or directly via Azure Entra ID (Azure AD). In both cases, the credentials can be created and validated successfully in n8n, but when I use them in my workflows, I don’t get access to the content inside SharePoint. I’m unable to list sites, document libraries, or folders, even though they already exist. I also don’t get any explicit error or logs to understand what’s failing, which makes it hard to troubleshoot. At this point, it’s unclear whether the issue comes from missing permissions, an incorrect credential type, or an additional configuration required on the SharePoint or Azure side.

Any advices ?

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [January 29, 2026, 4:51pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/2 "2026-01-29T16:51:33Z")

</div>

Hi @Lucas28

This usually comes down to **permissions and API scope** , not the credential type itself.

**Recommended setup:**

- Use **Azure Entra ID (Azure AD) App Registration** credentials in n8n (this is the most reliable option).
- Make sure the app has **Microsoft Graph _Application_ permissions** , not only Delegated.

**Key permissions to check (Application permissions):**

- `Sites.Read.All` (minimum)
- `Sites.ReadWrite.All` (if you need write access)

After adding permissions:

1. **Grant admin consent** in Entra ID (this is mandatory).
2. Verify the SharePoint site is accessible via Graph (some sites are private by default).
3. In n8n, reference the site using the **site ID or full site path** , not just the display name.

If credentials validate but list operations return nothing, it almost always means:

- Admin consent was not granted, or
- The app does not have access to that specific site collection.

Using the SharePoint credential type without proper Graph permissions often validates but cannot enumerate content.

---

<div class="post-metadata">

**Author:** ![Lucas28](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@Lucas28](https://community.n8n.io/u/Lucas28)\
**Post date:** [February 2, 2026, 3:40pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/3 "2026-02-02T15:40:08Z")

</div>

Hey! Thanks for the reply. I’m now getting a **403 error**. I saw a post in the community and granted the permission **Directory.Read.All** , but it still doesn’t work and I still can’t load the list.  
Do you have any further information on what permissions/settings are required?

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [February 2, 2026, 7:18pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/4 "2026-02-02T19:18:53Z")

</div>

@Lucas28

Can you share the body of the 403 error returned by the node (with any sensitive info redacted)?

---

<div class="post-metadata">

**Author:** ![Lucas28](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@Lucas28](https://community.n8n.io/u/Lucas28)\
**Post date:** [February 4, 2026, 9:33am UTC](https://community.n8n.io/t/microsoft-credentials/257878/5 "2026-02-04T09:33:47Z")

</div>

“Could not load list

403 - Forbidden

Access denied

Check your credential”

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [February 4, 2026, 1:02pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/6 "2026-02-04T13:02:24Z")

</div>

Is the site private and has the app been explicitly granted access to it?

That error message indicates your Azure Entra ID app doesn’t have effective permissions yet. You need to grant your App Registration direct access to the site, for example via PowerShell:

```auto
Connect-PnPOnline -Url https://TENANT.sharepoint.com/sites/SITE -Interactive
Grant-PnPAzureADAppSitePermission `
  -AppId "CLIENT_ID_DO_APP" `
  -DisplayName "n8n App" `
  -Site https://TENANT.sharepoint.com/sites/SITE `
  -Permissions Read

```

This should give your app the necessary permissions to access the private site. Give it a try and let me know if that resolves the issue!

---

<div class="post-metadata">

**Author:** ![Lucas28](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@Lucas28](https://community.n8n.io/u/Lucas28)\
**Post date:** [February 17, 2026, 2:08pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/7 "2026-02-17T14:08:55Z")

</div>

Hello,

The Azure app has all the required Microsoft Graph permissions, and admin consent has been granted. However, we are still unable to connect n8n to our SharePoint.

Could you please advise on what might be missing?

Thx in advance

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [February 23, 2026, 4:55pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/8 "2026-02-23T16:55:10Z")

</div>

Hi @Lucas28 ! To help you better can you share a few screenshots?

The API permissions page in Azure showing all the permissions and the admin consent status, the credential settings in n8n (with sensitive info hidden), and the full error message returned by the node, not just the 403 summary. With those three it’ll be much easier to spot what’s going on!

---

<div class="post-metadata">

**Author:** ![Lucas28](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@Lucas28](https://community.n8n.io/u/Lucas28)\
**Post date:** [February 26, 2026, 3:48pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/9 "2026-02-26T15:48:10Z")

</div>

Hey !

Here it is :

 ![ca1528fa-19e5-4a47-ad81-4e8dfd76f11d](https://europe1.discourse-cdn.com/n8n/original/3X/6/a/6a16663fa54bc5502c968ea517b245dc226f5773.png)

 ![](https://europe1.discourse-cdn.com/n8n/original/3X/5/a/5a55ba0db406b38ccf2390cd1ac250f2d93f7dcd.png)In the node execution i don’t have any other info :  
Could not load list 403 - Forbidden Access denied Check your credential

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [February 27, 2026, 1:04pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/10 "2026-02-27T13:04:42Z")

</div>

> [@Lucas28](#):
>
> In the node execution i don’t have any other info :  
> Could not load list 403 - Forbidden Access denied Check your credential

Hi @Lucas28  
Thanks for the screenshots. This looks like the app is authenticated but not authorized for the specific SharePoint site, meaning the exact site URL. I’d confirm whether this is a private SharePoint site and make sure the app has explicit access to that exact site URL, and also verify that the permission type in Azure, Application versus Delegated, matches the OAuth flow you’re using in n8n, because a mismatch there can also result in this 403.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [May 28, 2026, 1:05pm UTC](https://community.n8n.io/t/microsoft-credentials/257878/11 "2026-05-28T13:05:42Z")

</div>

Closed on May 28, 2026, 1:05pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
