We created an application in Microsoft azure, then invited one user(guest) to the application and created a new user.
Everything works with the main user, but with other users in some requests there are problems with access.
For example, POST https://graph.microsoft.com/v1.0/me/calendar/events through the guest in response comes: {"error":{"code":"NoPermissionsInAccessToken","message":"The token contains no permissions, or permissions can not be understood.","innerError":{"oAuthEventOperationId":"12745251-f429-45e0-a4f9-4a95a90221e5","oAuthEventcV":"fLdrEm/j0EqcBcj41KCANw.1.1.1","errorUrl":"https://aka.ms/autherrors#error-InvalidGrant","requestId":"893cc04d-ca38-4022-a948-bed22016a891","date":"2021-03-03T06:27:12"}}} via a new user: POST https://graph.microsoft.com/v1.0/me/calendar/events { "error": { "code": "MailboxNotEnabledForRESTAPI", "message": "REST API is not yet supported for this mailbox." } }