Hello Support team,
I’m trying to create calendar events in Microsoft 365 using the Graph REST API from a backend service (no interactive user sign-in). And add scopes, client id, client secret and tenent id in Microsoft 365 Calender Connection, But on save it is redirect or open popup for login and permissions. And I want to bypass this login process. Unable to create calendar events on Microsoft 365 calender without interactive login — need app-only permission / tenant guidance. I registered an app Accredable and have added many permissions, but the event creation fails when using a token obtained without an interactive login. When I obtain a token via the interactive /consumers/ authorize flow (user signs in), event creation succeeds. I need this to work without the login popup.
What I want
Enable my backend service to create calendar events in user mailboxes without every-user interactive login (server-to-server / non-interactive).