Troubleshooting Access Denied Errors for Microsoft File Share Graph Connector on GCC High
Asked by
DRAINAGE DISTRICT
Hey everyone, I've been grappling with an issue for about a week and could use your help. I'm trying to set up the Microsoft File Share Graph Connector for M365 Copilot on my GCC High tenant. The connector appears to be published and shows as ready in the portal, plus the GCA agent health check passes, and all the endpoints are reachable. It can even detect the files in the test folder. However, it never indexes them and keeps throwing an "access is denied" error. I've verified that the user account has access to the files, and I've even tried setting 'everyone' permissions on the test files. According to the Microsoft setup guide, I only need to change the CloudInstanceUrl in the appsettings.json to use the correct endpoint. However, I noticed references to commercial endpoints in the HostConfig file, so I tried adding the GCC High endpoints (like gcs.office365.us, graph.microsoft.us, graph.microsoft.com, and login.microsoftonline.us), but I'm still stuck. I could really use some insights here.
Answers
Also, check the registry at HKEY_LOCAL_MACHINESOFTWAREMicrosoftGraph Connector Agent. There could be indications that it's connecting to a .com endpoint instead of a .us one. If everything looks right and you still have issues, it might be that something isn't installing correctly. I had a similar experience where the GcaHostService seemed fine, but it didn't log anything. Manually running it from the directory made the logs start updating. Make sure that HostApp also includes the .us endpoints.
Reply to this answer
One thing to double-check is whether your connector is trying to connect using commercial endpoints instead of the necessary `.us` ones for GCC High environments. For example, make sure it uses URLs like graph.microsoft.us and login.microsoftonline.us. If the Microsoft Graph Connector agent was initially installed with commercial settings, it might still be trying to authenticate via the incorrect tenant endpoints. Verify the HostConfig and service logs under the GraphConnectorAgent directory to see which endpoints it's hitting.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions