Exchange mailbox rule export and import
I am curious to know if it is even possible to export mailbox rule from one tenant (tenant A) to a new tenant (tenant B). This is after Tenant A has been migrated to Tenant B.
I have tested 3 different methods with no success.
- Microsoft Graph API: The code works but it doesn’t allow us to import from A to B. If I export from A and import to A teanant or different account on that tenant it works.
{ "error": { "code": "MessageRuleValidationError", "message": "ErrorCode: 'InvalidValue', Message: 'No mailbox with such guid.', Field: 'Action.CopyToFolder', Value: 'AQMkAGM0NWJhZDMxLTYyNmUtNGIxNy1hMmQ4LWRjMDlkMDQ0AGM1OWUALgAAAymAV8m5TCtGuN0NJDnVw4gBAAi19MYDG7VEuldE4lOvZFEAAAIBQgAAAA=='.", "innerError": { "request-id": "ca3c9777-8ddc-41f0-8790-938294661ebc", "date": "2018-12-28T06:13:23" } } }
- Manual Process: I was able to export and import within the same environment on multiple accounts but once I imported onto Tenant B it failed
ADAccount01@sjhtestad2.org ) becuase I only had access to one PHS account. - New-InboxRule Method: I used the exported file and try to import using New-InboxRule and I got the following error
`The specified mailbox "AAMkADZkZTU5ZTgzLTUzNDUtNDAwNy1hYTBlLTFkNmVhNWFhMzk2YwAuAAAAAABZtDH804khSZs_9ansnr8hAQACqSktPeE9SrZAHfG14OfYAAARNiPIAAA=" doesn't exist.
- CategoryInfo : NotSpecified: (:) [New-InboxRule], ManagementObjectNotFoundException`
Any ideas?
outlook migration exchangewebservices
add a comment |
I am curious to know if it is even possible to export mailbox rule from one tenant (tenant A) to a new tenant (tenant B). This is after Tenant A has been migrated to Tenant B.
I have tested 3 different methods with no success.
- Microsoft Graph API: The code works but it doesn’t allow us to import from A to B. If I export from A and import to A teanant or different account on that tenant it works.
{ "error": { "code": "MessageRuleValidationError", "message": "ErrorCode: 'InvalidValue', Message: 'No mailbox with such guid.', Field: 'Action.CopyToFolder', Value: 'AQMkAGM0NWJhZDMxLTYyNmUtNGIxNy1hMmQ4LWRjMDlkMDQ0AGM1OWUALgAAAymAV8m5TCtGuN0NJDnVw4gBAAi19MYDG7VEuldE4lOvZFEAAAIBQgAAAA=='.", "innerError": { "request-id": "ca3c9777-8ddc-41f0-8790-938294661ebc", "date": "2018-12-28T06:13:23" } } }
- Manual Process: I was able to export and import within the same environment on multiple accounts but once I imported onto Tenant B it failed
ADAccount01@sjhtestad2.org ) becuase I only had access to one PHS account. - New-InboxRule Method: I used the exported file and try to import using New-InboxRule and I got the following error
`The specified mailbox "AAMkADZkZTU5ZTgzLTUzNDUtNDAwNy1hYTBlLTFkNmVhNWFhMzk2YwAuAAAAAABZtDH804khSZs_9ansnr8hAQACqSktPeE9SrZAHfG14OfYAAARNiPIAAA=" doesn't exist.
- CategoryInfo : NotSpecified: (:) [New-InboxRule], ManagementObjectNotFoundException`
Any ideas?
outlook migration exchangewebservices
add a comment |
I am curious to know if it is even possible to export mailbox rule from one tenant (tenant A) to a new tenant (tenant B). This is after Tenant A has been migrated to Tenant B.
I have tested 3 different methods with no success.
- Microsoft Graph API: The code works but it doesn’t allow us to import from A to B. If I export from A and import to A teanant or different account on that tenant it works.
{ "error": { "code": "MessageRuleValidationError", "message": "ErrorCode: 'InvalidValue', Message: 'No mailbox with such guid.', Field: 'Action.CopyToFolder', Value: 'AQMkAGM0NWJhZDMxLTYyNmUtNGIxNy1hMmQ4LWRjMDlkMDQ0AGM1OWUALgAAAymAV8m5TCtGuN0NJDnVw4gBAAi19MYDG7VEuldE4lOvZFEAAAIBQgAAAA=='.", "innerError": { "request-id": "ca3c9777-8ddc-41f0-8790-938294661ebc", "date": "2018-12-28T06:13:23" } } }
- Manual Process: I was able to export and import within the same environment on multiple accounts but once I imported onto Tenant B it failed
ADAccount01@sjhtestad2.org ) becuase I only had access to one PHS account. - New-InboxRule Method: I used the exported file and try to import using New-InboxRule and I got the following error
`The specified mailbox "AAMkADZkZTU5ZTgzLTUzNDUtNDAwNy1hYTBlLTFkNmVhNWFhMzk2YwAuAAAAAABZtDH804khSZs_9ansnr8hAQACqSktPeE9SrZAHfG14OfYAAARNiPIAAA=" doesn't exist.
- CategoryInfo : NotSpecified: (:) [New-InboxRule], ManagementObjectNotFoundException`
Any ideas?
outlook migration exchangewebservices
I am curious to know if it is even possible to export mailbox rule from one tenant (tenant A) to a new tenant (tenant B). This is after Tenant A has been migrated to Tenant B.
I have tested 3 different methods with no success.
- Microsoft Graph API: The code works but it doesn’t allow us to import from A to B. If I export from A and import to A teanant or different account on that tenant it works.
{ "error": { "code": "MessageRuleValidationError", "message": "ErrorCode: 'InvalidValue', Message: 'No mailbox with such guid.', Field: 'Action.CopyToFolder', Value: 'AQMkAGM0NWJhZDMxLTYyNmUtNGIxNy1hMmQ4LWRjMDlkMDQ0AGM1OWUALgAAAymAV8m5TCtGuN0NJDnVw4gBAAi19MYDG7VEuldE4lOvZFEAAAIBQgAAAA=='.", "innerError": { "request-id": "ca3c9777-8ddc-41f0-8790-938294661ebc", "date": "2018-12-28T06:13:23" } } }
- Manual Process: I was able to export and import within the same environment on multiple accounts but once I imported onto Tenant B it failed
ADAccount01@sjhtestad2.org ) becuase I only had access to one PHS account. - New-InboxRule Method: I used the exported file and try to import using New-InboxRule and I got the following error
`The specified mailbox "AAMkADZkZTU5ZTgzLTUzNDUtNDAwNy1hYTBlLTFkNmVhNWFhMzk2YwAuAAAAAABZtDH804khSZs_9ansnr8hAQACqSktPeE9SrZAHfG14OfYAAARNiPIAAA=" doesn't exist.
- CategoryInfo : NotSpecified: (:) [New-InboxRule], ManagementObjectNotFoundException`
Any ideas?
outlook migration exchangewebservices
outlook migration exchangewebservices
asked Dec 31 '18 at 21:11
Heng YonHeng Yon
32
32
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
No you can't Export and Import, because the Identifiers used for Mailbox Folder, address lists, recipients (eg if they are in the Native Address format) etc are only work in the Mailbox where the Rule was created.
You would be better investing the time to create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc but its not that much effort and will be a lot more reliable then what you trying to do.
What do you mean by saying "create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc"
– Heng Yon
Jan 8 at 16:37
Create a New rule and for each of the properties use the values from the other rule except any identifiers which won't be valid
– Glen Scales
Jan 9 at 1:38
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53991449%2fexchange-mailbox-rule-export-and-import%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
No you can't Export and Import, because the Identifiers used for Mailbox Folder, address lists, recipients (eg if they are in the Native Address format) etc are only work in the Mailbox where the Rule was created.
You would be better investing the time to create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc but its not that much effort and will be a lot more reliable then what you trying to do.
What do you mean by saying "create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc"
– Heng Yon
Jan 8 at 16:37
Create a New rule and for each of the properties use the values from the other rule except any identifiers which won't be valid
– Glen Scales
Jan 9 at 1:38
add a comment |
No you can't Export and Import, because the Identifiers used for Mailbox Folder, address lists, recipients (eg if they are in the Native Address format) etc are only work in the Mailbox where the Rule was created.
You would be better investing the time to create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc but its not that much effort and will be a lot more reliable then what you trying to do.
What do you mean by saying "create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc"
– Heng Yon
Jan 8 at 16:37
Create a New rule and for each of the properties use the values from the other rule except any identifiers which won't be valid
– Glen Scales
Jan 9 at 1:38
add a comment |
No you can't Export and Import, because the Identifiers used for Mailbox Folder, address lists, recipients (eg if they are in the Native Address format) etc are only work in the Mailbox where the Rule was created.
You would be better investing the time to create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc but its not that much effort and will be a lot more reliable then what you trying to do.
No you can't Export and Import, because the Identifiers used for Mailbox Folder, address lists, recipients (eg if they are in the Native Address format) etc are only work in the Mailbox where the Rule was created.
You would be better investing the time to create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc but its not that much effort and will be a lot more reliable then what you trying to do.
answered Jan 1 at 0:14
Glen ScalesGlen Scales
11.8k11116
11.8k11116
What do you mean by saying "create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc"
– Heng Yon
Jan 8 at 16:37
Create a New rule and for each of the properties use the values from the other rule except any identifiers which won't be valid
– Glen Scales
Jan 9 at 1:38
add a comment |
What do you mean by saying "create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc"
– Heng Yon
Jan 8 at 16:37
Create a New rule and for each of the properties use the values from the other rule except any identifiers which won't be valid
– Glen Scales
Jan 9 at 1:38
What do you mean by saying "create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc"
– Heng Yon
Jan 8 at 16:37
What do you mean by saying "create a process that create a new rule using the rule from the Mailbox you want to export from as a Template. But you will need to write a process to find folders if its a Move rule etc"
– Heng Yon
Jan 8 at 16:37
Create a New rule and for each of the properties use the values from the other rule except any identifiers which won't be valid
– Glen Scales
Jan 9 at 1:38
Create a New rule and for each of the properties use the values from the other rule except any identifiers which won't be valid
– Glen Scales
Jan 9 at 1:38
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53991449%2fexchange-mailbox-rule-export-and-import%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown