Hello @Sergei Loginov , usually you will get ResourceNotFound
when querying /people
or /calendars
endpoints if the user has no Office licenses assigned. The resource existence check will be done before any security check, that's why you don't get ErrorAccessDenied
.
Please take a look to Assign Microsoft 365 licenses to users.
Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it so that others in the community with similar questions can more easily find a solution.