This project has moved and is read-only. For the latest updates, please go here.

Use of UPN not supported

Mar 16, 2011 at 2:09 PM


The way that Managed Accounts is retrieved in the script, prohibits the use of UPN ( in the script.

I know that Sharepoint uses sAMAccountName (and ONLY sAMAccountName) internally, but it would be cool i we could use UPN in the script :-)


Mar 19, 2011 at 2:49 AM

Hehe well you sort of answered your own question (not a script limitation, a SharePoint one)... So, I guess what you're proposing is something in the script that translates UPNs into DOMAIN\account ? Personally I don't think it's worth the effort - why not just look up (or request from the account creators) the sAMAccountNames in the first place?