您好,
我们要求为完全配置的SharePoint提供的托管应用程序添加其他功能。在Visual Studio中调试代码重新部署SP应用程序的 。这会更改应用程序URL,这意味着现有证书无效并会破坏系统。
请找到我们推荐的以下链接: -
social.msdn.microsoft/Forums/windowsserver/en-US/50de43c5-5c3e-41e4-a4fe-51500683482f/why-does-my-sharepoint-addins-id-change -every-time-it-it-from-visual-studio?forum = sharepointdevelopment
如果有人遵循上述流程,请指教。
请告诉我们您的建议,这可能是调试代码的最佳方法,而不会使证书无效。
问候,
Sudheer
谢谢和问候,Sudheer
解决方案
嗨Sudheer,
您是否为高可信赖的SharePoint加载项创建了自签名测试.pfx证书文件?尝试创建您的高信任度SharePoint提供商托管加载项,请遵循以下文章。
docs.microsoft/en-us/sharepoint/dev/sp-add-ins/create-high-trust -sharepoint-add-ins
或者在调试加载项时是否遇到以下错误?
"远程证书根据验证程序无效"
最好的问候,
Dennis
Hi,
We are having requirement to add additional functionality to a fully configured SharePoint provided hosted Application. Debugging the code in Visual Studio redeploys the SP app. This changes the app url, which means that existing certificate is invalid and breaks the system.
Please find the below links which we have referred:-
social.msdn.microsoft/Forums/windowsserver/en-US/50de43c5-5c3e-41e4-a4fe-51500683482f/why-does-my-sharepoint-addins-id-change-every-time-i-deploy-it-from-visual-studio?forum=sharepointdevelopment
Could you please advise if anyone has followed the above process.
Kindly let us know your suggestions which could the best approach to debug code without making certificates invalid .
Regards ,
Sudheer
Thanks & Regards, Sudheer
解决方案Hi Sudheer,
Did youcreate a self-signed test .pfx certificate file for your high-trust SharePoint Add-in? Try to create your high-trust SharePoint Provider Hosted add-in follow the article below.
docs.microsoft/en-us/sharepoint/dev/sp-add-ins/create-high-trust-sharepoint-add-ins
Or did you meet the following error when you debugging the add-in?
"The remote certificate is invalid according to the validation procedure"
Best Regards,
Dennis
更多推荐
SharePoint提供程序托管应用程序调试。
发布评论