Hi @Domagoj Grguric ,
Welcome to our Q&A forum!
Regarding your questions, here are some of my insights:
1.What is the effect of converting a user mailbox to a SharedMailbox in respect to MS Graph endpoint to fetch user messages?
When you convert a user mailbox to a shared mailbox, all of the existing email and calendar information is retained. Only now it’s in a shared mailbox where several people will be able to access it instead of one person.
2.Why does the license being disabled have no effect on a SharedMailbox and the messages endpoint returns data with status code 200 (even if I remove the whole license package I still get back messages)?
A user mailbox needs a license assigned to it before you convert it to a shared mailbox. Otherwise, you won’t see the option to convert the mailbox. If you’ve removed the license, add it back so you can convert the mailbox. After converting the user mailbox to a shared mailbox, you can remove the license from the user’s account. Without a license, shared mailboxes are limited to 50 GB. You might need to delete a bunch of large messages (say, messages with attachments) from the shared mailbox to shrink it down so you can remove the license.
3.Since the above bulletpoint works for SharedMailbox, why is for accessing UserMailbox a license required with MS Graph
Shared mailboxes do not require licenses and can be accessed by users who do not have licenses assigned to them. However, for accessing UserMailbox, a license is required with MS Graph.
4.Is it possible for the users to log into their Outlook mail when having a shared mailbox and no licenses attached?
It is possible for users to log into their Outlook mail when having a shared mailbox and no licenses attached. However, there are some prerequisites that need to be met before this can be achieved. Firstly, ensure that the user has been granted full access permissions to the shared mailbox. Secondly, ensure that the user has been granted Send As permissions to the shared mailbox. Finally, ensure that there is no policy in place that prevents users from accessing shared mailboxes without licenses.
Reference:
https://learn.microsoft.com/en-us/answers/questions/1294219/convert-to-shared-mailbox
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.