reactjsazuremicrosoft-graph-apiazure-ad-msalreact-aad-msal

How to grant Calendar.ReadWrite.Shared permission to Azure app?


I'm trying to manage multiple outlook calendars using a single account as a proxy, so all other accounts share their personal calendar with this "master" account and within this one i can add, edit or delete events "for everyone".

The problem is that i can't get the account grant the Calendar.ReadWrite.Shared to the app, even though that in my app this permissions are configured as recommended.

Azure portal - app permissions: permissions of the app in azure portal

msalconfig: msal configuration used

The "funny" thing is, with the account used to create the app in the first place everything works, but with any other account not.

I even created another app with the intended final account and nothing. This is the, incompplete permissions, resul: actual result

This is the desired result:

desired result


Solution

  • If you just want to make a proxy to modify calendars for all users, have you tried application-only Auth and grant Calendars.ReadWrite permission with application type to it? Based on this permission official comment: Read and write calendars in all mailboxes which seems to meet your requirement.