Article ID: 127321, created on Nov 4, 2015, last review on Nov 4, 2015

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5
  • Operations Automation 5.4

Symptoms

Example

Task ID     46464797
Queue name  domain_service322585
Task name   Attach all users to SharePoint site (domain sharepoint.site.com #100022, homedir #174986) on host sharepoint01.domain.net (#617)
Task description    Attach all users to SharePoint site (domain sharepoint.site.com #100022, homedir #174986) on host sharepoint01.domain.net (#617)
Queue status        Failed
Start not earlier than  Apr-23-2014 01:25
Method name     taskAddSPSUsers on OBJREF:iis:0:getDomainService:322585
Last execution output   Destination host 'sharepoint01.domain.net' (#617), IP '10.2.69.13' : Provisioning request failed. Unknown error 0x810200CE [<response><errorContext description="Access denied.
You do not have permission to perform this action or access this resource." code="0x810200ce" executeSeqNo="3"><errorSource namespace="Error Provider" procedure="SetError"/><errorSource namespace="Error Provider Ex" procedure="RethrowError"/></errorContext></response>]

Cause

Might be incorrect "UserAccountDirectoryPath" for the site in SharePoint Content Database.

Resolution

Login to SharePoint host and check "UserAccountDirectoryPath" for the issued SharePoint site:

PS C:\Users\pem_admin> Get-SPSite http://sharepoint.site.com | fl Url, Owner, UserAccountDirectoryPath
Url                      : http://sharepoint.site.com
Owner                    : DOMAIN\wss-admin07228
UserAccountDirectoryPath : OU=S001009391,OU=R0001002957,OU=Hosting,DC=domain,DC=net

Another way to check:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm -o getsiteuseraccountdirectorypath -url http://sharepoint.site.com
<SiteUserAccountDirectoryPath>OU=S001009391,OU=R0001002957,OU=Hosting,DC=domain,DC=net</SiteUserAccountDirectoryPath>

Login to preffered Active Directory domain controller, open ADSIEdit.msc and verfity this path. Make sure it refferes to correct subscription.

If the path is wrong, it can be updated in the following way:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm -o setsiteuseraccountdirectorypath -url http://sharepoint.site.com -path "OU=S001064178,OU=Provider,OU=Hosting,DC=domain,DC=net"
Operation completed successfully.

Re-run the task.

Search Words

ac

Sharepoint task failing

other

Attach all users to SharePoint site TASK is failing with Access denied

You do not have permission to perform this action or access this resource

ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 5b048d9bddf8048a00aba7e0bdadef37

Email subscription for changes to this article
Save as PDF