jamesiarmes / php-ews

PHP Exchange Web Services
http://jamesarmes.com/php-ews/
MIT License
566 stars 304 forks source link

Access the calendar of a Room resource account #595

Open davidbelgium opened 3 years ago

davidbelgium commented 3 years ago

Version (e.g. 1.0, dev-master): PHP version: 7.4 Microsoft Exchange version: 2016

Description of problem:

Hello, I am currently testing your script on my server and it works great.

Now I would like to have the possibility of being able to repatriate the calendar of a meeting room but this one is in resource.

My account has the rights to this resource but I can't find how to find the events in this calendar.

Can you tell me what I need to do to get a list like with the find file in the event folder.

Thank you

David Fernandez

HaggardFFM commented 3 years ago

Hi David, I do the same with a script to read all Events on a Room Calendar. I change the password of the ressource in the user admin center (M365) to a new one (which I know), and use the ews script to identify as the ressource account. So I have the rights to read the calendar information and extract the items on it. Perhaps this can halp you. B.R. Harald