使用SharePoint O356的Infopath 2013 - InfoPath在访问REST WEB SERVICE时反复询问用户名和密码作为接收数据 [英] Infopath 2013 with SharePoint O356 - InfoPath is asking for user name and password again and again in accessing REST WEB SERVICE as receive data

查看:94
本文介绍了使用SharePoint O356的Infopath 2013 - InfoPath在访问REST WEB SERVICE时反复询问用户名和密码作为接收数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们正在使用在SharePoint 0365站点上发布的InfoPath 2013.


在此InfoPath中,我们添加了SharePoint REST端点以获取当前用户。


添加了终点:https:\\site-address \sites \SiteName \ _api \web \currentuser。


我们正在加载此数据表单打开时接收当前用户详细信息的连接。


我们在Windows 7计算机上没有遇到任何问题。当Infopath开通时,我们不会要求任何凭证。


但是在某些Windows 10机器中,我们正在获取上面发布的屏幕。即使在输入当前凭证次数后,我们也无法获得此REST端点的当前用户信息。  


我们收到以下错误:


 在这方面你能帮助我吗?


为什么InfoPath只在某些PC上反复询问凭证?





 



解决方案

您好Nibin,


针对您的问题,请将您的网站添加到IE可信站点并启用"使用当前用户名和密码自动登录";如下:


1。在Internet Explorer中,选择工具> Internet选项。

2.在"安全"选项卡上,选择"可信站点"。

3.单击"站点"按钮。

4.在"可信任"中"站点"对话框,输入SharePoint服务器的地址。

5.单击"添加",然后单击"关闭"。

6.在"安全"选项卡中,单击"自定义级别"。
7.在用户验证下,选择使用当前用户名和密码自动登录。



更多信息,您可以参考:


https://support.colligo.com/support/solutions/articles/16000009314-why-am-i-prompted-for-my -credentials-when-access-an-infopath-form-library-


谢谢,


Wendy


We are using InfoPath 2013 published on SharePoint 0365 site.

In this InfoPath, we have added SharePoint REST endpoint for getting the current user.

End Point added: https:\\site-address\sites\SiteName\_api\web\currentuser.

We are loading this data connection to receive the current user details while the form is opening.

We are not facing any problem in Windows 7 machine. We are not asking for any credentials when the Infopath is opening.

But in some Windows 10 machine, we are getting the screen posted above. Even after entering current credentials number of times, we are not getting current user information with this REST endpoint.  

We are getting the below error:

 Can you please help me in this regard?

Why is InfoPath asking for credentials again and again in only some PCs?


 

解决方案

Hi Nibin,

For your issue, please add your site into IE Trusted Sites and enable "Automatic logon with current user name and password" as the followings:

1. In Internet Explorer, select Tools > Internet Options.
2. On the Security tab, select Trusted Sites.
3. Click the Sites button.
4. In the Trusted Sites dialog, enter the address of your SharePoint server.
5. Click Add and then Close.
6. In the Security tab, click Custom level.
7. Under User Authentication, select Automatic logon with current user name and password.

More information, you can refer to it:

https://support.colligo.com/support/solutions/articles/16000009314-why-am-i-prompted-for-my-credentials-when-accessing-an-infopath-form-library-

Thanks,

Wendy


这篇关于使用SharePoint O356的Infopath 2013 - InfoPath在访问REST WEB SERVICE时反复询问用户名和密码作为接收数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆