It would be amazing if HA could support Microsoft To-Do (the successor of Wunderlist).
The data is accessible via Outlook REST API:
It would be amazing if HA could support Microsoft To-Do (the successor of Wunderlist).
The data is accessible via Outlook REST API:
Iāve voted for this as I have looked at the Outlook API reference and whilst I understand it at a high level I am not proficient enough to make use of it (yet ).
However it seems to me that providing some support for the To-Do app might lead almost effortlessly to support for other Outlook aps such a Mail and Calendar.
One of the things that always surprises me about HA is the strength of alliance with Google technologies. Is that because Google make it easy?
I also think this might be a throwback to the 1990/2000ās when anything MS (M$) was deemed evil and Google (and Linux) rightly to some extent had an aura of being on the side of āgoodā.
Whilst I do think Google are still ok, nowadays I trust MS and surprisingly Apple a lot more as their entire raison dāĆ©tat dāetre is not advertising and hence data collection.
Iām thinking ādāetreā would be better here ???
Thanks. Iāve edited the post.
In my defence Iām English and surely you know we expect to be universally understood? And if all else fails we just shout.
Because that will workā¦
+1 for that!
MS To-Do is my favorite To-Do App
One of the things that always surprises me about HA is the strength of alliance with Google technologies. Is that because Google makes it easy?
@klogg Iām not sure what about Google services but recently I tried to implement some integration prototype with no luck I wasnāt able to authenticate my API client to get tasks:
OrganizationFromTenantGuidNotFound
error while trying to use the access token. When Iām using the Office 365 development tenant ā NoPermissionsInAccessToken
.https://outlook.office.com/Tasks.Read
and https://graph.microsoft.com/Tasks.Read
scopes.API and the process of app registration are documented pretty well so implementation of the integration with Microsoft To Do looks pretty straightforward but auth doesnāt work for me
Maybe Iām doing something wrong and it makes sense to reach the support team.
Oh, right after I sent the previous message I tried to authenticate using an application associated with the personal account (not my Active Directory) and it worked!
I donāt know if someone working on this feature and if not I can try to find some time to implement a custom component. But I donāt think you can rely on me because Iām not a Home Assistant developer.
Yeah! I donāt think anybody else is working on such a feature. Thereās nothing in the forum or on Github.
A custom component would be really amazing! But at least a ārawā python script that can authenticate and retrieve and send tasks would be much much helpful!
Thank you very much for your effort!
Hey, I was able to implement the first version of integration Please check this repo: black-roland/homeassistant-microsoft-todo.
The component is far from being perfect and work is still in progress. Currently, itās only possible to create new tasks for the āTasksā list with reminders support.
I wish setup process to be straightforward but I added some screencast that should help.
Wow thank you! Iāll try it out ASAP
Itās working Is it possible to add a config entry for the callback URL? I had to hack my cloud URL into the code, because my local base URL is only HTTP.
Awesome!
As far as I know, other Home Assistant integrations just use the configured base URL. Iād rather not adding the callback URL option to be consistent.
But the callback URL is used only once for authorization and it doesnāt have to be accessible from the Internet (it must be accessible for your browser only). So you could change the base_url
option to the cloud URL or localhost, authorize, and change base_url
back.
Good to know!
I understand. Then itās really easy without a config entry
When trying to authorize I get a 500 internal error on the front end and the following in the logs:
oauthlib.oauth2.rfc6749.errors.InvalidClientIdError: (invalid_request) AADSTS50194: Application '102c152a-4569-421f-9096-7045b3d150ef'(HomeAssistant) is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant.
I do have 2 MS accounts, one work one personal. I setup the Azure account using the personal account and Iām use the same one when trying to authorize.
Any suggestions?
Thanks in advance.
I managed to get past this error by editing the Manifest file within the App I created in Azure to allow for multi-tenent environmentās:
"signInAudience": "AzureADandPersonalMicrosoftAccount"
Hi Eoin, I have the same issue. Could you explain what you did exactly? I cannot get it to workā¦
Log into the Azure Portal: https://portal.azure.com/#home
Navigate to: App Registrations
Select the App you created when following: https://github.com/black-roland/homeassistant-microsoft-todo
Click on: Manifest (left hand menu)
Find the section for: āsignInAudienceā
Change the current value to: AzureADandPersonalMicrosoftAccount
Click Save. That should be you.
Oh, it seems the registration UI changed and instructions are out of date.
As an alternative to the manifest editing you can try to select āAccounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)ā while registering a new app in Azure:
Thanks, got it working!