01 Dec 2022
Link to this post
We were previously using the Password connection with SharePoint Online; however, Microsoft is now preventing external password connections in favour of modern authentication (i.e. Client Secret). We recently switched to using Client Secret connections to SharePoint and have since found that each time we deploy our Visual Studio project to our web server TPC loses the SharePoint connection. If we go into the Administration settings and click the Test Connection button on the SharePoint - Connection Settings page it just spins forever. The only way we have found to fix this is by doing an IISRESET on the web server.
We have tried including an IISRESET in our deployment process but that doesn't seem to help. We can't figure out exactly when the SharePoint connection to TPC is lost.
Has anyone else had this issue and, if so, have you found a resolution?