The powershell script below will handle permission to SharePoint Web Application for the service account.
# Service Application that runs Excel Service Application is "Contoso\SPAppPool" # $web = Get-SPWebApplication -Identity "https://sp.contoso.edu" $web.GrantAccessToProcessIdentity("Contoso\SPAppPool")
In fact, what happens as a result of executing this script at the database level is that
- The Excel Service Account (Contoso\SPAppPool) is granted custom database role, "SPDataAccess", which basically provides READ access to all SharePoint objects.
- If there are multiple content databases under https://sp.contoso.edu Web Application, then the database role, "SPDataAccess" will be granted to the Service Account on all content databases.
No comments:
Post a Comment