tag:blogger.com,1999:blog-9049032025342264339.post7215483264520328435..comments2024-03-29T10:44:10.455+03:00Comments on sadomovalex's blog: One problem with Set-SPUser cmdletAlexey Sadomovhttp://www.blogger.com/profile/18112105989691733410noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-9049032025342264339.post-54652629604850482442016-10-07T17:14:55.663+03:002016-10-07T17:14:55.663+03:00Excellent post! I was getting exactly the same iss...Excellent post! I was getting exactly the same issue and had no idea how to fix it. The trick worked like charms.Vijay Jaiswalhttps://www.blogger.com/profile/17696139993795353511noreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-45519628390434422452016-06-20T18:35:04.626+03:002016-06-20T18:35:04.626+03:00ok, asked just in case) as I didn't faced with...ok, asked just in case) as I didn't faced with this issue by myself just may suggest to continue googling about this problem and if you will find solution it would be great if you will share it hereAlexey Sadomovhttps://www.blogger.com/profile/18112105989691733410noreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-3532825500336248492016-06-20T13:40:40.566+03:002016-06-20T13:40:40.566+03:00Yes I am :)
Yes I am :) <br /><br /><br />Anonymoushttps://www.blogger.com/profile/06929873404228208264noreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-35128997745081279982016-06-20T13:01:46.576+03:002016-06-20T13:01:46.576+03:00and you sure that email is specified in AD for the...and you sure that email is specified in AD for the user which you try to update?Alexey Sadomovhttps://www.blogger.com/profile/18112105989691733410noreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-77007529041169872362016-06-20T12:56:30.882+03:002016-06-20T12:56:30.882+03:00Hello Alexey,
Manually updating user properties,...Hello Alexey, <br /><br />Manually updating user properties, like Email, is ok using your command below<br />--> Set-SPUser -Identity "i:0#.w|domain\username" -Web http://example.com -Email user@example.com<br /><br />But what if I want to change Email property from AD using the <br />-SyncFromAD ? <br /><br />ThanksAnonymoushttps://www.blogger.com/profile/06929873404228208264noreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-91842332165571666962016-06-20T12:49:24.916+03:002016-06-20T12:49:24.916+03:00Franck,
can it be so that in your case you need to...Franck,<br />can it be so that in your case you need to use user name in "domain\username" (not claims) formatAlexey Sadomovhttps://www.blogger.com/profile/18112105989691733410noreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-15750214900547276462016-06-17T16:02:06.484+03:002016-06-17T16:02:06.484+03:00Hi,
what about if I want to sync Email with AD ? ...Hi,<br /><br />what about if I want to sync Email with AD ? <br /><br />Set-SPUser -Identity "i:0#.w|domain\username" -Web http://example.com -SyncFromAD<br /><br /><br />Set-SPUser : Cannot get the full name or e-mail address of user "i:0#.w|XXX\XXX".<br />Anonymoushttps://www.blogger.com/profile/06929873404228208264noreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-41128371443171758822016-01-25T12:15:49.279+03:002016-01-25T12:15:49.279+03:00This solved my problem! Thanks!
(also applies for ...This solved my problem! Thanks!<br />(also applies for the Get-SPUser cmdlet)Unknownhttps://www.blogger.com/profile/05321213431066875388noreply@blogger.com