Configure-EnterprisePartnerApplication.ps1 401 Unauthorized

I'm setting up a partnership between Exchange 2013 and SharePoint 2013. All previous steps are complete without error until I get to Configure-EnterprisePartnerApplication.ps1. It runs all of the steps, creates the user and adds to groups but then errors
with a 401 Unauthorized. I'm using "Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl
http://sharepoint/_layouts/15/metadata/json/1 -ApplicationType SharePoint"    

Here are the logs that appear to pertain to the event.
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Logging Correlation Data       9gc5 Verbose  Thread change; resetting trace level override to 0; resetting correlation to empty list 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Request Management             aitsz Verbose  The Request Management Service is offline or unprovisioned. Request Management is disabled. Status = Disabled 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8b Verbose  Looking up context  site
https://sharepoint:443/_layouts/15/metadata/json/ in the farm SharePoint_Config 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8d Verbose  Looking up the additional information about the typical site
https://sharepoint:443/_layouts/15/metadata/json/. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8f Verbose  Site lookup is replacing
https://sharepoint:443/_layouts/15/metadata/json/ with the alternate access url
https://sharepoint. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8g Verbose  Looking up typical site
https://sharepoint:443/_layouts/15/metadata/json/ in web application SPWebApplication Name=LAWV Web Application. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8h Verbose  Found typical site / (d8b02a8f-4f48-4df9-9483-4ad53b85005f) in web application SPWebApplication
Name=LAWV Web Application. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nasq Medium   Entering monitored scope (Request (GET:https://sharepoint:443/_layouts/15/metadata/json/)).
Parent No 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8b Verbose  Looking up context  site
https://sharepoint:443/_layouts/15/metadata/json/ in the farm SharePoint_Config 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8d Verbose  Looking up the additional information about the typical site
https://sharepoint:443/_layouts/15/metadata/json/. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8f Verbose  Site lookup is replacing
https://sharepoint:443/_layouts/15/metadata/json/ with the alternate access url
https://sharepoint. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8g Verbose  Looking up typical site
https://sharepoint:443/_layouts/15/metadata/json/ in web application SPWebApplication Name=LAWV Web Application. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8h Verbose  Found typical site / (d8b02a8f-4f48-4df9-9483-4ad53b85005f) in web application SPWebApplication
Name=LAWV Web Application. 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nasq Verbose  Entering monitored scope (Matching conditions for ULS boosting). Parent Request (GET:https://sharepoint:443/_layouts/15/metadata/json/) 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     b4ly Verbose  Leaving Monitored Scope (Matching conditions for ULS boosting). Execution Time=0.0325 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Execution Time=0.0325 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____CPU Cycles=35634 
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Logging Correlation Data       77a3 Verbose  Starting correlation. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Logging Correlation Data       xmnv Medium   Name=Request (GET:https://sharepoint:443/_layouts/15/metadata/json/) 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nasq Verbose  Entering monitored scope (BeginRequestHandler). Parent Request (GET:https://sharepoint:443/_layouts/15/metadata/json/) 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 SQM                            97qu Verbose  SQM: Datapoint id 6693 marked as Increment datapoint. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     b4ly Verbose  Leaving Monitored Scope (BeginRequestHandler). Execution Time=0.4004 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Execution Time=0.4004 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____CPU Cycles=1064858 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____SQL Query Count=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Asp Runtime                    aj1kp Verbose  SPRequestModule.PreSendRequestHeaders 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nasq Verbose  Entering monitored scope (PreSendRequestHeaders). Parent Request (GET:https://sharepoint:443/_layouts/15/metadata/json/) 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8b Verbose  Looking up context  site
https://sharepoint:443/_layouts/15/metadata/json/ in the farm SharePoint_Config 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8d Verbose  Looking up the additional information about the typical site
https://sharepoint:443/_layouts/15/metadata/json/. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8f Verbose  Site lookup is replacing
https://sharepoint:443/_layouts/15/metadata/json/ with the alternate access url
https://sharepoint. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8g Verbose  Looking up typical site
https://sharepoint:443/_layouts/15/metadata/json/ in web application SPWebApplication Name=LAWV Web Application. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 General                        6t8h Verbose  Found typical site / (d8b02a8f-4f48-4df9-9483-4ad53b85005f) in web application SPWebApplication
Name=LAWV Web Application. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     b4ly Verbose  Leaving Monitored Scope (PreSendRequestHeaders). Execution Time=0.0998 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Execution Time=0.0998 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____CPU Cycles=265804 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____SQL Query Count=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Micro Trace                    uls4 Verbose  Micro Trace Tags: 0 aitsz,0 9gc5,0 6t8b,0 6t8d,0 6t8f,0 6t8g,0 6t8h,0 nasq,0 6t8b,0 6t8d,0 6t8f,0 6t8g,0
6t8h,0 nasq,0 b4ly,0 nass,0 nass,0 nasq,0 b4ly,0 nass,0 nass,0 nass,0 aj1kp,0 nasq,0 6t8b,0 6t8d,0 6t8f,0 6t8g,0 6t8h,0 b4ly,0 nass,0 nass,0 nass 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nasq Verbose  Entering monitored scope (EndRequestHandler SharePointEndRequest). Parent Request (GET:https://sharepoint:443/_layouts/15/metadata/json/) 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Server            
 Logging Correlation Data       9gc5 Verbose  Thread change; resetting trace level override to 0; resetting correlation to 0a86999c-1aa4-e013-6391-f848f28fa771 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Server            
 Unified Logging Service        cn4g Verbose  Trace level override is turned off. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     b4ly Verbose  Leaving Monitored Scope (EndRequestHandler SharePointEndRequest). Execution Time=0.0561 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Execution Time=0.0561 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____CPU Cycles=149366 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____SQL Query Count=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nasq Verbose  Entering monitored scope (EndRequestHandler SPRequest Disposal). Parent Request (GET:https://sharepoint:443/_layouts/15/metadata/json/) 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     b4ly Verbose  Leaving Monitored Scope (EndRequestHandler SPRequest Disposal). Execution Time=0.008 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Execution Time=0.008 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____CPU Cycles=19717 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____SQL Query Count=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:https://sharepoint:443/_layouts/15/metadata/json/)).
Execution Time=1.3938 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____SPRequest Objects=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Distributed Cache=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Current User= 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Execution Time=1.3938 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____=00000000-0000-0000-0000-000000000000 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Request Management= 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____ULS Large Gap= 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____SQL Query Count=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Log Correlation Id=0a86999c-1aa4-e013-6391-f848f28fa771 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Page Checkout Level=Published 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____WebPart Events Offsets=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Claims Counter=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Service Calls=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Critical Events=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____User Address=10.10.1.65 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____Current SharePoint Operations=0 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Monitoring                     nass Verbose  ____CPU Cycles=3685393 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Logging Correlation Data       77a3 Verbose  Ending correlation. 0a86999c-1aa4-e013-6391-f848f28fa771
06/10/2014 10:34:41.60  w3wp.exe (0x3550)                        0x4EC4 SharePoint Foundation        
 Unified Logging Service        cn4g Verbose  Trace level override is turned off. 0a86999c-1aa4-e013-6391-f848f28fa771

Similar Messages

  • Error on Configure-EnterprisePartnerApplication.ps1 after reinstall exchange 2013

    HI I get error when running configure-EnterprisePartnerapplication.ps1 on Exchange 2013 server after recreation of Exchange server. It has Work before.
    In yellow:
    WARNING: An unexpected error has occurred and a Watson dump is being generated: The value
    'MIIGwzCCBaugAwIBAgITKgAAABJmUs/ZLvUdgwAAAAAAEjANBgkqhkiG9w0BAQUFADBVMRIwEAYKCZImiZPyLGQBGRY...
    eIV8NBa933nE6Cj3FNwvjO3MFfvo0I2vQY3lh3sPsP8GO2MbTEiIcg==' is already present in the collection.
    In Red
    The value 'MIIGwzCCBaugAwIBAgITKgAAABJmUs/ZLvUdgwAAAAAAEjANBgkqhkiG9w0BAQUFADBVMRIwEAYKCZImiZPyLGQBGRYCZGsxHTAbBgoJkiaJ......
    Ox2mDEONaFeIV8NBa933nE6Cj3FNwvjO3MFfvo0I2vQY3lh3sPsP8GO2MbTEiIcg==' is already present in the collection.
        + CategoryInfo          : NotSpecified: (:) [New-PartnerApplication], InvalidOperationException
        + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Exchange.Management.SystemConfigurationTasks.
       NewPartnerApplication
        + PSComputerName        : "Servername"
    How to fix this

    How did you recreate the Exchange server?
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Configuring Reporting Service Add-in for sharepoint - HTTP status 401: Unauthorized.

    I have the following setup
    Machine 1
    WSS 3.0
    Installed Reporting Service Add-in
    Machine 2
    Reporting Service
    Sharepoint Object Model
    SQL Server
    Sharepoint and Report Server DB
    I have congigured Reporting Service for Sharepoint Integrated Mode adn Created new Reprot Server DB
    Sahre Point Integration is Green and verified link
    In Sharepoint Central Administration
    Manage Reporting Service Integratio i have selected the URL and "Trusted Account" as my web applications use "Windows Integration - NTLM".
    All services, DB access everything running under one domain user account.
    I am logged into sharepoint with same account. When clieck on set server defaults i get following error
    An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. --> Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.
    Same error when i try to add a report to a sharepoint webapplication
    The domain account is part of "Farm Administration", "site colletion administrato" and local administrator also on both servers.
    Can someone let me know how to fix this.

    jpmartop,
    were you able to get this to work?
    We have a 4 server topolgy.
    moss
    wfe
    sql
    ssrs
    and are using Kerberos.
    I've installed the wfe on the ssrs and am using a domain user for services, web and pools.
    I get all green dots in the ssrs config.
    in Central Admin, Grant access seems to work with the domain user, but set defaults gives me:
    HTTP status 401: Unauthorized.
    What should my web security on the default web site and reports and reports server look like? Integrated Security
    Should the SSRS WFE entry in MOSS have Web application service turned on?
    I've checked that my SPNs are good.I've installed sql server sp2 and a did windows update on all servers..
    Could it be the user I log into the Central Admin with.. it's got server administrator and Farm administrator?
    Thanks for any help or information.

  • Test-OutlookConnectivity cmdlets fail with 401 unauthorized on Autodiscover

    I've done quite a lot of searching on this.  The defacto answer is disable loopback processing.  That does not solve the issue.  All virtual directory permissions have been checked and are the recommended MSFT settings.  All NTFS permissions
    have been checked and are set correctly. I'm out of ideas for what to check next.  Thank you for your help.
    Test-OutlookConnectivity -Protocol:Tcp -TrustAnySSLCert:$true -MonitoringContext:$true
    ClientAccessServer   ServiceEndpoint                               Scenario                           
    Result  Latency
    (MS)
    server.domain.com                                              
    Autodiscover: Web service request.  Failure   -1.00
    RunspaceId          : 257c3a5e-5a96-42e9-89bb-c423abbc1799
    Events              : {Source: MSExchange Monitoring OutlookConnectivity
                          Id: 2003
                          Type: Error
                          Message: The test step Autodiscover running over protocol 'ncacn_ip_tcp' issued from test user '/
                          o=Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=ex
                          test_73c270fa029c47fe' failed with error: '-2146233088'. The detailed information of the running
                          instance context: 'Mailbox = 'domain.com\extest_73c270fa029c4', ClientAccessServer = 'server.domain.
                          com''. The exception: 'Microsoft.Exchange.Monitoring.AutodiscoverTaskException: The Auto
                          discover response isn't valid. Field = 'AutoDiscoverResponseXML', autodiscoverData = '<Null>'.
                             at Microsoft.Exchange.Monitoring.AutodiscoverTask.ValidateAutoDiscoverResponse(AutoDiscoverRes
                          ponseXML autoDiscoverResponseXML)
                             at Microsoft.Exchange.Monitoring.AutodiscoverTask.AutodiscoverEnd(IAsyncResult asyncResult)'
                          Verbose: Target Site = 'domain.com/Configuration/Sites/Site-Name'
                          Verbose: Target Domain = 'domain.com'
                          Verbose: Target User =
    '[email protected]'
                          Verbose: Mailbox = 'domain.com\extest_73c270fa029c4', Owner = '/o=Organization/ou=Exc
                          hange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_73c270fa029c47fe'
                          Verbose: SMTP address for Autodiscover request =
    '[email protected]'
                          Verbose: When contacting
    https://server.domain.com/autodiscover/autodiscover.xml received the e
                          rror The remote server returned an error: (401) Unauthorized.
                          Verbose: <?xml version="1.0"?>
                          <Autodiscover xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/
                          2001/XMLSchema" xsi:nil="true" xmlns="http://schemas.microsoft.com/exchange/autodiscover/response
                          schema/2006" />
                          , Source: MSExchange Monitoring OutlookConnectivity
                          Id: 2006
                          Type: Error
                          Message: An exception occurred while the cmdlet was running. This often indicates the test enviro
                          nment isn't prepared correctly. The administrator needs to examine the configuration. Exception d
                          etails: Microsoft.Exchange.Monitoring.TopologyDiscoverException: The cmdlet fails to find all the
                           server information through pinging service providers or other topology discovery inside the doma
                          in. The cmdlet cannot continue. TopologyDiscoverMode = 'UseAutodiscover, UseAddressbook'.
                             at Microsoft.Exchange.Monitoring.OutlookConnectivityContext.get_RpcEndpointServer()
                             at Microsoft.Exchange.Monitoring.RfriClientWrapper.<.ctor>b__1()
                             at Microsoft.Exchange.Monitoring.OutlookConnectivityContext.RpcExceptionWrapper(Func`1 protect
                          edCall)
                             at Microsoft.Exchange.Monitoring.RfriClientWrapper.RfriCall(Func`1 rfriCall)

    Hi Niko,
    I have run across this solution is my previous troubleshooting and it did not resolve the issue.  I walked through the process one more time now to be sure it is not the proper resolution for this case.  After setting the local and rebooting the
    server the same error persists.  Additionally checking the box to not require Kerberos pre-authentication has not helped.
    When trying to manually reset the password for the extest account I receive the following error:
    Test-WebServicesConnectivity -ResetTestAccountCredentials -MailboxServer server -Verbose
    VERBOSE: [21:23:30.311 GMT] Test-WebServicesConnectivity : Active Directory session settings for
    'Test-WebServicesConnectivity' are: View Entire Forest: 'False', Default Scope: 'domain.com', Configuration Domain
    Controller: 'dc.domain.com', Preferred Global Catalog: 'gc.domain.com', Preferred Domain Controllers:
    '{ dc.domain.com }'
    VERBOSE: [21:23:30.311 GMT] Test-WebServicesConnectivity : Runspace context: Executing user: domain.com/Domain Users &
    Computers/Users & Groups/user, Executing user organization: , Current organization: , RBAC-enabled: Enabled.
    VERBOSE: [21:23:30.311 GMT] Test-WebServicesConnectivity : Beginning processing &
    VERBOSE: [21:23:30.327 GMT] Test-WebServicesConnectivity : Instantiating handler with index 0 for cmdlet extension
    agent "Admin Audit Log Agent".
    VERBOSE: [21:23:30.327 GMT] Test-WebServicesConnectivity : Current ScopeSet is: { Recipient Read Scope: {{, }},
    Recipient Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive
    Recipient Scope(s): {}, Exclusive Configuration Scope(s): {} }
    VERBOSE: Do you want to test Exchange Web Services connectivity on Client Access server server.domain.com?
    VERBOSE: [21:23:30.343 GMT] Test-WebServicesConnectivity : Resolved current organization: .
    CasServer  LocalSite     Scenario        Result  Latency(MS) Error
               Site-Name   Reset Creden... Failure             [Microsoft.Exchange.M...
    VERBOSE: [21:23:30.499 GMT] Test-WebServicesConnectivity : Admin Audit Log: Entered Handler:OnComplete.
    The task couldn't sign in with user domain.com\extest_73c270fa029c4. Run Scripts\new-TestCasConnectivityUser.ps1 to ver
    ify that the user exists on the Mailbox server server.domain.com
     To run this task without credentials, sign in as a Domain Administrator. Detailed error information:
     1909
        + CategoryInfo          : ObjectNotFound: (:) [Test-WebServicesConnectivity], CasHealthCouldNotLogUserException
        + FullyQualifiedErrorId : 29F480F3,Microsoft.Exchange.Monitoring.TestWebServicesConnectivity
    VERBOSE: [21:23:30.499 GMT] Test-WebServicesConnectivity : Ending processing &

  • Adobe Print Form Error - Invalid Response Code: (401) Unauthorized

    Hi, I've just configured ADS on Netweaver 2004s. I've run through the config guide and everything works ok including the form generation test report FP_TEST_00 which outputs PDF without issue. I have two problems:
    -When I run a "test connection" on the RFC destination 'ADS' using the ADSUSER for the login details, I get a 403 not authorized error. Changing this user to J2EE_ADMIN resolves the issue and I get a 302 redirect. I've tried adding other permissions to the ADSUSER without any luck.
    -Running a report on the Portal under e.g. Executive Reporting and attempting to just right-click and hit "Print Version" results in a 401 error for request "http://hostXX:portXX/AdobeDocumentServices/Config?style=document" exactly as per this thread: Re: Adobe Form Creation Error - Invalid Response Code: (401) Unauthorized. However, I've double-checked all user details in Visual Administrator (ADS_AGENT) and on the ABAP stack side in su01 and sm59. I also tried changing the users to dialog with no effect. If I go directly to that URL and log in with ADSUSER I get a 403 not authorised error (using J2EE_ADMIN is again successful). I've noticed that in the http access log the HTTP protocol used is 1.1 when using the web browser and 1.0 when using the sm59 connection test. I've heard of problems with using HTTP/1.1, but when I change the options on IE8 to use HTTP/1.0, it changes for all other requests except the request for "http://hostXX:portXX/AdobeDocumentServices/Config?style=document", which is still submitted as HTTP/1.1. Conversely, in sm59 if I specify that it should use HTTP/1.1 under Special Options, I can see from the access log that it is in fact still using HTTP/1.0. Could this be related to the 401 error code that I'm seeing?
    Any help would be appreciated. Thanks,
    John

    I think I've ruled out the HTTP protocol version as being an issue here. However I may have found more useful information on the actual issue.
    In the security log under usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\log\system I see a different message for the unsuccessful report PDF generation attempt to that of a direct query to the same URL with the same web browser, as below. The unsuccessful attempt appears to forget the ADSUSER credentials and resort to the default J2EE_GUEST which has no authorisations and therefore fails. The direct query doesn't lose the ADSUSER credentials and I think this is because it prompts for the user/password when needed. Does anyone know why this happens for a direct query to this URL but not for the PDF generation attempt?
    Resulting logs from unsuccessful PDF generation attempt:
    #1.5 #005056AF1EB300750000002D0000142000048B4D2208F055#1279063306899#/System/Security/WS/SecurityProtocol#sap.com/irj#com.sap.security.core.client.ws.AuthenticationContext.setDestination#AICL0001#622##<host>_<sid>_3576650#AICL0001#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_5##0#0#Info#1#com.sap.security.core.client.ws.AuthenticationContext#Java###An destination was set with the following properties:
    {0}.#1#{PROXY_ENABLED=false, CLIENT_AUTHENTICATION_KEYSTORE_VIEW=, SAP_SID=, SLD_URL=, USERNAME=ADSUSER, SLD_WS_NAME=, URL=http://<host>:50000/AdobeDocumentServices/Config?style=document, PROXY_URL=, SSL_SERVER_AUTHENTICATION=IGNORE, SLD_WS_SYSTEM_NAME=, PASSWORD=XXX, SLD_WS_PORT=, SAP_CLIENT=, DEFAULT_URL=http://localhost:50000/AdobeDocumentServices/Config?style=document, Authentication=BASIC, CLIENT_AUTHENTICATION_KEYSTORE_CERTIFICATE=, URL_CHOICE=Custom, SAP_LANGUAGE=}#
    #1.5 #005056AF1EB30072000000250000142000048B4D220A12ED#1279063306977#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#J2EE_GUEST#0##<host>_<sid>_3576650#Guest#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_24##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.FAILED
    User: N/A
    Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          exception             true       Authentication did not succeed.#
    Successful direct access of URL http://<host>:50000/AdobeDocumentServices/Config?style=document (click on rpData test and manually log in as ADSUSER):
    #1.5 #005056AF1EB30070000000250000142000048B4D3E260016#1279063778670#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#ADSUSER#675##<host>_<sid>_3576650#Guest#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.OK
    User: ADSUSER
    Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          true       true                 
    Central Checks                                                                                true                  #
    #1.5 #005056AF1EB30070000000260000142000048B4D3E2666A6#1279063778702#/System/Security/Audit/J2EE##com.sap.engine.services.security.roles.audit#ADSUSER#675##<host>_<sid>_3576650#ADSUSER#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.roles.audit#Java###{0}: Authorization check for caller assignment to J2EE security role [{1} : {2}].#3#ACCESS.OK#SAP-J2EE-Engine#all#

  • SSRS report with PowerPivot datasource - 401 Unauthorized

    Hello together,
    I have a tricky issue and hope that you can help me:
    Problem: I want to build a Reporting Services Report with a PowerPivot datasource with Report Builder 3.0. When I try to access the datasource via Report Builder I get the error: The remote server returned an error: 401 - Unauthorized.
    The PowerPivot file lies on a Sharepoint 2013 with Kerberos authentification.
    Logs: Here are some sample log entries after getting the error:
    Token Cache: Could not find SPSite for 'sharepoint.com/_vti_bin/PowerPivot/secureredirector.svc/?DataSource=sample.xlsx'.
    Exception trying get context compatibility level: System.IO.FileNotFoundException: The site sharepoint.com/_vti_bin/PowerPivot/secureredirector.svc/?DataSource=sample.xlsx could not be found in the Web application SPWebApplication Name=sharepoint.com. 
    Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|user, ClaimsCount=118
    Notes: I tried some solutions from the internet, where the web.config from PowerPivot has to be changed. Also I saw that it could be Kerberos related, but no detailed information where to start as the other features are working fine. SPNs
    and Delegations are configured. And changing to NTLM is not an option as this is a multi-server platform. 
    I hope that you have another idea, where the problem could be.
    Kind regards, 
    Robin

    Has noone an idea?

  • 401: Unauthorized when creating report data source in sharepoint 2010

    Hi All,
    I am getting 401: Unauthorized error when trying to create a report datasource in sharepoint 2010. Same login is able create to datasource in one system,, but only with one system it causing this issue.
    Is it system or browser issue ? Please let me know.
    Soumya Das

    Hello Soumya Das,
    Sounds like a system issue, can you check your ULS logs if you see some more information on the HTTP 401 Unauthorized?
    Btw, have you also checked the Reporting Services configuration. Maybe this article can help:
    http://technet.microsoft.com/en-us/library/bb326356(v=sql.105).aspx
    - Dennis | Netherlands | Blog |
    Twitter

  • 401 Unauthorized error when calling a webservice

    Have ColdFusion 11 installed, I have created a hello web service and I am trying to call it.  Each time I try to call the web service I get an error 401 Unauthorized.  I am not sure if I need to configure something more on the ColdFusion server, IIS or something else.
    <cfcomponent displayname="Hello">
    <cffunction name="helloWorld" returntype="string" access="remote">
         <cfreturn "Hello World!">
        </cffunction>
    </cfcomponent>
    <cfinvoke
      webservice="http://MyServer/Hello.cfc?wsdl"
      method="helloWorld"
      returnvariable="ws" refreshwsdl="yes">
    </cfinvoke>
    <cfdump var="#ws#">

    It appears that you have inadvertently enforced HTTP authentication. If so, you will have to include the attributes, username="your_username" and password="your_password" in the cfinvoke tag.

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • (401) Unauthorized Error on Consuming Web Service

    Hi
    I consumed my web service in JSP but when I deploy the page. I get this error.
    Application error occurred during request processing.
    Details:   java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://xxxx.xxx:xxxxx/WS_Preview/Config1?style=document"
    Exception id: [001CC43ABAC0005F0000E0C30000672B0004A5BFC2A357D2]
    I'm following this tutorial:
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?quicklink=index&overridelayout=true]
    But I skipped the part in configuring my J2EE Visual Admin tool since I don't have access to our Visual Admin. Does it have to do with my access? BTW, I don't have access in our WS Navigator also.
    Thanks.

    I can't speak for MOSS for sure, but other Microsoft services such as MapPoint used to require Digest Authentication, which isn't quite as pervasive as Basic Authentication. You should doublecheck with the MOSS administrator about the proper credentials and access. You might even try a utility like SoapUI to see if things work from a test client before trying it on the application server.

  • Problems connecting to SSRS using IReportServerCredentials, the request failed with http status 401: unauthorized

    We have a hosted SSRS server and we access it's reports using the reportviewer in an ASP.net application.
    We are getting the error: The request failed with HTTP status 401: Unauthorized. When trying to run one of the reports. I have confirmed that the login details work when logging into the report manager page directly.
    I have implemented an instance of IReportServerCredentials in a separate class (below) and I call it from the page before it tries to access the report. I'm not sure if this is all I need but can't seem to find any other info.
    I have managed to gain access connecting to the external server from my PC and accessed the report, but when I promote the code to production and run it from there on my local PC I get the unauthorized message again: the request failed with http status
    401: unauthorized
    The class:
    [Serializable]
    public sealed class MyReportServerCredentials :
    IReportServerCredentials
    public WindowsIdentity ImpersonationUser
    get
    // Use the default Windows user. Credentials will be
    // provided by the NetworkCredentials property.
    return null;
    public ICredentials NetworkCredentials
    get
    // Read the user information from the Web.config file.
    // By reading the information on demand instead of
    // storing it, the credentials will not be stored in
    // session, reducing the vulnerable surface area to the
    // Web.config file, which can be secured with an ACL.
    // User name
    string userName =
    ConfigurationManager.AppSettings
    ["MyReportViewerUser"];
    if (string.IsNullOrEmpty(userName))
    throw new Exception(
    "Missing user name from web.config file");
    // Password
    string password =
    ConfigurationManager.AppSettings
    ["MyReportViewerPassword"];
    if (string.IsNullOrEmpty(password))
    throw new Exception(
    "Missing password from web.config file");
    // Domain
    string domain =
    ConfigurationManager.AppSettings
    ["MyReportViewerDomain"];
    return new NetworkCredential(userName, password);
    public bool GetFormsCredentials(out Cookie authCookie,
    out string userName, out string password,
    out string authority)
    authCookie = null;
    userName = null;
    password = null;
    authority = null;
    // Not using form credentials
    return false;
    The call to the class, just before the report is run:
    if (GetConnection.GetConnectionString().ToString().Contains("IP of external server removed"))
    invoiceviewer.ServerReport.ReportServerCredentials = new MyReportServerCredentials();
    We have tried so many things here, we don't even care whether the server authenticates or not but it appears to be as standard. Our hosting company has also drawn a blank and changed so many settings to no ava

    Hi Nasa1999,
    According to your description, you are getting the error: The request failed with HTTP status 401: Unauthorized when you access the report using the ReportViewer in an ASP.net application.
    Regarding the 401 error, it could cause by the Service Principal Name(SPN) for the account the Reporting Services is running under hasn’t been registered when the Reporting Services is configured to use Kerberos authentication. So in your scenario,
    please check if you are using Kerberos authentication. If that is a case, please make sure SPN is configured correctly. For more information, please refer to the similar thread:
    The request failed with HTTP status 401: Unauthorized. in SSRS.
    If issue persists, please check the Reporting Service error log (default location: %programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting Services\LogFiles) around the time that the error message thrown out.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • "The request failed with HTTP status 401: Unauthorized"

    Hi,
    I'm trying to get both RSS feeds and SSRS reports on a web application which is having NTLM authentication without Kerberos. The catch is proxy setting, if I give <proxy autoDetect="false" /> in web.config of my sharepoint web
    application SSRS reports will be rendered in SQL Server Report viewer perfectly (I deploy using BIDS), but RSS viewer webpart will not display my internet feeds. If I give
    <proxy autoDetect="true" /> RSS feeds are displayed properly but SSRS report will throw the following error.
    The request failed with HTTP status 401: Unauthorized.
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [WebException: The request failed with HTTP status 401: Unauthorized.]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +412862
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300
    Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.ListRenderingExtensions() +53
    Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.ListRenderingExtensions() +207
    Microsoft.Reporting.WebForms.ServerReport.ListRenderingExtensions() +130
    Microsoft.ReportingServices.SharePoint.UI.WebParts.ActionMenu.OnPreRender(EventArgs e) +180
    System.Web.UI.Control.PreRenderRecursiveInternal() +108
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    I tried to work around this by adding proxy settings with bypass list.
    <system.net>
        <defaultProxy useDefaultCredentials="true">
          <proxy proxyaddress="http://<proxy IP address>:<port>" bypassonlocal="true" usesystemdefault="true" />
          <bypasslist>
      <add address="<my report server>" />
      <add address="http://<report server>:8080/reportserver/" /> 
      <add address="<IP of my report server>" />
          </bypasslist>
        </defaultProxy>
    </system.net>
    This makes RSS feed to work but SSRS throw the above error. I would need some advice from Microsoft on how to fix this.
    Note: My sharepoint site cannot be anonymous. I have just once service account that runs sql server service, report service, sharepoint services etc. This account is local admin on all servers, has highest access on sql box, run SSRS web service and app
    pools, etc.
    I have four servers, 2 WFE in windows load balanced, 1 app server (running Central admin and report service in sharepoint integrated mode), 1 db server hosting all content and config dbs and report server db.
    Regards,
    Manoj
    Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

    Hi,
    Thanks to share your post.
    For the issue,
    do you mean that the error happen with the use of NTLM authentication without Kerberos? If yes, the possible cause should be the lacking of Kerberos.
     My suggestion is to implement the Kerberos authentication in your environment. You may check it and test it. For the detailed steps of implementing of the Kerberos:
    http://blogs.msdn.com/b/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx.
    http://blogs.msdn.com/b/james_world/archive/2007/08/20/essential-guide-to-kerberos-in-sharepoint.aspx.
    Hope this could help you!
    Leo

  • Response Code: (401) Unauthorized

    While testing the demoszenario "Service-Enabled Procurement Scenario" from the SAP discovery system the following error arises:
    Error: RemoteException: Service call exception; nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:http://iwdfvm2160:51080/XISOAPAdapter/MessageServlet?channel=:WebService:SO_WS_SOAP_SENDER
    The error appears in the first step when a salesorder should be created via a soap-adapter from an adobe offline form.
    The portal user = proc_sales
    Is there anybody who can answer the following questions?
    1. Is there any configuration necessary to make the scenario running?
    If yes, where is the documentation?
    2. which user is authorized to call the webservice for creating the sales order and where has this user to be configured?
    Thanks for a soon answer.
    Regards Marlies

    I found the solution on my own. Here it is
    Goto VisualAdmin:
    Select Cluster/Services/Destinations
    Select Webservice
    Select  sap.com/XApps_XI_SO_WS_Proxy/com.sap.esadiscovery.so.wsproxy.XApps_XI_SO_WS_ProxyName/ESA_MI_SO_CREATE_WS_INPort
    Change the Hostname in the following Custom URL to the right hostname: http://iwdfvm1127.wdf.sap.corp:51080/XISOAPAdapter/MessageServlet?channel=:WebService:GM_WS_SOAP_SENDER
    In our case the correct hostname is iwdfvm2160.
    Further set the authentication to basic and fill username with PIAPPLUSER and Password with the approriate password

  • 401 Unauthorized in SOAP Sender Adapter

    We are using a Sales Orer Injection Scenario in which we are receiving the Sales Order in the form of Web Service created in SAP PI.
    When the clients .NET application is trying to access the web service it is throwing 401 Unauthorized (Error: Unauthorized). We are able to access using the same user name and password over the internet.
    Lagacy System  (SOAP Adapter) -> SAP PI 7.11 -> (Proxy) ECC
    I hve already tested follwoing configuration setting:
    1. User trying t access XI is having SAP_XI_APPL_SERV_USER role.
    2. None of the users are locked
    3. Transaction SICF -> default_host -> sap -> xi (user name and password is maintained of the user who is trying to access XI.
    Please let me know if above points are correct.
    Also suggest any new configurations if I need to cehck.
    thanks a lot

    When we DISPLAY WSDL in sender agreement, it gives you a URL.
    http://xxxpidev:port/dir/wsdl?p=sa/55f89abe825b39c8913db688f608e9f9
    Just for the clarification, is this is the URL which we share with client who wants to use our web service?
    When we use this URL in IE it shows the whole of WSDL.
    OR
    We share the URL which is generated automatically and been coded as location in our WSDL file.
    <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://xxxpidev:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_ABC_XY_Dev&receiverParty=&receiverService=&interface=SI_IA_SalesOrder_Out&interfaceNamespace=http%3A%2F%2FINDIA%2FAB%2FSO" />
    In the second URL when we use it in IE it shows message as:
    Message Servlet is in Status OK
    Query is which URL client will use to access our Web Service?
    As per my understanding it is the second one but client say that when he uses the second url in their .net application it throws error of wrong URL.
    Please help me understanding the issue.
    Regards
    Edited by: Chanakya Sharma on May 25, 2010 9:43 AM

  • Call Adapter Error - 401 Unauthorized

    Hi,
    We are using Multi Mapping where it splits 1 message into n messages. The n messages split by this scenario in trun calls another scenario configured in the same PI server using SOAP Adapter.
    The called scenario is SOAP --> Siebel using iWay Adapter.
    When the number of messages split are huge in order of thousands, the server is going for a toss and the called scenaio is failing at Call Adapter Step in IE with HTTP Error 401 Unauthorized. Few of the messages manage to pass successfully.
    Anticipating your valuable inputs.
    Thanks.
    Regards,
    Sudharshan N A

    Hi Sudharshan,
    There can be different reasons for getting HTTP 401: Unauthorized error. As you said, few of the messages are being passed to the called application, I would request you to check the scalability of the Seibel Server.
      Also if you are using a connections from a connection pool, then it may be that the pool itself is getting exhausted, though mostly we get Socket exception/Connection Exception/IO Errors in these cases.
      The other reasons can be that the user you are using to connect Seibel dont have enough permissions. But it is ruled out as you said some messages have been processed.
    If the Seibel server is SSL enabled, and your PI doesn't have any certificate configured, then also you may get such errors.
    Regards,
    Sugata

Maybe you are looking for

  • CUCM 8.6.2 Cant view call history on certain Phones

    Have 3 specific user's who cannot view any call history wha so ever, Cant find much in relation to this issue via the web, Thy are the only one's experiencing the issue on the system. I have reset the phone to no avail. also rebuilt the phone from sc

  • Need a suggestion for setting up a reimbursement program with an annual cap

    Can anyone recommend or have an idea on the best way to handle an employee program which provides for $250 in reimbursements for eligible expenses under the program? A few facts about the program: 1- There is an annual $250 cap per employee 2- The $2

  • Changing the Column names / alias

    Hi, I have an oracle query and it works fine. select q.sname, SUM( decode(p.nprofile1,10,1,0)) as "0 - 5", SUM( decode(p.nprofile1,9,1,0)) as "6 - 10", SUM( decode(p.nprofile1,8,1,0)) as "11 - 15", SUM( decode(p.nprofile1,7,1,0)) as "16 - 19", SUM( d

  • Tcode to close multiple periods in mm

    Is there is any t-code to close multiple posting periods in mm? Regards, Surendra babu.

  • SMTP authentication disabled in Outlook

    Hello, Was a security or outlook update recently released that disabled SMTP authentication in Outlook 2003/2007?  I've had several users report that this has been disabled; all are using various flavors of Outlook and Windows.