I am trying to retrieve outlook contacts with Microsoft Outlook Tool. It works "fine" but the problem is that in my Address book I do have only one contact attached to my email. In Outlook in Address Book there are many other options like "Global Address List" or "All Users" under "All Address Lists" but the Microsoft Outlook Tool seems to be restricted to my personal contacts in the Get Many Operation. Is there any workaouround? Preferebly I would like to make Microsoft Outlook Tool to search in my entire organization contacts instead of searching in my personal contacts.
Below I pasted copilots tips and my comments. Maybe any of you have any more ideas?
Copilot suggested thes options:
- Use Microsoft Graph API: Instead of relying on the Microsoft Outlook Tool in n8n, you can use the Microsoft Graph API to access the entire organization's contacts [...] - I don't think my organization will allow me to authenticate my application with Microsoft Graph.
- Shared Mailbox: If you have access to a shared mailbox that contains the contacts you need, you can configure the Microsoft Outlook Tool to use the shared mailbox instead of your personal account. [...] - does not seem a good solution to me. Also requires the shared mailbox to have all the contacts from the organization.
- Custom Script: If you're comfortable with scripting, you can write a custom script to fetch the contacts from the desired address list and integrate it into your n8n workflow. This script can use the Microsoft Graph API or any other method to retrieve the contacts and pass them to the next steps in your workflow. - same as in option 1
- Manual Import: As a temporary solution, you can manually export the contacts from the "Global Address List" or other address lists in Outlook and import them into your personal contacts. This way, the Microsoft Outlook Tool will be able to retrieve them. - ugly workaround