Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
349 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Values from SSO can be read through calling .Net helper classes in Biztalk.
but writing values to SSO through Biztalk (.Net helper Classes) is never found.
As per my answer on StackOverflow
What you need is a method to call ISSOConfigStore.SetConfigInfo(String, String, IPropertyBag) Method added to the helper class for SSO
And then a link in the comments to old MSDN/TechNet forum where the OP shared a bit of code
method snippet for writing to SSO:
public static void Write(string appName, string propName, string propValue)
{
try
{
ISSOConfigStore configStore = (ISSOConfigStore)new SSOConfigStore();
ConfigurationPropertyBag appMgmtBag = new ConfigurationPropertyBag();
object tempProp = propValue;
try
{
appMgmtBag.Remove(propName);
}
catch { }
appMgmtBag.Write(propName, ref tempProp);
configStore.SetConfigInfo(appName, idenifierGUID, (IPropertyBag)appMgmtBag);
}
catch (Exception e)
{
System.Diagnostics.Trace.WriteLine(e.Message);
throw;
}
}