0 votes

We are miragrating out on-prem mailboxes to O365 using the script found with in Adaxes. I was wondering if there is a way to also include an email that sends to say if the mirgration completed with errors or not.

by (6k points)

1 Answer

0 votes
by (177k points)


Have a look at the following script from our repository: https://www.adaxes.com/script-repository/get-mailbox-move-status-in-exchange-online-s482.htm. If you need the script to send an email notification instead of outputting the move request status into the execution log, replace this line in the script:

$Context.LogMessage("Move request status: " + $moveRequest.Status, "Information")

with something like the following:

$Context.SendMail("recipient@company.com", "Move mailbox status", "Mailbox move status: $moveRequest.Status", $Null)

For details about using the $Context.SendMail method, have a look at the following SDK article: http://adaxes.com/sdk/?ExecuteScriptContextClass.html.

Related questions

0 votes
1 answer

We are evaluating the product and would like to let users of AD to change password in self service page. We would like to set a 90 days change password policy, ... self service page? Is it achievable (with customization and batch program)? Thanks in advance.

asked Apr 27 by eric (250 points)
0 votes
1 answer

I'd like to be able to either send an email report or export a CSV of all of the business rules carried out when a user is disabled. This would be ... Management Activity section but this includes things that weren't part of the disable operation. Thanks

asked Feb 19 by bavery (250 points)
0 votes
1 answer

Dear Is it possible to change the values of a custom attribute (adm-CustomAttributeTextMultiValue4) when selecting a value from another custom attribute (adm-CustomAttributeText1). For ... , 2Latijn, 3Latijn, etc... Is this possible? Sincerly Hilmi Emre Bayat

asked Aug 26, 2019 by hilmiemrebayat (510 points)
0 votes
0 answers

I know Adaxes has a module in it that uses e-mail verification in the password self-service policies. Can the verification system be used for anything other than an AD password ... to have a custom task run, but only after e-mail or text verification? Thanks!

asked Jul 27, 2015 by rlemaster (250 points)
0 votes
1 answer

I may have missed this but is it possible after modifying the membership of a group to produce a log of the changes made? It would be nice to have a confirmation of which users were added/removed from a group after the change took place. Thanks!

asked Oct 11, 2012 by VTPatsFan (3.7k points)
2,187 questions
1,949 answers
5,349 users