调用 TP rom ValidationTechnicalProfile 时,自定义事件未记录在 AppInsights 中

问题描述

我已添加技术配置文件以在 AppInsights 中记录自定义事件,并从登录 TP 的 ValidationTechnicalProfile 部分调用技术配置文件,但日志未记录在 AppInsights 中。有人可以帮我解决这个问题吗?

用于登录 App Insights 的技术资料

   <TechnicalProfile Id="AppInsights-CustomSigninActiveCheck">
      <InputClaims>
        <InputClaim ClaimTypeReferenceId="EventType" PartnerClaimType="eventName" DefaultValue="IsActiveStatusCheck" />           
        <InputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="{property:objectId}" DefaultValue="Not Applicable" />
        <InputClaim ClaimTypeReferenceId="signInName" PartnerClaimType="{property:signInName}" DefaultValue="Not Applicable" />
        <InputClaim ClaimTypeReferenceId="isUserActive" />
      </InputClaims>
      <IncludeTechnicalProfile ReferenceId="AppInsights-Common" />
    </TechnicalProfile>

登录 TP 调用 TP

</OutputClaims>
          <ValidationTechnicalProfiles>      
              <ValidationTechnicalProfile ReferenceId="REST-CheckActiveStatus" />             
                <ValidationTechnicalProfile ReferenceId="AppInsights-CustomSigninActiveCheck">                
              </ValidationTechnicalProfile> 
              <ValidationTechnicalProfile ReferenceId="login-NonInteractive">              
              </ValidationTechnicalProfile>
          </ValidationTechnicalProfiles>
          <UseTechnicalProfileForSessionManagement ReferenceId="SM-AAD" />
      </TechnicalProfile>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)