[Outlook integration] part 2 : GetMessages (#9612)

### Introducing

- mock files in order to setup unit test on parsing outlook messages
- special spec files for development purposes : dev.spec files. They are
CI skipped with xdescribe but very useful for iterating on new messages
format
- main functionality : getMessages. We use microsoft default client to
do so, using the $batch endpoint to group calls by 20

### documentation
final touch to add troubleshooting tips
This commit is contained in:
Guillim
2025-01-15 09:48:57 +01:00
committed by GitHub
parent eaa68424f5
commit fc484bde2d
15 changed files with 867 additions and 27 deletions

View File

@ -61,6 +61,10 @@ yarn command:prod cron:calendar:ongoing-stale
## For Outlook and Outlook Calendar (Microsoft 365)
<ArticleWarning>
Users must have a [Microsoft 365 Licence](https://admin.microsoft.com/Adminportal/Home) to be able to use the Calendar and Messaging API. They will not be able to sync their account on Twenty without one.
</ArticleWarning>
### Create a project in Microsoft Azure
You will need to create a project in [Microsoft Azure](https://portal.azure.com/#view/Microsoft_AAD_IAM/AppGalleryBladeV2) and get the credentials.

View File

@ -70,6 +70,10 @@ Most of the time, it's because the `worker` is not running in the background. Tr
npx nx worker twenty-server
```
#### Cannot connect my Microsoft 365 account
Most of the time, it's because your admin has not enabled the Microsoft 365 Licence for your account. Check [https://admin.microsoft.com/](https://admin.microsoft.com/Adminportal/Home).
#### While running `yarn` warnings appear in console
Warnings are informing about pulling additional dependencies which aren't explicitly stated in `package.json`, so as long as no breaking error appears, everything should work as expected.