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,
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange

Dev Testing

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Exchange Server 2013
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.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
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)
}
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
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 New Slipstick.com Articles 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
S Importing outlook express backup into outlook2010... how to do it? Is it possible? Using Outlook 2
R Importing Contacts of Outlook 2010 Using Outlook 3
R importing windows live contacts into outlook 2010 Using Outlook 2
N Trouble importing calender information from iPhone into OutLook 2010 Using Outlook 1
M Problem Importing .pst file into Outlook 2010 Using Outlook 1
I Problem importing emails from Outlook 2003 to Outlook 2010 Using Outlook 1
Y Outlook 2010 App Crash while importing contacts Using Outlook 3
B Importing emails and email folders Outlook 2003 Using Outlook 2
M Importing e-mails from OE and Windows Mail to OUTLOOK. Using Outlook 3
B Importing Outlook account to Exchange Using Outlook 5
M Outlook 2003 - Importing old messages and backup procedures Using Outlook 2
J Thunderbird to Outlook -- importing address book/contacts Using Outlook 2
J Importing mail from Eudora 7 into Outlook 2010 Using Outlook 1
P Outlook 2010 stops working and closes when importing data to Business Contact Manager Using Outlook 1
S Language problems Exchange 2010 - Outlook 2007 after importing pst files Exchange Server Administration 2
R Please Help: How to format muti-line address in Excel file before importing to Outlook 2010 Using Outlook 1
P Importing Contacts from Outlook Express to Outlook 2010 (not working) Using Outlook 5
N Importing Contacts file to Outlook 2003 running on Windows 7 Using Outlook 5
J Importing VCF file of contacts to Outlook Using Outlook 2
J importing google contacts into outlook Using Outlook 1
F Correct email dates corrupted during importing from Outlook Express Using Outlook 1
E importing Excel file into Outlook 2010 Using Outlook 3
M Importing dates from Excel into Outlook Using Outlook 2
S How do I stop Outlook from importing all of my email from my Comcast email account? Using Outlook 1
P Importing EML files into Outlook 2010 Using Outlook 1
B Importing archived contacts from previous Outlook (2003) into outlook 2010 Using Outlook 3
J Importing express files to outlook. Using Outlook 2
K Help importing Mail files from Eudora 7.1.0.9 to Outlook 2010 Using Outlook 3
Z Outlook 2010 Hangs When Importing A Large E-mail Folder Using Outlook 41
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
Similar threads


















































Top