새 MySiteLocation의 Update-SPProfilePhotoStore가 삭제된 MySiteLocation에서 예외를 발생시킵니다.
-
10-12-2019 - |
문제
MySite가 제대로 작동하지 않습니다. http://mysite:8080
, 내가 삭제했습니다.나는 다음에서 새로운 웹앱을 만들었습니다. http://portal:8080
MySiteHost 사이트 모음이 성공적으로 완료되고 User Profile Service 응용 프로그램에서 mysite가 성공적으로 설정되었으며 3개의 MySite 타이머 작업과 증분 동기화 타이머 작업도 실행되었습니다.
내 관리자 계정을 사용하여 mysite를 만들고 내 속성을 살펴볼 수 있었습니다.AD에서 속성을 업데이트하고 증분 동기화 타이머 작업을 실행하고 내 사이트에서 변경 사항을 확인합니다.
SharePoint 사용자 속성 "그림"을 AD 속성 "thumbnailPhoto"(가져오기 전용)로 설정하고 이미지를 AD에 업로드했습니다(AD 사진 편집 사용).증분 타이머 작업을 다시 실행하면 UPSA나 mysite에서 결과가 나오지 않습니다.사용자 SP_Farm을 사용하여 다음 powershell 명령을 실행하려고 합니다.
Update-SPProfilePhotoStore -MySiteHostLocation http://portal:8080/
이전 mysitehost를 가리키는 다음과 같은 (이상한) 예외가 발생합니다.
Update-SPProfilePhotoStore : The Web application at http://mysite:8080/ could not be found. Verify that you have typed
the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new reques
t URL mapping to the intended application.
At line:1 char:1
+ Update-SPProfilePhotoStore -MySiteHostLocation http://portal:8080/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...ofilePhotoStore:SPCmdletUserProfilePhotoStore) [Update-S
PProfilePhotoStore], FileNotFoundException
+ FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.SPCmdletUserProfilePhotoStore
왜 그런 일이 발생하며, 어떻게 하면 이것을 다시 사랑할 수 있습니까?
해결책
Powershell을 통해 사용자 프로필 업데이트를 시도해 보겠습니다.
$ap = Get-SPServiceApplication –Name "User Profile Service Application"
Set-SPProfileServiceApplication –Identity $ap –MySiteHostLocation "http://portal:8080"
또한 IIS/UPS를 다시 시작해 보셨나요?
제휴하지 않습니다 sharepoint.stackexchange