diff --git a/examples/cpp/SampleCppUWP/Main.cpp b/examples/cpp/SampleCppUWP/Main.cpp index b00d72de..ecadd932 100644 --- a/examples/cpp/SampleCppUWP/Main.cpp +++ b/examples/cpp/SampleCppUWP/Main.cpp @@ -408,7 +408,6 @@ void run(ILogger* logger, int maxStressRuns) { logger->SetContext("TeamName", "PIE"); logger->SetContext("AppID", VER1 VER2 "-" __DATE__ " " __TIME__); // Set the semantic context. For example, an app will set this property after the user logs in. - logger->GetSemanticContext()->SetUserMsaId("BCCA864D-1386-4D5A-9570-B129F6DD42B7"); logger->SetContext("context.string.key", "boo"); long long_value = 12345L; diff --git a/examples/cs/SampleCsUWP/App.xaml.cs b/examples/cs/SampleCsUWP/App.xaml.cs index 249d49d7..bd612fd5 100644 --- a/examples/cs/SampleCsUWP/App.xaml.cs +++ b/examples/cs/SampleCsUWP/App.xaml.cs @@ -98,8 +98,6 @@ namespace SampleCsUWP Logger.SetContext("TeamName", "ARIA"); Logger.SetContext("AppID", "UAPCS"); - // Set the semantic context. For example, an app will set this property after the user logs in. - Logger.SemanticContext.UserMsaId = "BCCA864D-1386-4D5A-9570-B129F6DD42B7"; var missingProps = new EventProperties("SomeEventWithMissingProps"); missingProps.SetProperty("MyMissingProp", "12345"); diff --git a/lib/api/ContextFieldsProvider.cpp b/lib/api/ContextFieldsProvider.cpp index 1593526e..8589cf39 100644 --- a/lib/api/ContextFieldsProvider.cpp +++ b/lib/api/ContextFieldsProvider.cpp @@ -272,12 +272,6 @@ namespace MAT_NS_BEGIN record.extLoc[0].timezone = iter->second.as_string; } - iter = m_commonContextFields.find(COMMONFIELDS_USER_MSAID); - if (iter != m_commonContextFields.end()) - { - record.extDevice[0].authSecId = iter->second.as_string; - } - iter = m_commonContextFields.find(COMMONFIELDS_NETWORK_COST); if (iter != m_commonContextFields.end()) {