Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello Dan Lister,
I have use your "Active Directory Providers" on my project. When I go to the line of "create connection string which points to Azure Active Directory", I don't know how to create a connection string myself.
Here are the information I got from Azure Active Directory:
My account to log into portal.azure.com:
What should I put in connectionUsername, connectionPassword, and connectionstring?
<add name="MyMembershipConnectionString" connectionString="LDAP://somedomain.onmicrosoft.com/OUemail@example.com,OU=somedomain,DC=somedomain,DC=onmicrosoft,DC=com" />
When I run my website, it generate an error: Parser Error Message: Unable to establish secure connection with the server
So that my sample connection string is not correct. Do you have any suggestion?
You can encrypt the connectionstring section of a web.config file by using aspnetregiis.exe command line tool, so it is never stored as plain text. This file is located in the %systemroot%\Microsoft.NET\Framework\versionNumber folder and you can use with -pef option. Consider you have an application named as MyWebApp. You can encrypt the connectionStrings section of the Web.config file by using aspnetregiis.exe as follows :
aspnet_regiis.exe -pef "connectionStrings" "/MyWebApp"
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted