Mailbox Database selection based on user OU

I would like to automatically distribute mailbox creation based on User OU.
My Mailbox database is configured something like:
 ExecutiveDB1
 ExecutiveDB2
 SalesDB1
 SalesDB2
If a mailbox is provisioned for a User in the Executive OU, it should be created in either ExecutiveDB1 or ExecutiveDB2. Likewise for users in the Sales OU, it should create mailbox in SalesDB1 or SalesDB2.
I have created Database Scopes for Executive and Sales DBs.
What should I do next?
Thanks for your replies.

Hi,
From your description, you can use the database scopes to select databases for mailbox distribution. It could be the case if your Exchange servers serve several departments, but you only want to allow each department to create or move mailboxes to mailbox
databases allocated to them.
For more information about database scopes, here is an article for your reference, refer to the "how to use the database scopes to select databases for mailbox distribution" part.
Where Did That New Exchange 2010 Mailbox Go? (Note: Though it is Exchange 2010, it also applies to Exchange 2013 about this issue)
http://technet.microsoft.com/en-us/library/ff872148(v=exchg.141).aspx
Best regards,
Amy Wang
TechNet Community Support

Similar Messages

  • Database Provisioning based on OU

    Hello,
    I am looking for a way to automatically distribute newly created mailboxes over a group of servers based on the OU the user account is placed in.
    My situation:
    DatacenterA has DB01 and DB02
    DatacenterB has DB03 and DB04
    One DAG is used.
    One datacenter is closer to the west coast and the other closer to the east coast.  We are wanting to enable provisioning (-IsExcludedFromProvisioning $False) on all the DB's, but for users in the 'west coast OU' they would distribute across DatacenterA
    databases, and for users in the 'east coast OU' they would distribute across the DatacenterB databases.
    Not sure if this is possible, but would like to explore the possibility so we do not have to manually select the databases.
    thanks,
    Jason H

    I found this thread after I posted.  So I will work with the database scopes and see what I can do.
    https://social.technet.microsoft.com/Forums/exchange/en-US/0154144f-7c37-4a9a-9cdb-a32c1f579cae/mailbox-database-selection-based-on-user-ou?forum=exchangesvradmin
    Jason H

  • Selecting a column in Answers report based on user prompt/ apply filter

    I need to do the following in OBIEE Answers report (version 10.1.3.4.1):
    1) Think of a simple table with dim TX_type and some measures like month_jan, month_feb, month_mar
    so the fact table looks like (column names) tx_type, month_jan, month_feb, month_mar
    2) I need to select the measure column based on a user dashboard prompt, prompt populates a presentation variable var_month = jan or feb or mar
    3) I need to select the correct measure (one of these month_jan, month_feb, month_mar) and then apply column filter based on the dim TX_type to split the values of these into multiple columns for report. So the report may look like (in Answers)
    Sales , Tax, overheads
    where Sales may be defined as sum(month_jan) where rows have TX_type = 'sales'
    where Tax may be defined as sum(month_feb) where rows have TX_type = 'tax'
    where overheads may be defined as sum(month_mar) where rows have TX_type = 'overheads'
    IF the user selects jan
    IF user selects Feb then the 3 report columns are based on month_feb and likewise for month_mar
    I cannot use column selector option as the report column further apply filter in column filter definitions in Answers...
    4) When I try to build the column filter using a presentation variable (var_month), the presentation variable is not getting populated in the column filter.
    For e.g. IF var_month = 'jan'
    THEN month_jan (let us assume the logical column name is month_jan too)
    ELSE month_feb and so on...
    However, the var_month always shows 0 in the IF clause. If we used a repository variable instead, it works fine. But since repostory variable cannot be changed on the fly (by user prompt) it is not usable.
    We cannot change fact table defintion....and we have 12 measures column and about 8-10 different colum filter based report columns using this measure.

    Hi shyamvaran,
    have you thought about a SQL statement in the prompt, something like:
    SELECT
    case when 1=0 then Table."Column" else 'Jan' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Feb' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Mar' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Apr' end
    FROM "Subject Area"
    etc...
    Use this to give you the 12 values for your months then give the prompt column a presentation variable name and set a default value in the 'Default To'. Also set the same default value for the filter.
    A couple of points:
    1. If you're transforming the presentation variable from 'Jan' to 'month_jan' you may need to edit the syntax for the filter column (not using the dialog box).
    2. If you're transforming the behaviour of a dimension / measure column in the report, have you specified the syntax correctly, e.g. sum('@{pres_var}')?
    Hope this helps,
    Justin

  • How do you assign a user or group FULL access to all Exchange 2013 DAG mailbox databases?

    How do you assign a group or user FULL mailbox access rights to ALL mailboxes in the Organization or DAG mailbox databases?
    Commands I've tried with no avail:
    get-mailboxdatabase -server “exch01″ | add-adpermission -user “domain admins” -AccessRights GenericAll
    get-mailboxdatabase -identity "DAG database" | add-adpermission -user "user" -accessrights FullAccess
    Please let me know if you can help! Thanks.

    Get-Mailbox | Add-MailboxPermission -Identity UserMailbox -User "Domain\Group" -AccessRights FullAccess - worked for me! Thanks again!

  • Mailbox Databases - 1500 users Exchange 2010 DAG

    I have the following setup for a 5 server DAG setup and would like to know the recommended setup for high availability for all user databases. I would like the databases copied to several DAG members servers, but am unsure as to how i should stagger the
    database replication. Please see the drive sizes below and send me feedback/recommendations.
    Each of my DAG member servers (mailbox servers) has the following storage space available:
    C:\60GB(O/S), D:\1TB(Mailboxes), E:\1TB(Mailboxes) F:\(logs)
    How many databases should i create to maximize efficiency and give best user performance/experience?
    To how many DAG member servers should i copy the database in order to achieve a reasonable amount of High Availability?
    Again, I have 1500 users and 2TB per server to accommodate mailbox databases.
    Users average 500MB mailbox quotas.
    Can i create the DAG replicas on the second drive (E:\) or should i just use both terabyte volumes exclusively for users mailboxes?

    Hi,
    5 members in a DAG and one database created for every member, I suggest you create three copys for a database like the following figure. Any two servers corruption couldn't interrupt any client connection.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Sean Xiao
    TechNet Community Support

  • Reading dynamic table column based on user selection

    Hi there,
    I am having a problem of reading and manipulating the data stored in a standard SAP table. The following example simulates the table and what i am trying to do:
    Table: Storing sales data for sales person
    SALES_PERSON    REGION   YEAR   MTH_S1  MTH_S2  MTH_S3 MTH_S4...
    Richard  S               NORTH    2007     100          200         300        400
    John K                    SOUTH    2007      50           100         100        20
    Brad P                    NORTH    2007     300          100         100        50
    User have have the following selection option:
    1. Month.
    The program will calculate the sales based on the individual month selected
    Example, if user select Month = 3, then program take only MTH_S3 column value
    So total sales = 300100100=500
    2. Month range
    The program will calculate the sales based on the month range selected
    Example, if user select Month 2 to 4, then program take MTH 2 to MTH_S4 columns value
    So total sales = 400 (for MTH_S2) + 500 (for MTH_S3) + 470 (for MTH_S4) = 1370
    How should i write the logic or code for this requirement?
    Hope someone can help.
    Thanks,
    Pang HK

    Try something like this
    TABLES:
    t247.
    SELECT-OPTIONS:
      s_month FOR t247-mnr NO-EXTENSION.
    DATA:
      BEGIN OF fs_data,
        person(30),
        area(10),
        year(4),
        mon1 TYPE kbetr,
        mon2 TYPE kbetr,
        mon3 TYPE kbetr,
        mon4 TYPE kbetr,
        mon5 TYPE kbetr,
      END OF fs_data,
      t_data LIKE STANDARD TABLE OF fs_data,
      w_no_months TYPE i,
      w_kbetr TYPE kbetr,
      w_total TYPE kbetr.
      LOOP AT t_data INTO fs_data.
        CLEAR w_kbetr.
        DO 5 TIMES VARYING w_kbetr FROM fs_data-mon1
                                                          NEXT fs_data-mon2.
        IF sy-index IN s_month.
          w_total = w_total + w_kbetr.
        ENDIF.
        ENDDO.
      ENDLOOP.
    change the value 5, according to the no.of months in ur internal table

  • Files associated with user's mailbox database and reverent directory path (exchange 2010)

    Hi,
    I want to know all the files and other associated types of log files with particular user's mailbox database in exchange 2010 & its reverent directory path . Please suggest
    Aditya Mediratta

    Hi,
    If you want to view the database file path and associated log file path, you can use the following command.
    Get-MailboxDatabase "Mailbox Database" | fl *path
    Default path is C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database
    Best regards,
    Belinda Ma
    TechNet Community Support

  • How to create dynamic ed flash charts based on user selected fields in Orac

    Hi all,
    Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
    Thanks
    Manish

    Hello,
    Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
    http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
    Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Output different data based on user select

    Hi everyone,
    Quick question, I would like to output different report columns based on user select, eg., users would be presented with two choices in a radiobutton list, eg., 1 and 2.
    I have query results that contain columns A, B, C, D, E, F, G.
    If user selects 1 then the output should be columns A, B, C, D, E.
    If user selects 2 then the output should be columns A, B, C, F, G.
    I am sure this is possible and easy? If so, what topic should I be reading/searching internet on?
    Please advise.
    Thanks!

    I would say that this is most often something that your user interface should be dealing with (i.e. which columns should be shown).
    There is no way to do that in SQL.
    In PL/SQL it is a simple situation of creating two cursors and simply deciding which one to open.
    <pre>declare
    l_cur sys_refcursor;
    begin
    if :user_selection = 1 then
    open l_cur for select A, B, C, D, E from tbl;
    else
    open l_cur for select A, B, C, F, G from tbl;
    end if;
    -- use the cursor
    close l_cur; -- or return to user interface
    end;
    /</pre>
    Hope this helps.

  • Dynamic variation of prompt clause based on user selection

    Hi,
    I would like to know if there is any possibility to change the query to have 'IN' clause or '=' clause based on user prompt selection.
    Say, if user enters single value for a prompt, the query should have = clause and when enters multiple input, the query change to IN clause.
    HummingBird tool has the capability to dynamically change between = and IN based on the prompt selection.
    There seems to be some issue in performance because of the IN clause we’ve used while passing single prompt value when compared to Hummingbird tool.
    Is it possible in BI Publisher???

    Hi ,
    It is not possible to select the IN or = based on Prompt selection directly..
    You can Use IN..that will work as = also..
    Thanks,
    Ananth

  • 11g - LDAP Sync - Select Custom Object class based on user type

    Hi Gurus,
    We have Ldap Sync set up between OIM 11g and ODSEE, we have some custom object class in ODSEE when the user are getting created in OIM it is getting created in ODSEE and it has all object class , every thing is working fine.
    Now we have to select the object class based on user type of OIM, while pushing the user to ODSEE through LDAP sync.
    we checked the LDAPUser.xml we doesnt have any option to choose custom object class based on user type.
    Guys needs suggestion how to go forward on this requirement.

    Do you have OVD between OIM and ODSEE? If yes, then this can be handled at OVD. By modifying the LDAP Adapter and setting up search for users with custom objectclass instead of inetorgperson.
    Flow would be as follows:
    OIM --> LDAPRequest to Create User with inetorgperson to OVD --> OVD --> change request's objectclass to custom objectclass --> Create user in OID with custom objectclass
    ~Yagnesh

  • Exchange User Mailbox Database Group Lookup Reconciliation-parameters

    Hi everyone,
    I want to execute Exchange User Mailbox Database Group Lookup Reconciliation.
    Parameters :
    Code Key Attribute : __NAME__ (default)
    Decode Attribute : __NAME__ (default)
    IT Resource Name : Exchange IT Resource
    Lookup Name : Lookup.Exchange.MailboxDatabase (default)
    Object Type : __MAILBOXDATABASE__ (default)
    Resource Object Name : Exchange User
    Is there any incorrect parameter?
    Thanks.
    Best Regards.

    Everything looks correct, all parameters have been provided correctly. Check values in "Exchange IT Resource" before executing scheduler.

  • [MDX] Define date range based on user selection

    Hi All,
    I'm trying to define date range (of 3 months) using mdx based on user selection.
    This is what I'm trying to do:
    - If user select 2013, I would like range to be: from
    1 Oct 2013 to 31 Dec 2013
    - If user select Aug 2013, I would like range to be: from
    1 Jun 2013 to 31 Aug 2013
    - If user select 15 Sep 2013, I would like range to be : from
    15 Jul 2013 to 15 Sep 2013
    It is not a problem to get the upper bound of the range like this:
    ClosingPeriod(
    [Date].[Calendar].[Date],
    [Date].[Calendar].CurrentMember
    But I'm not able to get the lower bound of the range:
    OpeningPeriod(
    [Date].[Calendar].[Date],
    ParallelPeriod(
    [Date].[Calendar].[Month Number],
    2,
    ClosingPeriod(
    [Date].[Calendar].[Date],
    [Date].[Calendar].CurrentMember
    Error:If user selection is
    15 Aug 2013, I get
    14 Jun 2013
    If user selection is Apr 2013, I get
    (null)
    And even more strange, if user selection is
    2013, I get 28 Oct 2013
    Any idea of how to solve this ?
    Thanks,
    Guillaume

    Hello Guillaume,
    Can you please check if the following works for you? By the way, the performance will suffer due to all these IIF, the solution is very complex in order to avoid null in ParallelPeriod.
    with member measures.high as MemberToStr(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    member measures.low as
    MemberToStr(
    iif(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ) IS ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ).Parent.LastChild  --last date of the month
    OpeningPeriod(
       [Date].[Calendar].[Date],
    Ancestor(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ), [Date].[Calendar].[Month]).lag(2)
    iif([Date].[Calendar].CurrentMember.level is
    [Date].[Calendar].[Date]
    and
    Right(CSTR([Date].[Calendar].CurrentMember.Properties("KEY0")),4)="0429" --take care of 4/29
    OpeningPeriod(
       [Date].[Calendar].[Date],
    Ancestor(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ), [Date].[Calendar].[Month]).lag(2)
    OpeningPeriod(
       [Date].[Calendar].[Date],
       ParallelPeriod(
          [Date].[Calendar].[Month],
          2,
          ClosingPeriod(
             [Date].[Calendar].[Date],
             [Date].[Calendar].CurrentMember
    select  {measures.low,measures.high } on 0
    from [Adventure Works]
    where
    --[Date].[Calendar].[Date].&[20070815]
    --get [Date].[Calendar].[Date].&[20070615]
    --[Date].[Calendar].[Date].&[20070530]
    --get[Date].[Calendar].[Date].&[20070330]
    --[Date].[Calendar].[Date].&[20070429]
    --get [Date].[Calendar].[Date].&[20070201]
    --[Date].[Calendar].[Calendar Year].&[2007]
    --get [Date].[Calendar].[Date].&[20071001]
    --[Date].[Calendar].[Month].&[2007]&[4]
    --get [Date].[Calendar].[Date].&[20070201]
    --[Date].[Calendar].[Month].&[2007]&[5]
    --get [Date].[Calendar].[Date].&[20070301]
    --[Date].[Calendar].[Date].&[20070228]
    --get [Date].[Calendar].[Date].&[20061201]
    --[Date].[Calendar].[Date].&[20070831]
    --get [Date].[Calendar].[Date].&[20070601]
    If this does not work for you, I would suggest opening a ticket with Microsoft Support, with an advisory type of request.
    Hope this helps.
    Thanks.
    Meer Al - MSFT

  • Displaying internal table fields data based on user selection

    Hi all,
    I am having a checkbox for each field in the internal table.
    and i only have to display the fields of the internal table which the user has selected based on the check boxes provided.
    Could you plz help me out, how can i display the data of only those fields which the user has selected initially.....
    Thanks,
    anil.

    Hi,
      This is not the best solution but this can be one solution.
    Check this code
    REPORT z_sdn.
    PARAMETERS:
      p_kunnr AS CHECKBOX DEFAULT 'X',
      p_land1 AS CHECKBOX,
      p_name1 AS CHECKBOX.
    DATA:
      BEGIN OF fs_tab,
        kunnr     TYPE kunnr,
        land(10) TYPE c,
        name(10) TYPE c,
      END OF fs_tab.
    DATA:
      t_tab LIKE
      TABLE OF
            fs_tab.
    START-OF-SELECTION.
      CLEAR fs_tab.
      fs_tab-kunnr = '001'.
      fs_tab-land  = 'Land1'.
      fs_tab-name  = 'Name1'.
      APPEND fs_tab TO t_tab.
      CLEAR fs_tab.
      fs_tab-kunnr = '002'.
      fs_tab-land  = 'Land2'.
      fs_tab-name  = 'Name2'.
      APPEND fs_tab TO t_tab.
      IF p_kunnr = 'X' AND p_land1 IS INITIAL AND p_name1 IS INITIAL.
        WRITE: / 'KUNNR:'.
        LOOP AT t_tab INTO fs_tab.
          WRITE: / fs_tab-kunnr.
        ENDLOOP.
      ENDIF.
      IF p_land1 = 'X' AND p_kunnr IS INITIAL AND p_name1 IS INITIAL.
        WRITE: / 'LAND:'.
        LOOP AT t_tab INTO fs_tab.
          WRITE: / fs_tab-land.
        ENDLOOP.
      ENDIF.
      IF p_name1 = 'X' AND p_kunnr IS INITIAL AND p_land1 IS INITIAL.
        WRITE: / 'NAME:'.
        LOOP AT t_tab INTO fs_tab.
          WRITE: / fs_tab-name.
        ENDLOOP.
      ENDIF.
      IF p_kunnr = 'X' AND p_land1 = 'X' AND p_name1 IS INITIAL.
        WRITE: / 'KUNNR:',
                 'LAND'.
        LOOP AT t_tab INTO fs_tab.
          WRITE: / fs_tab-kunnr,
                   fs_tab-land.
        ENDLOOP.
      ENDIF.
      IF p_kunnr = 'X' AND p_name1 = 'X' AND p_land1 IS INITIAL.
        WRITE: / 'KUNNR:',
                 'NAME'.
        LOOP AT t_tab INTO fs_tab.
          WRITE: / fs_tab-kunnr,
                   fs_tab-name.
        ENDLOOP.
      ENDIF.
      IF p_name1 = 'X' AND p_land1 = 'X' AND p_kunnr IS INITIAL.
        WRITE: / 'LAND:',
                 'NAME:'.
        LOOP AT t_tab INTO fs_tab.
          WRITE: / fs_tab-land,
                   fs_tab-name.
        ENDLOOP.
      ENDIF.
      IF p_name1 = 'X' AND p_land1 = 'X' AND p_kunnr = 'X'.
        WRITE: / 'KUNNR',
                 'LAND:',
                 'NAME:'.
        LOOP AT t_tab INTO fs_tab.
          WRITE: / fs_tab-kunnr,
                   fs_tab-land,
                   fs_tab-name.
        ENDLOOP.
      ENDIF.
    Regards
    Abhijeet

  • MVC 5 Database Help (calculations and input based on user input)

    Hello all! I am learning MVC 5 database interactions. I would like to fill in certain database columns based on a calculation done on columns the user inputs. I am not having trouble getting user inputs into the database. I am wondering
    about how to take 2 user input database values, make a calculation using them, and put the resulting number in its own column in the database.
    So: after the user inputs price and lot price, I want the application to figure out the margin (price / lot price) and then input margin into the database. Here is what I have, but the calculation doesn't seem to input the result into my database.
    Where am I going wrong? (margin is already a column in the database)
    Thanks in advance!
    publicActionResultCreate([Bind(Include
    = "ID,Name,Price,Location,Color,LotPrice")]
    Automobile automobile)
    if(ModelState.IsValid)
                    db.Automobile.Add(automobile);          
    automobile.Margin = automobile.Price / automobile.LotPrice;
                    db.SaveChanges();        
    returnRedirectToAction("Index");
    returnView(automobile);

    Hi Ruben,
    Please post your question to the MVC forum below for a better assistance on your issue:
    http://forums.asp.net/1146.aspx
    Regards,
    Fouad Roumieh

Maybe you are looking for

  • Query help on totalling 2 account balances

    Hi Experts, I have the following query: SELECT SUM(T0.[SYSDeb] - T0.[SYSCred]) AS 'Production' FROM JDT1 T0  INNER JOIN OJDT T1 ON T0.TransId = T1.TransId WHERE T0.[Account] = '_SYS00000000238' AND T0.[Account] = '_SYS00000000239' If I add the second

  • HT204053 Can you use the same Apple ID for two devices ?

    I have an MacPro and I am buying an iPad.  Can you use the same Apple ID for two devices or should I create an new AppleID for the ipad?

  • Stage wise payment for Service orders

    Hi techies, stage wise payment for Service orders. Following items are required in SAP while creating & releasing Service Entry. Matter has detailed by following example: Stage wise payments for an item for eg: Rate is Rs 100 per Rmt. Item shall be c

  • Install SQL 2012 sp1 Named Instance on SQL 2008 r2 Cluster

    I am attempting to add a 2012 instance to my 2008r2 cluster, but at 'cluster node configuration' step, the drop down for sql server instance name is empty

  • HP6940 power interupted...now prints lots of boxes across printed page

    HPDeskjet 6940 I've owned 3 of these and love the printer but think I just scrambled the printer's motherboard!? i was printing a 3 page Word document when i accidentally disconnected the cord between the printer and the pc. I immediately reconnected