I am working on Outlook add-in which would pull the list of pre-defined categories from shared mailbox. User then assign each email from shared mailbox to those categories.
My issue is I can get access to all categories linked to account using
Outlook.Application application = new Outlook.Application();
Outlook.Categories categories = application.Session.Categories;
but can't find a way to get categories linked to shared mailbox.
Is there any way to get shared mailbox categories? If not, how would I deal with this scenario, so later on I can create view based on those categories.
Thank you in advance.