Logon to SharePoint using AD and a custom email address with the UPN#

Yesterday we received a very useful tip from someone during a intake about logon with AD users on a SharePoint site, but with a custom email address.

For a lot of out extranet users (project spaces, team spaces, team sites) we use domain specified logon names (domain\username). The users are non employees and therefore they get another login account to remember.

To avoid the domain name, you can also use the UPN name (user principle name) of the user to login into SharePoint, for example: username@domain.com.

Again this is the email address with the domain name in it, which is not very user friendly for the user. Ideal situation is when the user can use its own email address to logon!

To achieve this, you can set the UPN name programmatically, and also with your external user's custom email address. To test this I used a script from 'The Scripting Guy'. After adjusting the script a bit and after testing it, the UPN name was set to my custom email address! Using this email address I can login to the SharePoint environment.

upn 

I noticed that it is possible to set the same email address to multiple user accounts which is not recommended of course (the AD gets confused a bit).

Anyway, great tip from the guy at the intake! :)

Wednesday, September 10, 2008 5:11:24 AM UTC #    Comments [4]  | 

 

Wednesday, September 10, 2008 7:34:50 AM UTC
The non-scripting way to achieve this is by adding extra UPN suffixes in the AD (see http://technet.microsoft.com/en-us/library/cc756018.aspx). When using scripting it's probably best to add the new UPN suffix to the AD too (see the last link for the LDAP path), see also the discussion here: http://www.mail-archive.com/activedir@mail.activedir.org/msg14343.html
Wednesday, September 10, 2008 12:30:58 PM UTC
So this is a way to map an external email address to an internal domain based login? Am I understanding that right?

-Kristofer
Thursday, September 11, 2008 4:54:10 AM UTC
Yes basically it is. You connect the external email address to the domain user. The user can logon with his own email address and underneath the domain account is used.
Thursday, December 04, 2008 7:05:42 PM UTC
Hey,

i'm the guy from the intake!
Marc
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview
All content © 2010, Mart Muller
On this page
This site
Calendar
<July 2010>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Archives
Sitemap
Disclaimer

Powered by: newtelligence dasBlog 1.9.7174.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts