I have one problem, we have one profile (Call Agent) in our app that can create another agent appointment with clients, so when he adding it should add-in that one agent calendar ( Microsoft /outlook Calendar ),
Basically, one profile can create events in other users calendar
I can get lists of users on API call
/users and /users/:ID
but when i try
/users/:id/calendar or /users/:id/calendar/events sometimes i get
403 Frobiden ("Access is denied. Check credentials and try again.),
sometimes I get 404 not found but I clearly see that user in the list that I mentioned before
Here is API permission that I currently use for this
I use Angular with MSAL(@microsoft/microsoft-graph-client) library
Do I need Admin Consent, I try to get that but I didn't succeed, so if anyone can help with this that would be perfect :D I stuck with this whole past week.