Hi,
I need to add an event to the AAD group calendar.
Webcon uses/is synced with local AD.
AD is synchronized with AAD.
On the AAD side, an application with API permissions has been added
Adding AAD groups and adding users to groups via graph API from webcon works fine.
But, for example, if you want to add an event to the group's calendar
POST method https://graph.microsoft.com/v1.0/groups/{group_id}/calendar/events
The api needs to run in the context of the logged in user, not in the context of the application.
That's why I added authorizations in webcon: screen1
I added a connection to this authorization: screen2
Then in the REST action I added this connection.
On the graph api side, added Group.ReadWrite.All delegated permissions, approved by the admin.
The user who invokes the rest actions is the owner of the AAD group.
When calling the action, I get the error: screen3
Response Code:
exceptions:
There is no valid token for connection: [TEST]_Azure_APi_User (13)
So the user did not receive the token.
So the question is whether such a scenario is possible or whether something else should be configured.
I will be grateful for your help.