locked
Most Urgent - facing error while accessing sharepoint 2013 site from crm 2013 sp1 organisation RRS feed

  • Question

  • dear all,

    facing following error while accessing (actually we are trying creating a folder ) sharepoint 2013 site from crm 2013 sp1 organisation  on-premise  in plug-in. it works well from browser:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The remote server returned an error: (401) Unauthorized.Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220891</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
        <KeyValuePairOfstringanyType>
          <d2p1:key>OperationStatus</d2p1:key>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">0</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>SubErrorCode</d2p1:key>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
        </KeyValuePairOfstringanyType>
      </ErrorDetails>
      <Message>The remote server returned an error: (401) Unauthorized.</Message>
      <Timestamp>2014-07-10T09:54:11.9788107Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText>

    [SharepointPlugins: SharepointPlugins.AutoCreate_SharepointFolder]
    [fad8cde5-9406-e411-9514-0080481df303: SharepointPlugins.AutoCreate_SharepointFolder: Create of account]


    </TraceText>
    </OrganizationServiceFault>

    pls suggest the corrections for the same..

    thanks in advance..

    ..Ajit

    +91-9769476252

    Thursday, July 10, 2014 10:22 AM