A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Hello @Zehui Yao_MSFT Thank you for the concern. Below is the solutions.
GET https://graph.microsoft.com/v1.0/users/$mail_user/mailfolders/Inbox/messages?
$select=categories&$filter=NOT(categories/any())&count=true
If $filter=categories/any() would return all messages with any category, then the opposite of that can be achieved by using not operator. That successfully returned all messages without any category applied.