-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect anymore #48
Comments
Remove the email address you have put in the shared mailbox field. I assume you don’t want to access a shared mailbox? |
@RogerSelwyn wow that works. Thank you so much. I agree that was my mistake. |
Just checking. Is yours a personal account? Just trying to think why it don’t pick up that you granted that permission. Need to give a more meaningful error. |
Hello Roger, yes it is my personal office account. |
I think you can't use personal for shared account, but I don't think I've got anyway of spotting that it is a personal account, and therefore shared permissions won't work. |
Need to try to figure a way to capture this.Maybe by retrieving email address for the account, and then comparing to "shared" email address, and reject if the same. |
maybe a nother issue? this is my calender configuration:
and what i read from the documentation i should get the elements from the data object The data attribute provides an array of events for the period defined by the start_offset and end_offset in ms365_calendars_<entity_name>.yaml. Individual array elements can be accessed using the template notation states.calendar.<entity_name>_calendar.attributes.data[0...n].
give me a result of 1, what is not correct sorry for cross posting :-) |
That implies there is only 1 event in the next 24 hours. Not sure if your code is correct, I don't use HA automation, I use Node Red. But your screenshot only shows one event in the data attribute anyway |
And thanks for the coffee :-) |
thank you so much. |
you are welcome. Thank you |
The data attribute provides an array of events for the period defined by the start_offset and end_offset :-) |
I've added a process that checks if shared_email is the same as logged in user, and then removes the attribute from the config. This will be in the next release. The check happens after authentication (and token retrieval), because it is only then that it is known what the email address of the logged in user is. |
The change will be in the next 1.1.x release |
I have released a new version with this change in it. |
Hello,
i hat the o365 integration and erything has worked as expected.
now i decided to move forward to the ms-365-Calendar integration.
created a new app registration
cerated a new client secret
have set the permissions as documented
link M365 Account works fine
but during submit i get this error, but calendars.ReadWrite.Shared permissions are set
Many Thanks for your help
Daniel
The text was updated successfully, but these errors were encountered: