Connect Microsoft Exchange to n8n

Hi @Gabriele_Bracciali, from looking at the documentation it seems this API uses OAuth2. So as a first step you’d need to register a new application in the Azure portal and run through the other steps described here: Register your app with the Azure AD v2.0 endpoint - Microsoft Graph | Microsoft Docs

After following this process, you would eventually get a client ID and a client secret which should allow you to configure generic OAuth2 credentials in n8n like this (you probably don’t need all these scopes, I just added a bunch of scopes that seemed somewhat relevant to me):

Once you have connected n8n with your Microsoft account, you can then run a workflow like this to fetch your contacts:

I’ve just tested this on my side and it seems to work fine:

Hope this helps :slight_smile: