Creating a Resource Map File

On your management node, create a JSON file that defines how Hosted Exchange 2016 module resources must be swapped with Hosted Exchange application resources. You will use this file to run scripts in later steps.

Use the format below for this file. Note that you can also use the sample file switch_to_app_settings_sample.json shipped with the application.

Copy
[
  {
    "exchange_rt": ID_OF_ROOT_HOSTED_EXCHANGE_RESOURCE_1,
    "aps_domain_service_rt": ID_OF_HOSTED_EXCHANGE_DOMAIN_SERVICES_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_1,
    "aps_mailbox_rt": ID_OF_HOSTED_EXCHANGE_MAILBOXES_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_1,
    "aps_resource_mailbox_rt": ID_OF_HOSTED_EXCHANGE_RESOURCE_MAILBOXES_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_1,
    "aps_public_folder_rt": ID_OF_HOSTED_EXCHANGE_PUBLIC_FOLDERS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_1,
    "aps_contact_rt": ID_OF_HOSTED_EXCHANGE_CONTACTS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_1,
    "aps_distribution_list_rt": ID_OF_HOSTED_EXCHANGE_DISTRIBUTION_LISTS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_1,
    "aps_disclaimer_rt": ID_OF_HOSTED_EXCHANGE_DISCLAIMERS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_1
  },
  {
    "exchange_rt": ID_OF_ROOT_HOSTED_EXCHANGE_RESOURCE_2,
    "aps_domain_service_rt": ID_OF_HOSTED_EXCHANGE_DOMAIN_SERVICES_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_2,
    "aps_mailbox_rt": ID_OF_HOSTED_EXCHANGE_MAILBOXES_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_2,
    "aps_resource_mailbox_rt": ID_OF_HOSTED_EXCHANGE_RESOURCE_MAILBOXES_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_2,
    "aps_public_folder_rt": ID_OF_HOSTED_EXCHANGE_PUBLIC_FOLDERS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_2,
    "aps_contact_rt": ID_OF_HOSTED_EXCHANGE_CONTACTS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_2,
    "aps_distribution_list_rt": ID_OF_HOSTED_EXCHANGE_DISTRIBUTION_LISTS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_2,
    "aps_disclaimer_rt": ID_OF_HOSTED_EXCHANGE_DISCLAIMERS_APP_RESOURCE_CREATED_FOR_ROOT_HOSTED_EXCHANGE_RESOURCE_2
  },
  ...
  {
    "mailbox_type_rt": ID_OF_HOSTED_EXCHANGE_MAILBOX_TEMPLATE_RESOURCE_1,
    "aps_mailbox_type_rt": ID_OF_HOSTED_EXCHANGE_MAILBOX_TYPE_APP_RESOURCE_1
  },
  {
    "mailbox_type_rt": ID_OF_HOSTED_EXCHANGE_MAILBOX_TEMPLATE_RESOURCE_2,
    "aps_mailbox_type_rt": ID_OF_HOSTED_EXCHANGE_MAILBOX_TYPE_APP_RESOURCE_2
  },
  ...
  {
    "diskspace_rt": ID_OF_HOSTED_EXCHANGE_MODULE_DISKSPACE_RESOURCE,
    "aps_diskspace_rt": ID_OF_HOSTED_EXCHANGE_APP_DISKSPACE_RESOURCE
  }
]

After creating the file, write down its name and location.

Example

You have the following resources:

  Hosted Exchange 2016 module resources   Hosted Exchange application resources
ID Name ID Name
100000 Hosted Exchange Basic    
100001 Hosted Exchange Basic / Contacts 1100001 Hosted Exchange Contacts (Hosted Exchange Basic)
100002 Hosted Exchange Basic / Distribution Lists 1100002 Hosted Exchange Distribution Lists (Hosted Exchange Basic)
100003 Hosted Exchange Basic / E-mail Domains 1100003 Hosted Exchange Domain Services (Hosted Exchange Basic)
100004 Hosted Exchange Basic / Mailboxes 1100004 Hosted Exchange Mailboxes (Hosted Exchange Basic)
100005 Hosted Exchange Basic / Public Folders 1100005 Hosted Exchange Public Folders (Hosted Exchange Basic)
100006 Hosted Exchange Basic / Company Disclaimers 1100006 Hosted Exchange Disclaimers (Hosted Exchange Basic)
100007 Hosted Exchange Basic / Resource Mailboxes 1100007 Hosted Exchange Resource Mailboxes (Hosted Exchange Basic)
200000 Hosted Exchange Advanced    
200001 Hosted Exchange Advanced / Contacts 2200001 Hosted Exchange Contacts (Hosted Exchange Advanced)
200002 Hosted Exchange Advanced / Distribution Lists 2200002 Hosted Exchange Distribution Lists (Hosted Exchange Advanced)
200003 Hosted Exchange Advanced / E-mail Domains 2200003 Hosted Exchange Domain Services (Hosted Exchange Advanced)
200004 Hosted Exchange Advanced / Mailboxes 2200004 Hosted Exchange Mailboxes (Hosted Exchange Advanced)
200005 Hosted Exchange Advanced / Public Folders 2200005 Hosted Exchange Public Folders (Hosted Exchange Advanced)
200006 Hosted Exchange Advanced / Company Disclaimers 2200006 Hosted Exchange Disclaimers (Hosted Exchange Advanced)
200007 Hosted Exchange Advanced / Resource Mailboxes 2200007 Hosted Exchange Resource Mailboxes (Hosted Exchange Advanced)
300001 Hosted Exchange Mailbox Template '3 GB Mailbox' 3300001 Hosted Exchange Mailbox Type '3 GB Mailbox'
300002 Hosted Exchange Mailbox Template '5 GB Mailbox' 3300002 Hosted Exchange Mailbox Type '5 GB Mailbox'
400000 Disk Space 4400000 Hosted Exchange - Disk Space

In this case, prepare a JSON file that contains the following:

Copy
[
  {
    "exchange_rt": 100000,
    "aps_domain_service_rt": 1100003,
    "aps_mailbox_rt": 1100004,
    "aps_resource_mailbox_rt": 1100007,
    "aps_public_folder_rt": 1100005,
    "aps_contact_rt": 1100001,
    "aps_distribution_list_rt": 1100002,
    "aps_disclaimer_rt": 1100006
  },
  {
    "exchange_rt": 200000,
    "aps_domain_service_rt": 2200003,
    "aps_mailbox_rt": 2200004,
    "aps_resource_mailbox_rt": 2200007,
    "aps_public_folder_rt": 2200005,
    "aps_contact_rt": 2200001,
    "aps_distribution_list_rt": 2200002,
    "aps_disclaimer_rt": 2200006
  },
  {
    "mailbox_type_rt": 300001,
    "aps_mailbox_type_rt": 3300001
  },
  {
    "mailbox_type_rt": 300002,
    "aps_mailbox_type_rt": 3300002
  },
  {
    "diskspace_rt": 400000,
    "aps_diskspace_rt": 4400000
  }
]