Users provided access to SharePoint through Active Directory (AD) Security Groups may not be able to edit documents via the browser using Office Web Apps (OWA) without error.
In this scenario, the error from the Word App is: "There's a configuration problem preventing us from getting your document. If possible, try opening this document in Microsoft Word."
We may find the following information after analyzing the ULS logs from the Office web apps Server and SharePoint Server.
From Office web apps server: (OWA folder in Logs)
w3wp.exe (0x113C) | 0x31C0 | Office Web Apps | WAC Hosting Interaction |
ajryn | Unexpected | WOPICheckFile,WACSERVER ConfigError [error:The
SharePoint site appears to have its UPA in an improper sync state. Please
contact the SharePoint administrator. The SharePoint site's WOPI handler
has determined that the user permissions for this file/folder do not match
the user permissions when wopiframe.aspx was loaded. |
WOPICheckFile,WACSERVER | Host Status Code: Unauthorized | Host Error Info:
SyncUPA, url:https://URLofSite/_vti_bin/wopi.ashx/files/GUID...., host
correlation:]
w3wp.exe (0x113C) | 0x31C0 | Office Web Apps | WAC Hosting Interaction |
adhsk | Unexpected | WOPI CheckFile: Catch-All Failure
[exception:Microsoft.Office.Web.Common.EnvironmentAdapters.ConfigErrorExcept
ion: The SharePoint site appears to have its UPA in an improper sync state.
Please contact the SharePoint administrator. The SharePoint site's WOPI
handler has determined that the user permissions for this file/folder do not
match the user permissions when wopiframe.aspx was loaded. |
WOPICheckFile,WACSERVER | Host Status Code: Unauthorized | Host Error Info:
SyncUPA
Cause:
http://support.microsoft.com/kb/2908321
This issue can occur if the User Profile Application (UPA) is out of sync.
If a user profile and the relevant group memberships for the user are not
synchronized, SharePoint Server 2013 may incorrectly deny access to a given
resource.
Resolution:
- Delete the user from the User Profile database in SharePoint Central Administration
- SharePoint Central Administration
- Application Management
- Manage Service Applications
- User Profile Synchronization Service
- Manage User Profiles
- Search for user
- Go to top level site collection with admin privileges
- Open the page https://siteurl/_layouts/people.aspx?MembershipGroupId=0 (all users in the site collection)
- Find your user, right click the name, and copy shortcut (url to the user's profile page)
- Paste the shortcut into the browser address field and append to it (don't press Enter yet): append Force=True (http://servername/_layouts/userdisp.aspx?ID=25&Force=True), press Enter
- Click on "Delete User from site collection" link on the toolbar
- From Central Administration, start a Full User Profile Synchronization. Wait until this finishes to continue.
- Check that the user now exists in the User Profile database
- SharePoint Central Administration
- Application Management
- Manage Service Applications
- User Profile Synchronization Service
- Manage User Profiles
- Search for user
- Add the same user back to the SharePoint group in the Site Collection
- Test