将应用程序洞察合并到sign up sign in策略中出错



我正在尝试将应用程序的见解整合到我的SUSI旅程中,如下所示:https://learn.microsoft.com/en-us/azure/active-directory-b2c/troubleshoot-with-application-insights

但我得到的错误是,JourneyInsights是userjourneybehaviors的无效子节点。下面是我所拥有的。我不能删除ScriptExecution标签,因为我需要它。

<UserJourneyBehaviors>
<ScriptExecution>Allow</ScriptExecution>
<JourneyInsights TelemetryEngine="ApplicationInsights" InstrumentationKey="key" DeveloperMode="false" ClientEnabled="false" ServerEnabled="true" TelemetryVersion="1.0.0" />
</UserJourneyBehaviors>

对我来说,当我把它们按其他顺序排列时(首先是JourneyInsights,然后是ScriptExecution):

<UserJourneyBehaviors>
<JourneyInsights TelemetryEngine="ApplicationInsights" InstrumentationKey="" DeveloperMode="true" ClientEnabled="true" ServerEnabled="true" TelemetryVersion="1.0.0" />
<ScriptExecution>Allow</ScriptExecution>
</UserJourneyBehaviors>