在我的服务器中传输它时,我遇到了此错误. IDX20803:无法从以下位置获取配置:'[PII默认为隐藏.将IdentityModelEventSource.cs中的'ShowPII'标志设置为true以显示它.]'.我错过了什么配置?预先感谢. 解决方案 根据错误,尝试将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-applicationWhen 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 refersimilar issue discussed over GitHub. 这篇关于IDX20803:无法从以下位置获取配置:' [PII的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-02 12:05