IDX20803:无法从以下位置获取配置:' [PII [英] IDX20803: Unable to obtain configuration from: '[PII

查看:1469
本文介绍了IDX20803:无法从以下位置获取配置:' [PII的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里遵循了一个教程,并且在本地运行时工作正常:

https://docs.microsoft.com/zh-cn/azure/active-directory/develop/GuidedSetups/active-directory-aspnetwebapp-v1#configure-your-webconfig-and-register-an-application

在我的服务器中传输它时,我遇到了此错误.

IDX20803:无法从以下位置获取配置:'[PII默认为隐藏.将IdentityModelEventSource.cs中的'ShowPII'标志设置为true以显示它.]'.
我错过了什么配置?预先感谢.

解决方案

类似的问题在GitHub上进行了讨论.




I followed a tutorial here and working fine when running in local: 

https://docs.microsoft.com/en-us/azure/active-directory/develop/GuidedSetups/active-directory-aspnetwebapp-v1#configure-your-webconfig-and-register-an-application

When I transfer it in our server, I encountered this error. 

IDX20803: Unable to obtain configuration from: '[PII is hidden by default. Set the 'ShowPII' flag in IdentityModelEventSource.cs to true to reveal it.]'.


What configuration did I miss? Thanks in advance. 

解决方案

As per the error, try setting the 'ShowPII' flag in IdentityModelEventSource.cs to true. Also refer similar issue discussed over GitHub.




这篇关于IDX20803:无法从以下位置获取配置:' [PII的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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