locked
Single Org CRM 4.0 Deployments - What is the ORG name? RRS feed

  • Question

  •  

    Hi,

     I've ported an existing CRM 3.0 call-out assembly to a the CRM 4.0 plug-in framework in order to support multi-tenancy.

    My question is what do customers with single tenancy CRM 4.0 deployments specify as the CRM organization name when they configure the integration?

     

    Do I need to populate the CrmAuthenticatonToken.OrganizationName field for single org deployments?

     

     

    oCredentialCache.Add(New Uri(CRMServer()), "NTLM", oCredentials)

    MSCRMservice.Url = CRMWebServiceURI("crmservice.asmx")

    Dim token As CrmService40.CrmAuthenticationToken = New CrmService40.CrmAuthenticationToken()

    token.AuthenticationType = 0 'AuthenticationType =Specifies Active Directory authentication

    token.OrganizationName = MainModule.CRMOrganization()

    MSCRMservice.CrmAuthenticationTokenValue = token

    MSCRMservice.Credentials = oCredentialCache

    MSCRMservice.PreAuthenticate = True

     

    Thanks,

     

    Tuesday, February 5, 2008 8:41 PM

Answers

  • My understanding is that the OrganizationName is still required, and even if it weren't I'd recommend putting in a vaue to future-proof your code

    Tuesday, February 5, 2008 10:31 PM
    Moderator

All replies

  • My understanding is that the OrganizationName is still required, and even if it weren't I'd recommend putting in a vaue to future-proof your code

    Tuesday, February 5, 2008 10:31 PM
    Moderator
  •  

    If you want add this manually, you can find the org.name in organizationbase table in crm database.
    Wednesday, February 6, 2008 3:34 PM