I am trying to get an office 365 calendar, not for "me", but of a contact. i.e. in the company I work for (which has a global address list), I want to access Dave's calendar, as I would in outlook.
I have been through the documentation here, StackOverflow (e.g. here and here), plus Office 365 samples and Graph API samples (I believe Graph API is required for global address lists), but cannot find a way to do it.
I have 3 questions:
Any help much appreciated.
It isn't currently possible if I understand your scenario correctly. If you are signing in as you, you only get access to your mailbox. You don't get access to other people, even if they've delegated access to you. This is something we're looking to improve upon, but for now you cannot do it.
You can create an app that uses the client credential auth flow, and an admin can grant access to all users, but I don't think that's the scenario you're going for.