Domanda

Ho avuto un misite malfunzionante situato a http://mysite:8080, che ho cancellato. Ho creato una nuova app Web su http://portal:8080 con successo, la collezione MySiteHost Site con successo, configurazione del mySite in Applicazione del servizio Profilo utente correttamente, ha anche eseguito i tre lavori del timer MySite e anche il lavoro incrementale del timer di sincronizzazione incrementale.

Con il mio account amministratore sono riuscito a creare un mysite e guardare le mie proprietà. Aggiornamento Proprietà in AD, eseguendo il lavoro Increental Sync Timer e vedere la modifica sul mio mysite.

Ho impostato la proprietà dell'utente di SharePoint "Picture" su AD Property "Thumbnailphoto" (import solo) e caricare un'immagine in AD (utilizzando l'annuncio Modifica foto). Esecuzione del lavoro del timer incrementale (di nuovo) non dà il risultato in UPSA né sul MySite. Provo a eseguire il seguente comando PowerShell con User Sp_Farm:

Update-SPProfilePhotoStore -MySiteHostLocation http://portal:8080/
.

che dà la seguente eccezione (dispari) che punta al vecchio 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
.

Inserire l'immagine Descrizione qui

Perché ciò accade e come posso resiale?

È stato utile?

Soluzione

I would try Updating the User Profile via Powershell.

$ap = Get-SPServiceApplication –Name "User Profile Service Application"
Set-SPProfileServiceApplication –Identity $ap –MySiteHostLocation "http://portal:8080"

Also, have you tried restarting IIS/UPS?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top