WinRT CRM Sdk - How get adfs saml token with kerberos authentication RRS feed

  • Question

  • I´m developing a winrt App with winrt CRM SDK (blogs.msdn.com/b/crm/archive/2012/11/02/building-clients-for-windows-phone-and-windows-8-rt.aspx ).

    I can get saml token from adfs with user and password authentication using WSTrustChannelFactory class.
    // set up the ws-trust channel factory
        var factory = new WSTrustChannelFactory(

            new UserNameWSTrustBinding());

        factory.TrustVersion = TrustVersion.WSTrust13;

        factory.Credentials.UserName.UserName = “bob”;

        factory.Credentials.UserName.Password = “abc!123″;

        // create token request

        var rst = new RequestSecurityToken


            RequestType = RequestTypes.Issue,

            KeyType = KeyTypes.Symmetric,

            AppliesTo = new EndpointReference(_serviceAddress.AbsoluteUri)


        // request token and return

        return factory.CreateChannel().Issue(rst);

    I don´t know how I can get adfs saml token  with kerberos authentication. I dont´t have class KerberosWSTrustBinding with winrt Apps.

    I would really appreciate any help.

    Best regards

    Thursday, August 28, 2014 8:50 PM