我已添加技术配置文件以在 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>