AD Authentication on cloud

arediey ismail asked on March 30, 2015 04:09

Hello, i am trying to build intranet and authenticate users using their Windows account. I have successfully authenticate users in my local environment since my machine already connected to domain.

The problem that i am facing now is, when i uploaded to live server which is located on the cloud, the authentication does not work any more. The live server does not join any domain, which i believe is the reason.

Any suggestion on this? Thanks.

Correct Answer

Virgil Carroll answered on March 30, 2015 05:56

Yes you will need to work with your AD admin to get the correct domain credentials and connection information to connect, plus make sure port 389 is not blocked between the two systems for the AD connection to work.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Virgil Carroll answered on March 30, 2015 04:19

You would be correct with that. When you say your server is in the cloud, do you mean Azure? If so, you will need to do a couple of steps to get it working there. If in another service, let us know and we can try and provide some guidance.

0 votesVote for this answer Mark as a Correct answer

arediey ismail answered on March 30, 2015 04:53

Hi, it turned out that the live server was sitting on different network partition, not on the cloud. I am sorry for that. It is worth noting that i am not the admin for the Windows AD Server, hence i was unable to add CMSADProvider key to membership and CMSADRoleProvider to rolemanager section. The live server use Windows 7 ultimate.

Here's my web config for the connection string configuration.

<connectionStrings>
    <clear />
    <add name="CMSConnectionString" connectionString="Data Source=XX;Initial Catalog=Kentico8;Integrated Security=False;User ID=sa;Password=abc@12345;Connect Timeout=60" />
    <add name="CMSADConnectionString" connectionString="OU=xx,OU=xxx,OU=xxxx,DC=xx,DC=net" />
  </connectionStrings>
1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.