To integrate room resources from Microsoft 365 into Joan, it's essential to ensure that the delegate user has the appropriate permissions assigned. This ensures smooth functionality and access to the necessary resources.

*Note: After completing the instructions below, it can it can take up to **24 hours** for Microsoft to apply the new delegation settings*

::video[https://www.youtube.com/watch?v=HzAv9KSNnWs]

Follow the steps below to set up permissions correctly in Microsoft 365:

1. The account listed in my.getjoan.com under **Settings** -> **Integrations** -> **Calendar** -> Logged in with\_\_\_\_\_\_\_\_\_\_ needs to be added as a **delegated user** for each Room Resource in the Microsoft 365 admin center.

![MyJoan Integrations > Calendars showing the Microsoft 365 account that is logged in](https://getjoan.com/help/api/media/file/account.png)

2. Go to [https://admin.microsoft.com/#/ResourceMailbox](https://admin.microsoft.com/#/ResourceMailbox) and locate the room resource you are trying to add to MyJoan

![Microsoft 365 admin center Rooms & equipment list](https://getjoan.com/help/api/media/file/Room-equipment.png)

3. Click on the **Edit** button under **Delegates**

![Microsoft 365 admin center room resource details panel with the Edit option for delegates highlighted](https://getjoan.com/help/api/media/file/Delegates.png)

4. Enter the account that we copied from the first step, and click **Save changes**.
5. Go back to [my.getjoan.com,](http://my.getjoan.com/) navigate to **Settings** -> **Integrations** -> **Calendar** and re-authenticate the Microsoft 365 user (again).

![Joan portal Integrations > Calendars page with Google Workspace, Microsoft 365, iCalendar and Office 365 options](https://getjoan.com/help/api/media/file/gm1.png)

5. To add a room, please navigate to **Settings** -> **Rooms** -> **Room** and click on **Autoscan rooms** or **Add a room** to add the room resources manually.

![MyJoan Rooms > Room list page with the Add a room button highlighted](https://getjoan.com/help/api/media/file/gm3.png)

If you encounter the error message, “You don't have permissions to read and write to this room resource,” it indicates that either the required time for the permissions to propagate has not elapsed, or the delegation was not set up correctly. Please ensure the delegation settings are accurate and allow sufficient time for the changes to take effect.

*If you encounter any issues, feel free to reach us via [support@getjoan](mailto:support@getjoan.com).com or submit a ticket via [our support ticket form](/help/contact).*
