Installation and Configuration
Installation
- Ensure you have followed the prerequisites instructions
- Ensure you have a copy of the Client ID and the Client Secret Value (not the ID)
- Optionally you can set up the permissions, alternatively you will be requested to approve permissions when you authenticate to MS 365.
- Install this integration via HACS:
- Launch HACS
- Search for “Microsoft 365 xxxxxxxxx” (where xxxxxxxxx is the specific integration)
- Select “Download”
- Restart Home Assistant
- Go to the Home Assistant Devices configuration page
- Click “Add Integration”
- Search for “Microsoft 365 xxxxxxxxx”
- Click on the result, and follow the prompts.
- Restart your Home Assistant instance to enable the integration
- Add the integration via the
Devices & Services
dialogue. Follow the instructions in the install process (or see Authentication) to establish the link between this integration and the Entra ID App Registration- A persistent token will be created in the hidden directory config/ms365_storage/.MS365-token-cache
Note If your installation does not complete authentication, or the sensors are not created, please go back and ensure you have accurately followed the steps detailed, also look in the logs to see if there are any errors. You can also look at the errors page for some other possibilities.
Note To configure a second account, add the integration again via the Devices & Services
dialogue.
For detail on configuration for the individual integrations, please see the pages below:
The detailed permissions for each integration are shown here: