Problem running Update-SPProfilePhotoStore
After doing a user profile migration (SharePoint 2007 to 2010), one of the post-migration steps is to update the user profile photos. The PowerShell script to do that is:
Update-SPProfilePhotoStore –MySiteHostLocation <url to my site host>
When I ran this (logged in as my SharePoint admin account) I got the following error:
The ULS log spits out:
According to TechNet, I should:
Verify that you meet the following minimum requirements: See Add-SPShellAdmin. You must also be a site collection administrator for the My Site host, and you must be a User Profile service application administrator with the Manage Profiles permission.
Well that was all set and I was still getting the error.
It seems the cmdlet uses the WCF service ProfilePropertyService.svc, so I gave my admin account full control in the Sharing section of the UPS application.
This got me further, but now I’m getting access denied for the my site host database.
So I add my admin account to the database containing my site host as db_owner, then re-run the cmdlet.
Success! All photos are being added to the my site host library User Photos.
- @eircare Waiting nearly 2 months for an address to be registered. How is that even possible? 2 months ago
- We dug into the drug company Martin Shkreli sold out to the Feds, and man is it ugly lnkd.in/dzrdgGW 2 months ago
- @oneplus I love the 3T. Can it charge from a regular charger if i do not have the fast-charger adapter with me? 2 months ago
- @IKEAIE Thanks for ruining Christmas. Promised to deliver today and no show. Staying in hotel for Christmas now. 4 months ago
- @AskCiti CAN SOMEONE PLEASE ANSWER THE PHONE!! I HAVE BEEN CALLING ALL DAY! 9 months ago
- June 2014
- March 2014
- December 2013
- August 2013
- April 2013
- February 2013
- November 2012
- September 2012
- August 2012
- March 2012
- February 2012
- June 2011
- April 2011
- March 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- March 2010
- February 2010
- December 2009
- November 2009
- October 2009