Requirement is to access details from Microsoft Bookings using Graph API Beta. Followed the steps here to get access without a user, but during the step of allocating permissions, permission for 'Booking' and 'Booking Appointment' are present only in Delegated permissions (Your application needs to access API using signed-in user) and not in Application Permissions(Your application runs as a background service or daemon without a signed-in user).
Without this permission, I am unable to access booking APIs using grant_type as client_credentials. The problem in using a signed-in user is that MFA is enabled for the user and hence, unable to access the APIs using grant_type as password.
Can anyone please help with a solution to this issue? Thanks in advance.
Microsoft Bookings does not support application permissions and can only use delegated permissions, so users must be logged in.
If you enable MFA for users, you cannot use ROPC flow. For your problem, I recommend you to use auth code flow, which allows users with multi-factor authentication to log in to the application.