Creating or moving mailbox Exchange with Workflow

Hello

We use ActiveRoles Version 7.

We want to automate the creation of the user with workflows, but I have problems with the creation of mailboxes.

We want to minimize the rules we use, so my Test approach is about politics and after that, the settings are applied to the new user based on the ORGANIZATIONAL unit where the user is created.

With the creation of mailboxes, I tried the following:
1 workflow sets the mailnickname and the homeMDB; attributes in an edsaCreateMsEchangeMailbox later stage--> does only not with the Message error "external e-mail address is missing.

2 created a strategy by default with the automatic creation of the mailbox in the selected store, the Workflow sets edsahomeMDB and edsaMoveMailbox 'True'--> error edsahomeMDB is missing

3 created a strategy by default with the automatic creation of the mailbox in the selected store the Workflow defines extensionAttribute8 with the DN of the correctStore; "a second Workflow runs a script that reads the DN of the user, the extensionAttribute8 and the mailNickname and begins" Set-QADUser $user-Proxy - ObjectAttributes @{'edsaMoveMailbox' = $true; ' edsaHomeMDB "= $strEDSAhomeMDB}"--> error Access Denied.

When I start a powershell with the user of our Service of server included in the command ' Set-QADUser $user-Proxy - ObjectAttributes @{"edsaMoveMailbox" = $true; "edsaHomeMDB"= $strEDSAhomeMDB}"works very well.

Is someone has a solution or concept for this?

Is it possible to remove a moverequest of Exchange when it is finished?

Kind regards

Florian Ballango

Hello

I found the solution, with Aidar and jhonnyquest.

I customized the Web interface "Create User" Wizard with the extensionAttribute6 menu drop-down with the 'Yes' and 'no '. I use this attribute to control the creation of mailboxes with the Script

Create a new Powershell Script in ActiveRoles with the following content:


$Request.PutEx($Constants.ADS_PROPERTY_UPDATE, "homeMDB", $edsaHomeMDB)
$Request.PutEx($Constants.ADS_PROPERTY_UPDATE, "edsaHomeMDB", $edsaHomeMDB)
$Request.PutEx($Constants.ADS_PROPERTY_UPDATE, "edsaCreateMsExchMailbox", $null)
           
}
}
}

Create a workflow with the target "User" object, and then select the Action 'create '.
In the empty workflow, you have the point of departure/green arrow and text with gray background the "execution of the operation: create the user.

Add the previous cretated Script between the green arrow and the execution of the operation.

Tags: Dell Tech

Similar Questions

  • To create the new group business with workflow vCO

    I'm working on a workflow of vCO that will allow members of my team to put in place new teams in vCAC...

    I can't to his exercises how mapping the output of 'Create a prefix Machine', which is vCAC:Entity to the Machine of the Enter prefix (defaultMachinePrefix), which is vCACCAFE:MachinePrefix.

    When I try to transmit the ID of the entity to the prefix defaultMachine I get the following error: cannot convert undefined to java.util.UUID (workflow: Set up vCAC new user / create a group of companies (item6) #4)

    Did anyone had success or trying to do something that we can't do?

    See you soon

    OK finally managed to do...

    vCACCAFEEntitiesFinder is the way to go for this kind of things.

    Here's what I did to move the machine of the prefix vCACEntity to vCAC:MachinePrefix:

    Entries:

    mp_new MachinePrefix (vCAC:Entity out of new machine OU prefix)

    vCACCAFEHost (vCACCAFE:VCACHost)

    Outputs:

    mp_defaultMachinePrefix (vCACCAFE:MachinePrefix)

    function getMachinePrefix() {

    var vCACCAFEMachinePrefix;

    var array = new Array();

    array = vCACCAFEEntitiesFinder.getMachinePrefixes(vCACCAFEHost);

    var machinePrefix = mp_newMachinePrefix.getProperty("MachinePrefix");

    System.log("Searching for machine prefix..");

    for (var i = 0; i < array.length; i++) {

    if (array[i].name.toLowerCase() == machinePrefix.toLowerCase()){

    System.log("Found MachinePrefix : " + array[i].name);

    vCACCAFEMachinePrefix = array[i];

    }

    }

    return vCACCAFEMachinePrefix;

    //Set default prefix mp_defaultMachinePrefix = getMachinePrefix();

    if(!mp_defaultMachinePrefix){

    throw "Could not find machine prefix entity";

    }

  • Server of VMotion of mailbox Exchange causing interruptions in service of the virtual IP address and Cluster name?

    Hi people,

    Is this expected behavior with VMware, when you do VMotion for mailbox Exchange Server 2007 SP1 of the JRC in the case of DR, he stopped the production node?

    Because during the VMotion virtual IP address and NOMCLUSTER does not not in the massive blackout of ping, which causes in the box the production mailbox.

    the solution was to turn off instance after the VMotion DR do fail over to the node of production again.

    No explanation for this incident would be great.

    The problem with your Exchange databases failover to the other node in the cluster during vMotion is due to heart rate is lost between the nodes during the migration.  This is the same problem that appears in Exchange 2010, when you perform a vMotion and there are solutions documented (of Microsoft) to get around that.

    Before discussing make these solutions work with Exchange 2007 and Windows Server 2008, I looked up the political support of Microsoft for Exchange 2007 and virtualization.  Short version - vMotion is not supported in Exchange 2007.  See below:

    Microsoft supports continuous replication Exchange cluster (CCR) and single copy clusters (SCC) in environments of hardware virtualization, provided that the virtualization environment does not not based on hypervisor clustering or migration solutions (for example, Hyper-V migration fast or ESX from VMware vMotion) that are configured automatically failover or move servers from mailboxes that are run as hosts between root servers.

    http://TechNet.Microsoft.com/en-us/library/cc794548 (EXCHG.80) .aspx

    This description sounds a bit like a mix between vMotion and vSphere HA to be honest, but it is directly from Microsoft for Exchange 2007 support page.

    For me, if Exchange is a critical application, then that's the end of the story and I wouldn't try to use vMotion.  I switch on services between the nodes in the CCR cluster and stop the passive node when I needed to perform the ESX host maintenance, etc..

    If you want to test at least to see if you can get vMotion to work, you can adjust the cluster heartbeat timeout settings in Windows to leave more time for the vMotion to complete before the cluster fails over to the passive node.  Instructions for how to do this are in the blog post following (bearing in mind that, although the blog is specially for Exchange 2010, the controls are Windows commands that should also work with Exchange 2007):

    http://www.thelowercasew.com/vSphere-and-Exchange-Admins-can-live-in-harmony-Microsoft-finally-supports-HA-and-VMotion

    So in short - you can probably do vMotion works correctly by changing cluster heartbeat timeout values, but it is probably not worth since the configuration is not supported anyway.  If you want to adjust the values of pulsation of cluster you test this in a development environment before making the change in production.

    One last bit - if your organization has a Microsoft Premier support agreement, then Microsoft will probably support the configuration even if the documentation says that it is not supported.  Check if your organization has this level of an agreement of support and if so, check with your Microsoft representative as vMotion for Exchange 2007 configuration is supported.  Make sure you explicitly Exchange 2007 because we know that it is supported for Exchange 2010.

    Matt

    http://www.thelowercasew.com

  • I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not display in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not appear in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    You must save the spreadsheet containing the new date as a model format and use this custom template for each new spreadsheet where you want that this date format personalized at your disposal.

  • How to create a new mailbox on my iPad version 9.3

    How to create a new mailbox on my iPad version 9.3

    Go to the mailbox. Tap on edit. Press new mailbox. Name of the mailbox tap Save.

  • The wizard of the driver NI-VISA creates drivers that are compatible with the 64-bit Windows XP/Vista version?

    The wizard of the NI-VISA driver creates drivers that are compatible with 64-bit Windows XP/Vista?

    InfiniteNothing-

    If you use a 64-bit compatible version of the NI-VISA driver, then the Assistant of the Driver NI-VISA is expected to create device drivers compatible 64-bit running in 32-bit mode.  You can find the various drivers of NI-VISA at http://joule.ni.com/nidu/cds/fn/p/sn/n23:1640/lang/en.

    Take care!

  • How do I create a new user account with windows XP Home Edition after operational failure

    How do I create a new user account with windows XP Home Edition after operational failure

    Hi andyprice,
     
    -What is the operational flaw that you speak?
    -You receive an error message when trying to create a new user account?
     
    Write us with more information pertaining to the matter to help us help you better.
     
    In the meantime, you can refer to this article:
  • "This file has no program associated with it for performing this action. Create a partner in association with control panel

    I download HotSpot Shield, but when I run the program it shows "this file has no program associated with it for performing this action. Create a partner in association with control panel

    Hello rajlama blanchon,.

    I suggest to download Hotspot Shield 2.18 from the following link and then try to install it.

    http://hotspot-shield.en.softonic.com/

  • When I open Windows Mail on Vista Home Premium, I get an alert security that says "information you exchange with this site cannot be viewed or changed by others.

    whenever I have open windows mail on vista Home premium I get a security alert come in saying: information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the sites security certificate. the apears to warning sign against the flowing: the name on the sercurity certificate is invalid or does not match name sites. When I look at the certificate is isseued to: a248.e.akamai.net and issued by: gte cybertrust global root. Please help like really annoying me now. If you need more detail, please let me know

    original title: windows security alert email

    It's okay Brian T and GWinV. On my windows live mail that I had to delete all the emails of the Martin Lewis to stop this upcoming certificate error. Everything is good now.

  • I want to install a second hard drive in my laptop (mSata SSD), so do I create a system dual boot with the same license Windows on each disc.

    Original title: Dual Boot Laptop

    I want to install a second hard drive in my laptop (mSata SSD), I have two programs to install that "do not receive the", so I can create a system dual boot with the same license Windows on each disc. I can run only one at a time, and it's the same pc/laptop.

    No, you can't, a second facility would be like installing on a second computer, you will need to purchase a second license.

  • How to create a file name variable with the County and the date?

    Objective: Create a file name variable with the County and the date

    Error: get a lot of error. Do you know how to change my code?

    Question: how to create a file name variable with the County and the date?

    Mini code:

    std::string * rawfilepath;
    std::string * rawfilename;

    rawfilepath = "./shared/documents/";
    RawFileName = rawfilepath + 'rawlog -' + 0 + '-.txt ';
    QFile file (rawfilename);
    If (file.exists ()) {}
    rawfilenamecount ++;
    RawFileName = "./shared/documents/rawlog-" + rawfilenamecount + "-.txt ';
    }

    Thank you for your attention,

    Thank tzander reminding me the idea. Method of cascades is not good for me because all of the kernel code is written by Native. If I change the channel to QString, I need to change a lot of codes.

    Solution is below.

    While (access (rawfilename, F_OK)! = - 1) {}
    rawfilenamecount ++;
    sprintf (format, RawFileName, rawfilenamecount);
    fprintf (stderr, "file exists");
    }

    Rawlog = fopen (rawfilename, "w"); Save the file in a specific path.
    fprintf (rawlog, "System Time (ms)" "");

  • WD5000H1U car has become a legacy product and we have no plans to create a firmware for compatibility with Windows 7. __

    I got this response from Western Digital on my old hard drive My Book Essential Extermal.

    Thank you for your response.

    Really, I apologize for the inconvenience that you are experiencing currently. Unfortunately, this disc became a product and we have no plans to create a firmware for compatibility with Windows 7.

    I hope that we have met your expectations today and that you are satisfied with our service. If you have any other questions, just reply to this email and we will be happy to help you further.

    Sincerely,
    Nestor V.
    Western Digital Service and support

    If you encounter any problems with your external hard drive, this could be the problem.

    Well, don't know how it happened, but it works.

    Last night I went on the Web site of WD and downloaded

    1 EssentialEliteFirmwareUpdaterv1.032_1.0.7.4
    2 WDSmartWare_Software_Updater_For_Windows_1_0_12

    After I did it, I unplugged all of my other drives and I tried everything again with the missing disk, but it still does not.

    This morning, I reconnected all of my readers, and he started to read the missing disk.

    The version of the driver file is now
    6.1.7600.16385(win7_rtm090713-1255)

    I'm not sure what did the trick, but maybe this will help someone out there.

    Good luck!

  • How to create a user local administrator with the user root on the CV

    As says the tile, how to create a user local administrator with the user root on VCS-Express. I lost the password and cannot log in as an admin user, but I can't seem to log as long as user root.

    Once connect you with the root account, type in "tsh", from there, you can create the accounts of local administrators with 'xCommand AdminAccountAdd.  See the reference section of command of the VCS Administrator's Guide, starting on pg 517.

    If your VCS is a virtual machine, you can change the password of admin with vSphere, or if it is a hardware appliance, you can use the serial port, see pg 312 of the Administrator's guide.

  • Can you create a button in Dreamweaver with a "promo code" function, so users who have the promo code can go to a discount on a product page?

    Can you create a button in Dreamweaver with a "promo code" function, so users who have the promo code can go to a discount on a product page?

    Unless you are a qualified PHP coder, you will need a full shopping cart 3rd party.

    Asecurecart is reasonably priced, and it can be integrated with your PayPal account for the processing of payments + many others like WorldPay, Authorize.net, etc...

    ASecureCart shopping cart. A shopping cart compliant secure PCI.

    Nancy O.

  • How to create a my Signature (signature with the tablet of manufacturing) Action?

    How to create a my Signature (signature with the tablet of manufacturing) Action?

    I use PSCS6?

    I have no problem making an action of signature if I pick a font and then type in my name,

    but to make a real action of my signature seems impossible.

    Hello

    There is a very cool technique to do by your signature in a Photoshop brush.  Once this is a brush, you can change the size and place the signature everywhere where you want.

    Google "Photoshop brush signature" or something similar and you will see a lot of tutorials.  Try this one:

    Photoshop reference guide | Creating a custom brush Signature | Peachpit

    Basically, you sign your signature on a blank piece of paper, then you scan in a JPG or TIFF file, then you open that file in PS to create a brush.

    I hope this helps.

    John

Maybe you are looking for