Active users and responsibilities r12

Is there a query for R12 of oracle EBS to list all active users and the responsibilities they have been assigned to? I only want to data to return the list of responsibilities for active users, i.e. those without an end_date.

The following query finds all the responsibilities that are assigned to a user. This query can be useful if you want to know if a user has a particular responsibility or any responsibility that has been end dated. However, if you just want to see the current "Active" responsibilities of the user, uncomment the "FURG.END_DATE" condition (very bottom line of the query).
In the following example, I used "AMOHSIN" as my user name to list all my responsibilities.
-- Query to find all responsibilities of a user
SELECT fu.user_name                "User Name",
frt.responsibility_name "Responsibility Name",
       furg.start_date             "Start Date",
       furg.end_date               "End Date",      
       fr.responsibility_key       "Responsibility Key",
fa.application_short_name "Application Short Name"
FROM fnd_user_resp_groups_direct        furg,
       applsys.fnd_user                   fu,
applsys.fnd_responsibility_tl frt,
applsys.fnd_responsibility fr,
       applsys.fnd_application_tl         fat,
applsys.fnd_application fa
WHERE furg.user_id             = fu.user_id
AND furg.responsibility_id   =  frt.responsibility_id
AND fr.responsibility_id     =  frt.responsibility_id
AND fa.application_id        = fat.application_id
AND fr.application_id        =  fat.application_id
AND frt.language             =  USERENV('LANG')
AND UPPER(fu.user_name)      =  UPPER('AMOHSIN')  -- <change it>
-- AND (furg.end_date IS NULL OR furg.end_date >= TRUNC(SYSDATE))
  ORDER BY frt.responsibility_name;
source:- Oracle Apps R12 Help: Query to find all responsibilities of a user
ApPsMaStI
sharing is Caring

Similar Messages

  • Display Active users and there username

    Hi im really stuck im trying to build a small chat
    application for my website but iv come across somthing which has
    really stumped me i need to be able to display how many active
    users are currently in each chatroom but also there usernames any
    advice would be good as im pulling my hair out

    The following query finds all the responsibilities that are assigned to a user. This query can be useful if you want to know if a user has a particular responsibility or any responsibility that has been end dated. However, if you just want to see the current "Active" responsibilities of the user, uncomment the "FURG.END_DATE" condition (very bottom line of the query).
    In the following example, I used "AMOHSIN" as my user name to list all my responsibilities.
    -- Query to find all responsibilities of a user
    SELECT fu.user_name                "User Name",
    frt.responsibility_name "Responsibility Name",
           furg.start_date             "Start Date",
           furg.end_date               "End Date",      
           fr.responsibility_key       "Responsibility Key",
    fa.application_short_name "Application Short Name"
    FROM fnd_user_resp_groups_direct        furg,
           applsys.fnd_user                   fu,
    applsys.fnd_responsibility_tl frt,
    applsys.fnd_responsibility fr,
           applsys.fnd_application_tl         fat,
    applsys.fnd_application fa
    WHERE furg.user_id             = fu.user_id
    AND furg.responsibility_id   =  frt.responsibility_id
    AND fr.responsibility_id     =  frt.responsibility_id
    AND fa.application_id        = fat.application_id
    AND fr.application_id        =  fat.application_id
    AND frt.language             =  USERENV('LANG')
    AND UPPER(fu.user_name)      =  UPPER('AMOHSIN')  -- <change it>
    -- AND (furg.end_date IS NULL OR furg.end_date >= TRUNC(SYSDATE))
      ORDER BY frt.responsibility_name;
    source:- Oracle Apps R12 Help: Query to find all responsibilities of a user
    ApPsMaStI
    sharing is Caring

  • Error occuring when submitting Active Users request in R12 on Solaris 5.10

    Hi,
    For a cloned environment, while submitting the active Users request it is completing with error. Below is the log file. Please help
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    There was an error trying to initialize the HPI library.
    Please check your installation, HotSpot does not work correctly
    when installed in the JDK 1.2 Solaris Production Release, or
    with any JDK 1.1.x release.
    Error occurred during initialization of VM
    Signal chaining not allowed for VM interrupt signal, try -XX:+UseAltSigs.
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 720610.
    Review your concurrent request log and/or report output file for more detailed information.
    Thanks,
    Anand

    Hi Anand;
    Please check below metalink note:
    There Was An Error Trying To Initialize The Hpi Library When Running Any Concurrent Reports [ID 836237.1]
    Regard
    Helios

  • Users and Responsibilities

    Which tables in the database store information about the users and their associated responsibility?

    Hello.
    You can use this query:
    select
    fu.user_id,
    fu.user_name,
    fu.description,
    fr.responsibility_id,
    fr.application_id,
    fr.responsibility_key,
    frt.responsibility_name,
    furg.creation_date
    from fnd_user fu,
    fnd_responsibility fr,
    fnd_responsibility_tl frt,
    fnd_user_resp_groups furg
    where fu.user_name = '&USER'
    and furg.responsibility_id = fr.responsibility_id
    and frt.responsibility_id = fr.responsibility_id
    and (fr.end_date IS NULL)
    AND (furg.end_date IS NULL)
    and frt.language = '&language'
    and fu.user_id = furg.user_id;
    Credit to JEFF ELLARD, author of the query.
    Hope it helps
    Octavio.

  • Active users and connections in v$session

    How can I write an SQL script or query to find the following :
    1. The total number of times a user called BRIGG connects to the database in a day(24 hour period)
    2. The STATUS in V$SESSION could be ACTIVE or INACTIVE. I needed to track as to how many times, the user BRIGG was ACTIVE on a given day(24 hour period)
    Thanks

    1.
    You can audit user logons with the database trigger and then run sql over your own audit table (http://www.dba-oracle.com/art_builder_sec_audit.htm)
    or
    you can use oracle audit trail (http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/audit.htm#1108)
    to audit brigg's session using
    audit session by brigg;
    Check out this article - http://www.securityfocus.com/infocus/1689
    2. I don't think there is straightforward way to do it. You can wite the procedure or script to
    select sysdate,status,username from v$session where username ='BRIGG' ;
    run it at desired interval (i.e every second) and capture the output in the table for the later analysis.
    What are you trying to achive by 2? I don't see a lot of sense in monitoring ACTIVE/INACTIVE status of the session - what kind of infromation are you trying to extract from it? May be there is another way ...
    Mike

  • Users and responsibilities in Applications 11i

    Hi all,
    In Applications 11i, Can a responsibility be added to a user twice, without putting an end date on the first entry?
    Thanks,
    Arun..

    This forum is probably a better place to ask this question: http://forums.oracle.com/forums/forum.jspa?forumID=40

  • Script to find active users with responsibility

    Dear all,
    r12.0.4 on solaris 10
    I need a script to find out the users with all the responsibilities attached to the user ..can anyone share the query if u have ?
    Kai

    Kai,
    Please see (Note: 8576725 - Tom's Handy SQL for the Oracle Applications), 2.3. Users and Responsibilities.
    You can also submit the "Active Users" concurrent program.
    There are many scripts available in the forum, you can also use them.
    Query Responsibilities
    Re: Query Responsibilities
    Regards,
    Hussein

  • "too many active users"

    Had an MS Access database on a Drobo-FS that a few staff were sharing.  Worked fine.
    Set up a new Lion server mac mini and moved the database to that machine and set up SMB sharing. (server's running 10.7.2 Server).
    Works fine for all afp and smb file-sharing uses *except* for those users who are accessing a Microsoft Access database sitting on a shared volume.   Even if only one user is active, they get "Too Many Active Users" and the database won't open.  I see this when using Access 2007 and/or Access 2010.
    If I drag the access db file from the server to a local volume, it opens and runs fine.
    Guessing it's an edge case for the new smb software in Lion.
    Have reported this to Apple but no solution yet.  If any one has a workaround (or clue), I'd love to hear it.

    The problem is due to Lion not supporting byte level file locking on its implementation of SMB which is required by some older applications such as Excel 2003, Pastel accounting, Caseware and MS Access.. Upgrading the app sometimes fixes it as in Excel. If the latest release does not resolve it then the only way I have found to fix this is to disable SMB sharing in Lion and install a 3rd party SMB sharing stack. I tried Samba but could not get it to work properly even using SMBUp which takes a lot of pain out of the install. I eventually found an app from Thursby.com called Dave which works really well, unfortunately it does not integrate with OpenDir at this stage but you can create users in the local dir for use with Dave while continuing to use OD for other stuf. Ive asked their developers to consider adding LDAP support. If more people ask then they might do it. The big downside is that it is really expensive at over $100.
    I've not tested Lion 10.7.3 update yet to see if it resolves the file locking problem. I plan to test this during the week.

  • Managing Disco Users and reports

    Hi,
    I am finding it very difficult to manage the increasing discoverer users and reports.
    I need to develop a tool or process to report, manage Discoverer active users and reporting for license compliance.
    How to review user reports for possible deletion/preservation and final deletion of a user database logon?
    How to delete a list of users?
    How to preserve any shared reports that are actually used.?
    How to clean up and delete their unused reports?
    How to report: all active in a year (in last 6 months rolling), top 50, inactive?
    any suggestions on how to get started with this?
    Visakh

    Marcelo,
    You can manager users using EUSM (executable) found on the oid/ovd installation. Global/local role has to be created on the database side. All EUS mapping can be done on the OID or OVD side using "eusm". There is a metalink note that gives lots of examples on this. Or you can also use enterprise manager grid control that lets you do the same.
    As or OVD vs. OID, I am not aware of any major limitations. just operational limitations. Since OID is a ldap server by itself, you can do a lot of tracing/auditing yourself instead of relying on other LDAP admins (unless you manage other ldap servers also). We are currently implementing oid 11.1.1.2 for EUS and I know of my previous employer who is in the middle of implementing OVD 11g (with sun one directory).
    Regards,
    Shaji
    http://www.linkedin.com/in/shajivps

  • Multiple user creation in R12 and migration of users

    I would like to know how we can automate a process of user creation in R12, or is there a way to create multiple users in Ebiz with respective responsibilities.
    Second case is, migration of users from one instance to another. The problem out here is selective users not all?
    Regards

    Pl search the forums for FND_USER package - you will find several hits that show how this package can be used in a programmatic fashion to bulk create new users and assign responsibilities. Examples are also available on My Oracle Support.
    To migrate user, use FNDLOAD. See this doc - you will also find hits in these forums if you search.
    376469.1 - Can FNDLOAD Migrate User Accounts Without Forcing Users To Change Their Passwords?
    HTH
    Srini

  • Want to check Active Users in Oracle EBIZ R12 from backend.

    Want to check Active Users in Oracle EBIZ R12 from backend. Active users concurrent is showing all the user available in EBIZ can any one help me to find out
    what is the actual user available in ebiz unlock unexpired.

    956731 wrote:
    Want to check Active Users in Oracle EBIZ R12 from backend. Active users concurrent is showing all the user available in EBIZ can any one help me to find out
    what is the actual user available in ebiz unlock unexpired.Please see old threads for the query you need to run:
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Users+AND+Connected+AND+Query&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Users+AND+Connected&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Bulk create Active Directory Users and Groups in PowerShell using Excel XLSX source file instead of CSV

    Hi Scripting Guy.  I am a Server Administrator who is very familiar with Active Directory, but new to PowerShell.  Like many SysAdmins, I often need to create multiple accounts (ranging from 3-200) and add them multiple groups (ranging
    from 1 - 100).  Previously I used VBS scripts in conjunction with an Excel .XLS file (not CSV file).  Since VBS is essentially out the door and PowerShell is in - I am having to re-create everthing.
    I have written a PowerShell script that bulk creates my users and adds them to their corresponding groups - however, this can only use a CSV file (NOT an XLS file).  I understand that "CSV is much easier to use than Excel worksheets", but
    most times I have three sets of nearly identical groups (for Dev, QA and Prod).  Performing Search and Replace on the Excel template across all four Worksheets ensures the names used are consistent throughout the three environments.
    I know each Excel Worksheet can be exported as a separate CSV file and then use the PowerShell scripts as is, but since I am not the only SysAdmin who will be using these it leads to "unnecessary time lost", not to mention the reality that even
    though you clearly state "These tabs need to be exported using this naming standard" (to work with the PowerShell scripts) that is not the result.
    I've been tasked to find a way to modify my existing PowerShell/CSV scripts to work with Excel spreadsheets/workbooks instead - with no success.  I have run across many articles/forums/scirpts that let you update Excel or export AD data into an Excel
    spreadsheet (even specifying the worksheet, column and row) - but nothing for what I am trying to do.
    I can't imagine that I am the ONLY person who is in this situation/has this need.  So, I am hoping you can help.  How do I modify my existing scripts to reference "use this Excel spreadsheet, and this specific worksheet in the spreadsheet
    prior to performing the New-ADUser/Add-ADGroupMember commands".
    For reference, I am including Worksheet/Column names of my Excel Spreadsheet Template as well as the first part of my PowerShell script.  M-A-N-Y T-H-A-N-K-S in advance.
       Worksheet:  Accounts
         Columns: samAccountName, CN_DisplayName_Name, sn_LastName, givenName_FirstName, Password, Description, TargetOU
       Worksheets:  DevGroups / QAGroups / ProdGroups
         Columns:  GroupName, Members, MemberOf, Description, TargetOU
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # Set parameter for location of CSV file (so source file only needs to be listed once).
    $path = ".\CreateNewUsers-CSV.csv"
    # Import CSV file as data source for remaining script.
    $csv = Import-Csv -path $path | ForEach-Object {
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name $_."cn_DisplayName_Name" `
    -Path $_."TargetOU" `
    -DisplayName $_."cn_DisplayName_Name" `
    -GivenName $_."givenName_FirstName" `
    -SurName $_."sn_LastName" `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `

    Here is the same script as a function:
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    It is called like this:
    Get-ExcelSheet -filename c:\temp\myfilename.xslx -sheetName mysheet
    Do NOT change anything in the function and post the exact error.  If you don't have Office installed correctly or are running 64 bits with a 32 bit session you will have to adjust your system.
    ¯\_(ツ)_/¯
    HI JRV,
    My apologies for not responding sooner - I was pulled off onto another project this week.  I have included and called your Get-ExcelSheet function as best as I could...
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # JRV This Function Loads the Excel Reader
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    # Set parameter for location of CSV file (so source file only needs to be listed once) as well as Worksheet Names.
    $sourceFile = ".\NewDocClass-XLS-Test.xlsx"
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Combine GivenName & SurName for DisplayName
    $displayName = $_."sn_LastName" + ". " + $_."givenName_FirstName"
    # JRV Call the Get-ExcelSheet function, providing FileName and SheetName values
    # Pipe the data from source for remaining script.
    Get-ExcelSheet -filename "E:\AD_Bulk_Update\NewDocClass-XLS-Test.xlsx" -sheetName "Create DocClass Accts" | ForEach-Object {
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name ($_."sn_LastName" + ". " + $_."givenName_FirstName") `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `
    -Path $_."TargetOU" `
    Below is the errors I get:
    Exception calling "Open" with "0" argument(s): "The 'Microsoft.Jet.OLEDB.4.0'
    provider is not registered on the local machine."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:39 char:6
    + $conn.open()
    + ~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException
    Exception calling "ExecuteReader" with "0" argument(s): "ExecuteReader
    requires an open and available Connection. The connection's current state is
    closed."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:40 char:6
    + $cmd.ExecuteReader()
    + ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

  • Windows 2008 Server - Cannot run Active Directory Users and Computers

    Hi,
    I am running Windows 2008 Server with latest windows updates installed. Directory Services Role also.
    I attempt to open Active Directory Users and Computers tool and I get a;
    Microsoft Visual C++ Runtime Library error;
    "The Application has requested the runtime to terminate it in a unusual way. Please contact the application's support team for more information"
    I click ok, then get the following debug info;
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: mmc.exe
    Application Version: 6.0.6001.18000
    Application Timestamp: 47919524
    Fault Module Name: msvcrt.dll
    Fault Module Version: 7.0.6001.18000
    Fault Module Timestamp: 4791ad6b
    Exception Code: 40000015
    Exception Offset: 0000000000029b06
    OS Version: 6.0.6001.2.1.0.272.7
    Locale ID: 3081
    Additional Information 1: 43aa
    Additional Information 2: cf3a46656318492c1997480001b6b0e0
    Additional Information 3: 3837
    Additional Information 4: 92f72e0d0589ff77cef51e0a413aeff6
    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    If someone could please assist, it would be very much appreciated.
    Regards
    B

     
    Hi,
    To solidly troubleshoot this kind of issue, we need to debug dump file. A suggestion would be to contact Microsoft Customer Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    However, I am also glad to share my research.
    Some third party applications may lead to this error. Please check if you install other third party applications on Windows server 2008?
    Also, please follow the article below to perform necessary steps to see how it's going?
    FIX: You receive an "invalid page fault in module MSVCRT.DLL" error message after you install the run-time libraries from Visual C++ 6.0
    http://support.microsoft.com/kb/190536/en-us
    Hope this helps.
    Best wishes
    Morgan Che

  • The user and the mailbox are in different Active Directory Sites

    Hi All,
    I have 2 site, each site have an Exchange Server 2010 SP1, let say Site HQ and Site DRC I monitored it with SCOM 2007 R2, site HQ successfully monitored, then I continue try to monitor DRC site. I executed new-TestCasConnectivityUser.ps1 at MBX DRC Site
    to create extest user.
    Then I try to execute command to test-connectivity, but it failed.
    Test-OwaConnectivity -TestType:Internal -MonitoringContext:$true -TrustAnySSLCertificate:$true -LightMode:$true | fl
    RunspaceId                  : 6b709fa5-0719-4be5-ae62-ec4b3617a6e0
    AuthenticationMethod        :
    MailboxServer               : CONMBX02.contoso.com
    LocalSite                   : CONMBX02.contoso.com
    SecureAccess                : False
    VirtualDirectoryName        :
    Url                         :
    UrlType                     : Unknown
    Port                        : 0
    ConnectionType              : Plaintext
    ClientAccessServerShortName : DRCCAS01
    LocalSiteShortName          : CONMBX02
    ClientAccessServer          : DRCCAS01.contoso.com
    Scenario                    : Reset Credentials
    ScenarioDescription         : Reset automated credentials for the Client Access Probing Task user on Mailbox server CON
                                  MBX02.contoso.com.
    PerformanceCounterName      :
    Result                      : Failure
    Error                       : [Microsoft.Exchange.Monitoring.CasHealthStorageErrorException]: An error occurred while t
                                  rying to access mailbox CONMBX02.contoso.com, on behalf of user contoso.com\extes
                                  t_xxxxxxxx
                                   Additional information:
                                   [Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in
                                  different Active Directory sites..
    UserName                    : extest_xxxxxxxx
    StartTime                   : 04/01/2012 20:46:19
    LaCONcy                     : 00:00:00.0156460
    EventType                   : Error
    LaCONcyInMillisecondsString :
    Identity                    :
    IsValid                     : True
    WARNING: No Client Access servers were tested.
    RunspaceId          : 6b709fa5-0719-4be5-ae62-ec4b3617a6e0
    Events              : {Source: MSExchange Monitoring OWAConnectivity Internal
                          Id: 1005
                          Type: Error
                          Message: Couldn't access one or more test mailboxes.
                          The service that is being tested will not run against these mailboxes.
                           Detailed information:
                          Local Site:DRCProduction
                          [Microsoft.Exchange.Monitoring.CasHealthStorageErrorException]: An error occurred while trying to
                           access mailbox CONMBX02.contoso.com, on behalf of user contoso.com\extest_xxxxxxxx
                           Additional information:
                           [Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in differen
                          t Active Directory sites..
    PerformanceCounters : {Object: MSExchange Monitoring OWAConnectivity Internal
                          Counter: Logon LaCONcy
                          Instance: DRCCAS01.contoso.com|DRCProduction
                          Value: -1000}
    any help appreciate it.
    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.
    Krisna Ismayanto | My blogs:
    Krisna Ismayanto | Twitter: @ikrisna

    Hi
       Removed existing test account on two site.
       Then created test account on DGC through new-TestCasConnectivityUser.ps1.
       Flushed Health Service on RMS.
    Terence Yu
    TechNet Community Support
    Hi
    What do you mean on DGC ? you mean I have remove both test account or just at DRC site only ?
    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.
    Krisna Ismayanto | My blogs:
    Krisna Ismayanto | Twitter: @ikrisna

  • Test-OutlookConnectivity fails with '[Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sites'.

    I have a two site DAG, and the command is running from the alternate site where the databases are not currently being hosted. The following command...
    Test-OutlookConnectivity -Protocol:TCP -TrustAnySSLCert:$true -MonitoringContext:$true
    ...errors with the following output:
    An error occurred while trying to access mailbox CurrentlyHostingMBServerName.InternalDomainName, on behalf of user InternalDomainName\extest_bb13200232474
     Additional information:
     [Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sit
    es..
        + CategoryInfo          : OperationStopped: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
       OutlookConnectivity], CasHealthStorageErrorException
        + FullyQualifiedErrorId : F2F8AC0D,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
    I thought this command would work based on the 'AllowCrossSiteRpcClientAccess: True' option on the DAG.  The command works well if run a CAS server in the active DB site.

    Hi,
    Exchange 2013 users use Outlook Anywhere to connect to CAS server. You may run the RCA to test the connectivity:
    https://www.testexchangeconnectivity.com/
    Thanks,
    Simon Wu
    TechNet Community Support

Maybe you are looking for

  • Replacement Shuffle Still Not Recognized In Windows Or iTunes

    Hello everyone, I was having the orange/green light issue and my 512MB shuffle was not recognized in Windows or iTunes 7.0.1. I contacted Apple and they replaced my shuffle - after I attempted all documented fixes and running the Shuffle Reset Utilit

  • Turning on Web Sharing does not work and fails to load apache web server

    Sort of answering my own question here but hope it will be useful to other people and save them some time. After receiving my shiny new imac with os x lion pre-installed, I was a little dismayed and confused when I went to System Preferences -> Inter

  • Issue in Calling PL/SQL packages using callable statement

    Hi , I have the requirement of calling two pl/sql packages , After call of first package is successful , i need to pass the output of that first package as input to second package. Since i have called both the packages in same method of AM, first pac

  • Searching backwards in calendar

    It really amazes me that no one in the Apple iPAD/iPhone world seems to find wanting to search "backwards" in their calendar unimportant. Not many people seem to know that you cannot search for anything in the Calendar a year prior to the current dat

  • Help download photos on an old cd, made before Lion and older version of iPhoto

    I have a MacBook Pro and I was trying to add some old photos from a CD that I had burned several years ago.  I now have Lion, which was not what I had on my computer when cd's were burned.  Also I used a different version of IPhoto. What do I have to