Change proxyAddresses attribute Exchange OIM

Hello everyone,
I need to modify the attribute of proxyAddresses Exchange to amend the email addresses supply, as they must be different to those created when a resource supplies Exchange.
I am grateful for the help of everyone.
Greetings,
Leandro

Hashtable ht = new Hashtable();
Vector msv = new Vector();
Vector msv1 = new Vector();
msv.add("SMTP:[email protected]");
msv.add("smtp:[email protected]");
msv.add("X400:c=US;a= ;p=First Organizati;o=Exchange;s=gupta;g=vineet");
msv1.add("{26491CFC-9E50-4857-861B-0CB8DF22B5D7}");
ht.put("proxyAddresses", msv);
ht.put("msExchPoliciesExcluded", msv1);
and call Exchange apis passing this hashtable

Similar Messages

  • Update the proxyaddresses attribute via rsldapsync_user

    Dear Gurus,
    i configured a ldap-scenario and tested it by reading different attributes from the directory and updating the user information.
    It worked well!
    Now i want to write the proxyaddresses-attribute into the directory. i configured an exporting mapping from the e-mail address of the sap-user to the mentioned dir.-attr.. In this mapping i call a function module. For simple testing i call an ldap-module to read the actual values of the directory-attribute and write them back to the directory:
      Read table attributes with Key var = 'USERNAME' fld = 'BAPIBNAME' assigning <hybral>.
      READ TABLE <hybral>-vals index 1 ASSIGNING <vals>.
      CONCATENATE '(&(objectclass=user)(samaccountname=' <vals>-val '))' into filter.
      CALL FUNCTION 'LDAP_READ'
         EXPORTING
    *   BASE                = ''
         base_string         = 'ou=test-ou,dc=test-domain1,dc=test-domain2'
         scope               = 2
         filter              = filter
    *   FILTER_STRING       =
    *   TIMEOUT             =
         attributes          = it_attr
         IMPORTING
           ldaprc              = ldaprc
           entries             = ldapetab
         EXCEPTIONS
           no_authoriz         = 1
           conn_outdate        = 2
           ldap_failure        = 3
           not_alive           = 4
           other_error         = 5
           OTHERS              = 6
      READ TABLE ldapetab INDEX 1 ASSIGNING <ldape>.
      READ TABLE <ldape>-attributes WITH KEY name = 'PROXYADDRESSES' INTO ls_attribute_ldap.
      ls_attribute_ldap-typ = 'C'.
      INSERT ls_attribute_ldap INTO TABLE attributes_ldap.
    at the end of the module i export the values into attributes_ldap. When i debug the folowing steps, the values are cummincated throughout the ldap-function-modules that are used by rsldapsync_user. The ldap_modify module exports a returncode 53.
    Now i want to know if it is possible to update the proxyaddresses-attribute in this manner. Are there any mistakes in my thinking or in the posted function-module. Does anyone of you have some experience updating multiple line entries in Active Directory via SAP-LDAP?
    Thanks in advance

    Now i wrote a function module which reads an attribute and tries to write it back to the active directory.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     REFERENCE(IP_UNAME) TYPE  XUBNAME
    *"  EXPORTING
    *"     VALUE(EP_MAIL) TYPE  STRINGVAL
      DATA: wa_attr TYPE ldapas,
            it_attr TYPE ldapastab,
            ldapetab TYPE ldapetab,
            ldaprc TYPE ldapdefs-ldrc,
            filter TYPE ldap_filt.
      FIELD-SYMBOLS:
            <ldape>   TYPE ldape.
      wa_attr-typ = 'C'.
      wa_attr-name = 'SAMACCOUNTNAME'.
      APPEND wa_attr TO it_attr.
      wa_attr-name = 'PROXYADDRESSES'.
      APPEND wa_attr TO it_attr.
      CONCATENATE '(&(objectclass=user)(samaccountname=' ip_uname '))' INTO filter.
      CALL FUNCTION 'LDAP_SYSTEMBIND'
       EXPORTING
         serverid            = 'WSWACTIVEDIR'
       writeread           = 'W'
    *   WAIT_TIME           = 0
       IMPORTING
         ldaprc              = ldaprc
    *   BASEDN              =
    *   BASEDN_STRING       =
    * CHANGING
    *   HOLDSESS            = 0
    * EXCEPTIONS
    *   NO_AUTHORIZ         = 1
    *   CONFIG_ERROR        = 2
    *   NOMORE_CONNS        = 3
    *   LDAP_FAILURE        = 4
    *   NOT_ALIVE           = 5
    *   OTHER_ERROR         = 6
    *   OTHERS              = 7
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LDAP_READ'
       EXPORTING
    *   BASE                = ''
       base_string         = 'ou=wsw-benutzer,dc=stadtwerke,dc=loc'
       scope               = 2
       filter              = filter
    *   FILTER_STRING       =
    *   TIMEOUT             =
       attributes          = it_attr
       IMPORTING
         ldaprc              = ldaprc
         entries             = ldapetab
       EXCEPTIONS
         no_authoriz         = 1
         conn_outdate        = 2
         ldap_failure        = 3
         not_alive           = 4
         other_error         = 5
         OTHERS              = 6
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE ldapetab INDEX 1 ASSIGNING <ldape>.
      CALL FUNCTION 'LDAP_UPDATE'
        EXPORTING
          entry              = <ldape>
       IMPORTING
         ldaprc             = ldaprc
    * EXCEPTIONS
    *   NO_AUTHORIZ        = 1
    *   CONN_OUTDATE       = 2
    *   PARAM_ERROR        = 3
    *   LDAP_FAILURE       = 4
    *   HEXVAL_ERROR       = 5
    *   NOT_ALIVE          = 6
    *   OTHER_ERROR        = 7
    *   OTHERS             = 8
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    After LDAP_READ the ldaprc = 0.
    After LDAP_READ ldaprc is 53.
    So i can exclude a wrong mapping in transaction ldap.
    Edited by: Jan Martin Müller on Jun 9, 2010 3:17 PM

  • Carrying AD name change through to Exchange Online

    Semicolon wrote:If I remember correctly (its been a few months since we ran across that here), we changed everything in AD, synced it up, and then changed the user's UPN in AzureAD/Office365 to match the new email address once all of the synced information made it up. I'm a fan of the powershells so I used the Set-MsolUserPrincipalName cmdlet to do this last step; I don't know if there's a method to do that in the GUI.If the user is already synced using Dirsync, then all you have to do is change the relevant information in AD and you're all set. Dirsync links the AD and MSOL users with an immutable ID so once the user has been created in the cloud it will always sync with the correct AD user regardless of any AD attributes changing. While Set-MSOLUserPrincipalName will probably work just fine, it's not entirely necessary.

    Hi All
    We have a recently-married user who is requesting her name be changed on the system.
    When we had OnPrem Exchange, following an AD name change through to Exchange was simple, but I've never had to do it since we've migrated to Exchange Online (we use DirSync with Password Hash)...
    Anyone know how the process goes, please? Don't want to lose her mailbox or anything!
    Thanks in advance
    Dave
    This topic first appeared in the Spiceworks Community

  • How to limit a specific value for an attribute in OIM during AD recon.

    Hello,
    User with same attribute have diffrent values in target system. When trying to reconcile the user i wouod like to rconcile only one value but not all of them. Even though we reconcile all the values for that atribute, we do not want to display them in child form.
    Ex: There is an attrubute in Active directory called "idLevel" having diffrent values like 2, 3, 4, 40 .
    This is multilevel attribute in OIM which displayed in Child form.
    I want to disaplay ONLY idLevel values 40 in OIM child form. Right now when I reconcile this attribute for the user all the values are getting populated.
    PLease let me know if we can achieve this.
    Thanks

    Hate to say it, but I don't think you can without writing your own recon code.
    -Kevin

  • How to change the attribute name for a relation

    When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the attribute gets calculated by the attribute name of the entity which is part of the relation. This is okay, if there is only one relation between two entities. But when there are two relations between two entities the second attribute gets a stupid number suffix. This makes it impossible to give the attribute a useful semantic meaning.
    When I engineer the model into a relational model I can change the column name in the relational model. Changing the column name in the relational model is not perfect but it would be okay for me, if it would not be overwritten during the next engineering run.
    So I have two questions:
    How can I change the attribute name in the attributes section of the properties dialog of a relation? See here for screen shot:
    http://public.ceving.de/2012050300/relationattribute.png
    And if it is not possible:
    How can I preserve any changes on column names in the relational model during a re-engineering run?
    Edited by: 931739 on 03.05.2012 08:07

    Hi,
    I've logged an Enhancement request on this.
    I don't believe it's possible to change it from the Entity or Relationship dialog, as it's not updatable in these dialogs.
    What you can do is change it in the Relational Model, and then reverse engineer the change back to the Logical Model.
    David

  • Provision a multivalued attribute from OIM to OID

    Hi,
    I have a requirement to provision a new multivalued attribute from OIM to OID.
    Steps followed:
    Created a child form
    Attached child form to the OID Parent form
    Created a process task adapter.
    Created a task in process definition and the attached the adapter
    Adapter code.
    public String addChildData(tcDataProvider ioDatabase, long procInstKey, long childDefKey){
              try{
                   tcFormInstanceOperationsIntf formInstOper = (tcFormInstanceOperationsIntf)tcUtilityFactory.getUtility(ioDatabase, "Thor.API.Operations.tcFormInstanceOperationsIntf");
                   HashMap testval = new HashMap();
                   testval.put("UD_TESTCHIL_TESTGROUP","abcd2134");
                   System.out.println("testval..."+testval);
                   long formreturn = formInstOper.addProcessFormChildData(childDefKey,procInstKey,testval);
                   System.out.println("formreturn" +formreturn);
              catch(Exception e){
                   System.out.println("exce" +e);
              return "Success";
    After attaching while provisioning I am seeing both parent and child forms. I have provided the values and its successfully provisioning.
    But how I can provision the new OID multivalued attribute. We have to do any setting in the lookup?
    Regards,
    KK

    Just create your new adapter for add and delete from this new child table just like the other triggered tasks. If it's a multi value on the user profile, use the adapter for Add Multi Value Attribute that comes with the connector. In the property name, put in your multi value attribute name, and map the value from the child table.
    -Kevin

  • How to change report attributes like heading, sort etc programmatically

    Some of the columns from a classic reports using pl/sql as region source should be sortable. Is it possible to change this attribute (sort = yes) using JavaScript or APEX API?
    David
    Edited by: david on Sep 6, 2011 11:56 PM

    There is something I don't understand here. Why do you need to point at the sxd? What is changing? Like I mentioned before. If the contents of the xsd change, all the report will do is - at best - drop the changed fields so you will be missing data. Perhaps some of the following will help;
    [Crystal Reports Guide To ADO.NET|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20?quicklink=index&overridelayout=true]
    [Crystal Reports For Visual Studio .NET Reporting Off ADO.NET Datasets|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75?quicklink=index&overridelayout=true]
    [Crystal Reports For Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23?quicklink=index&overridelayout=true] (page 332 on).
    Ludek

  • How to change the attribut of Form in Review Form in ISR

    Hi,
    We have to change the attributes of text fields of form ( e.g disabling the text field ) once user hits the Review Form button on MSS page
    Please let me know how to do it .
    Thanks
    Manish

    Hi Manish,
    You may write the Formcalc scripting for the respective field.
    //Check ISR control parameters for read/write access
    if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |
       $record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" | <b>$record.CONTROL_PARAM.ISR_REVIEW == "true" )</b>
    then
         this.access = "readOnly"
    else
         this.access = ""
    endif
    Hope this helps.
    Thanks and Regards,
    Anto.

  • How to change the attributes of GUI CONTROLS in my own program.

    hi all,
    i just want to change the attributes of GUI CONTROLS in my own program.
    for example `
    How to set an ICON on my GUI BUTTON in the program?
    so what's the mapping between CONTROL in the SCREEN PAINTER and variable in the program?

    Hi Chao Liu,
    Ya , u first find out the PF-STATUS of the screen and goto that status and now u can modify the ICON u want .
    Finding the GUI status of the screen
    Goto that  TRANSACTION CODE or SCREEN
    On the Standard Menu bar Goto ( Menu path) System --> Status
    Now u get a pop-up System :status in that in SAP Data block u can find GUI Status. Now Double Click on that Status. It takes u to the Status of that screen.
    Now click on the Display --> Change Button on the application tool bar.
    If it is a standard GUI-status then it asks for the ACCESS KEY.
    if it is a custom defined GUI Status  then u can change the status .
    reward if helpful
    raam

  • T-Code for changing the default Exchange Rate reference for creating PO?

    Dear All,
           Can somebody kindly give me the T-Code for changing the default
    Exchange Rate reference for creating PO? Is there a Step by Step
    procedure before changing the default exchange rate?
    Thank you in advance.
    Regards,
    Gopesh

    Hi
    There is not such Tcode to change the default exchange rate from the PO.
    If you want you can confugure the exchange rate in the following path in the IMG,
    SPRO>MM>LIV>Incoming Invoice>Configure How Exchange Rate Differences Are Treated
    Hope it helps you.
    Cheers
    Umakanth

  • How to change the  attribute of screen field to drop down list dynamically

    Hi All,
      Col X                   Col Y
      A                        input field
      B                       drop down list
    This is a tabular disply where the Screen field attribute for Col y  is NO DROP DOWN BOX.
    My requirement is to change the attribute of COl Y to DROP DOWN list depending on the value of
      COL X  dynamically.

    Dear Ajay,
    Actually this requirement is to enhance the standard screen for Tcode :EHSVU21.
    So depending on the 1st Column(Test no)  value ,i have to change the 3rd Column(Low.norm.result)
    property either to DROP Down or not.
    So in the PBO only the changes to be made and there is no field in SCREEN internal table for changing the attribute to DROP down. I checked SCREEN internal table where the field VALUE_HELP and REQUEST is useful but not  suitable for my case.
    Any solution available?

  • Export User Attributes in OIM 11g

    Hi,
    Can anyone let me know how to export User defined attributes in OIM 11g (11.1.1.5)? I couldn't find option in export manager for user defined fields (as in 9.x version).

    bbagaria wrote:
    madhatter wrote:
    BTW, the result of exporting the "User UDF" category contains the /file/User.xml too. So, you need not deal with metadata directly to get this file.Interesting, never worked for me.Use the code snippet in the Export section at http://idmclub.wikidot.com/import-export-deployment-artifacts
    Use "User UDF" instead of "Resource". You will get something like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <xl-ddm-data version="2.0.0.0" user="XELSYSADM" database="jdbc:oracle:thin:@localhost:1521/orcl" exported-date="1312490747931" description="">
    <Form repo-type="RDBMS" name="USR" subtype="User UDF">
    <SDK_ORC>0</SDK_ORC>
    <SDK_SCHEMA>DEV_OIM</SDK_SCHEMA>
    <SDK_DATA_LEVEL>2</SDK_DATA_LEVEL>
    <SDK_DESCRIPTION>Users - User Defined Fields</SDK_DESCRIPTION>
    <SDK_UPDATE>1304799781000</SDK_UPDATE>
    <SDK_ACTIVE_VERSION>0</SDK_ACTIVE_VERSION>
    <SDK_LATEST_VERSION>0</SDK_LATEST_VERSION>
    <SDK_TYPE>S</SDK_TYPE>
    <FormField repo-type="RDBMS" name="USR_UDF_LS_CHG_CODE">
    </FormField>
    <FormAdministrator repo-type="RDBMS">
    </FormAdministrator>
    </Form>
    <UserXml repo-type="MDS" name="User" mds-path="/file" mds-file="User.xml">
    <completeXml>
    <UserXml>
    <entity-definition xmlns="http://www.oracle.com/schema/oim/entity">
    </entity-definition>
    </UserXml>
    </completeXml>
    </UserXml>
    <DataObjectDef repo-type="RDBMS" name="com.thortech.xl.dataobj.tcUSR">
    </DataObjectDef>
    </xl-ddm-data>Enjoy the UserXml XML element!
    Disclaimer: I use 11.1.1.3, not 11.1.1.5
    Edited by: madhatter on Aug 5, 2011 1:10 AM

  • .change IUCONFIG attribute value in an event-handler of IUICCON (move in)

    Hi there,
    I have been searching for over a week now both on SDN and using the debugger, hopefully this brings more luck.
    On the web-client there is this new contracts page with 3 tabs.
    On the first tab you can choose a product, select a contract and then click Configuration.
    There you can change parameters. (this is View IUCONFIG/ConfigTree) with contextnode ISUORDERITEMCONFIG.
    In this case it is not wanted that this configuration page needs to be opened.
    So I need to change the value of 1 of these attributes (always the same attribute) automatically when switching to the 2nd tab, or when clicking the save button on the last tab. Or any event on the 2nd or 3rd tab are okay. As long as they are sure to be executed in the process.
    I would prefer changing the attribute from within IUICCON/ProcessSaveButtonBar>EH_ONBT_SAVE_PROCESS
    or IUICCON/ProcessBar>EH_ONNAVTOACCOUNTDATA
    I just don't have a clue how to automatically set one value of these configuration attributes.
    Can anybody provide a solution or a workaround?
    Is there any way to change the parameters without ever going to the configuration page in the browser?
    Thanks in advance for your ideas
    Could this thread be moved to CRM webclient?

    Solved, the solution can be supplied in trade for the right amount of money
    (okay is was CRM_ISU_CONT_CHANGE_OW)

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How do I change text attributes within one text box in Motion 3?

    I am trying to change text attributes within one text box in Motion 3, but am only able to change the font/size for the entire box. Is there a way to change the attributes to individual lines of text within a text box without creating an entirely new one or using the "Lower Third" text effect?
    How do I create (two different) multiple colors, fonts, bold, italic, underline in one text box within Final Cut Studio Motion (FCP, FCS)

    Thank you! You saved me hours of tinkering around with multiple text boxes. It seemed like it should be something pretty elementary. It didn't help that I am not familiar with proper terminology, so thank you for defining glyph.
    Cheers,
    Owfownugi

Maybe you are looking for