Importing Outlook Categories from another domain (Exchange 2016/Outlook 2016)

Status
Not open for further replies.

Dev Testing

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Exchange Server 2013
Hello,

I am able to export Outlook Categories from one account in domain1.org, but when I import the same categories into a new account in domain2.org, the colors are not preserved and are assigned randomly. Is there any way to get the export to preserve the colors?

Thanks,
 
HI Diane - thank you for the response. I exported them in Outlook using a new Note, saving it with the title of Category, then categorize the note with the ones I wanted to export; close the note. Then that creates a Category.msg file that you can drag onto your desktop and then into the new Outlook Notes. Then, then you right click your primary folder in Outlook and select Data File properties, there is a button Upgrade to Color Categories, so I clicked that. The categories are in fact uploaded but the colors are randomly assigned in the new account. I'd be interested in looking at your solution - thank you for posting.
 
Yeah, that moves the names, but colors are randomly assigned. (Random compared to the original list - they are assigned in the order they are added to the master list.)

You can also do it using powershell - this gets the default account's categories. you can save it as a csv or txt, as long as its changed both places. (If you want to edit it, it might be easier in Excel - so use csv.)

open powershell ise and paste the script in a new script window then click run.

Code:
$outlook = New-Object -ComObject Outlook.Application
$namespace = $outlook.GetNamespace("MAPI")
$namespace.categories | Export-CSV .\Categories.txt

and this adds the list to the default account on the other computer;
Code:
$outlook = New-Object -ComObject Outlook.Application
$namespace = $outlook.GetNamespace("MAPI")
Import-CSV .\Categories.txt |
ForEach-Object {
    $namespace.Categories.Add($_.Name,$_.Color,$_.ShortCutKey)
}


You can use this to clear the list - but will need to run it multiple times to remove all names (it goes forward, not backwards, so it skips every other one) - make a list using the first powershell, then run this to remove them. Run the first script on the old computer, the copy the text file to the new one and run the second script.
Code:
$outlook = New-Object -ComObject Outlook.Application
$namespace = $outlook.GetNamespace("MAPI")
Import-CSV .\Categories.txt |
ForEach-Object {
    $namespace.Categories.Remove($_.CategoryID)
}
 
I have the powershell method written up here - including a version with a folder picker, to work with non-default mailboxes.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
P Importing other e-mail accounts into Outlook Using Outlook 1
M How to setup outlook after importing old account information - Entering email account info creates with "(1)" after the account! Using Outlook 1
J Outlook 2010 Changing events in Outlook calendar via opening file, importing CSV Using Outlook 0
B Importing business card into Outlook for SIgnature Using Outlook 1
Diane Poremsky Importing Lists from Excel to Outlook Using Outlook 0
B Importing Text from Excel to Outlook 2013 Calender Using Outlook 0
Z Importing PST files from Outlook 07 to Outlook mac Preview Using Outlook 1
P Importing Thunderbird email to outlook Using Outlook 2
K Importing appointment body from excel in outlook 2010 Using Outlook 1
J Importing to the correct calendar from Excel 2010 to Outlook 2010 Outlook VBA and Custom Forms 2
T Importing Excel 2010 data into Outlook Calendar 2010 Using Outlook 12
W Importing .pst from Outlook 2010 (Win7) to Outlook 2013 (Win8.1) Using Outlook 2
V Importing Rules in Outlook 2013 Using Outlook 2
B importing Outlook from a backup on an external hard drive Using Outlook 5
M Trouble Importing folders from Outlook 2007 to Outlook 2013 Using Outlook 12
T Importing OE6 e-mail to Outlook via Store Folder Using Outlook 9
H Importing Windows Live Mail Contact into Outlook 2010 Using Outlook 0
N lose conditional formatting when importing to Outlook 2010 Using Outlook 2
I Importing Outlook form into calendar folder? Using Outlook 1
R Exporting and importing contacts in Outlook 2007 Using Outlook 1
G Importing Excel contact data base into Outlook Using Outlook 1
C Importing emails/contacts to Outlook 2007 from Windows Mail Outlook VBA and Custom Forms 3
A Importing eml files into outlook 2007 Using Outlook 3
M having trouble importing excel data into outlook contacts BCM (Business Contact Manager) 1
B Importing Contacts Does Not Use Defined Custom Form in Outlook 2007 Outlook VBA and Custom Forms 1
M Importing Contacts from Act 6.0 to Outlook 2007 BCM (Business Contact Manager) 3
HarvMan Importing PST into IMAP account Using Outlook 12
CWM550 Importing " Old Skool" Data Using Outlook 0
J Importing N2K from a different Exchange Server Using Outlook 1
O Importing Mbox - anyone out there having experience with this tool... Using Outlook 2
S Importing Ribbons Not Saved Using Outlook 7
V importing appointments to non-default calendar? Using Outlook 1
CWM550 Importing from Eudora Update Using Outlook 5
CWM550 Importing from Eudora Using Outlook 7
N Importing Google contacts from CSV file removes recipient names in autocomplete list Using Outlook 0
S Importing emails to contacts Using Outlook 3
Z how to make OL (2007) to use custom contact form when importing / opening .VCF? Using Outlook 1
A Importing too many emails from Gmail Using Outlook 2
S Possible to link to ics file without importing? Using Outlook 4
L Importing Opportunities in to BCM 2013 BCM (Business Contact Manager) 0
K New to BCM - trouble importing contacts & accounts BCM (Business Contact Manager) 3
LarryH Importing csv file to custom form/fields? Using Outlook 3
D Importing custom fields into custom form in BCM BCM (Business Contact Manager) 1
V Problem not having Contacts folder after importing emails from Yahoo. Using Outlook 0
O Importing contacts from CSV, comma delimited Using Outlook 7
wallisellener BCM 2013 importing contacts from CSV file BCM (Business Contact Manager) 8
T BCM not importing address BCM (Business Contact Manager) 1
A Trouble importing data to radio buttons Business Contact Manager 2010 (BCM) Using Outlook 2
T Limit on importing Inbox mail from OE6 Using Outlook 16
Commodore Importing RSS on another computer (and feed locations) Using Outlook 8

Similar threads

Back
Top