在sharepoint 2013中,我必須通過腳本使用sharepoint活動目錄創建用戶配置文件同步連接。我已經使用PowerShell創建了用戶配置文件服務,之後有什麼方法可以在「配置同步設置」中選擇選項以在「同步選項」中選擇「使用SharePoint Active Directory」。之後,我必須使用腳本創建同步連接。Powershell腳本:使用Sharepoint活動目錄創建用戶配置文件同步服務
我對2010的SharePoint劇本,但我便無法找到的SharePoint 2013腳本如果有人試圖在此之前,請幫我出
謝謝
感謝選擇該選項工作正常..但之後,這是我的代碼用於創建連接
我不能創建一個連接外接SPProfileSyncConnection -ProfileServiceApplication 53eb09e7-4269-4e88-9109-ea29f603043a
-ConnectionForestName 「abcde.com」
-ConnectionDomain 「ABCDE」
-ConnectionUserName 「用戶名」
-ConnectionPassword 「密碼」 -AsPlainText -force
-ConnectionSynchronizationOU「OU = abc,DC = abcde,DC = com「
此腳本給出以下錯誤
Add-SPProfileSyncConnection:無法訪問代理。請確認 代理正在運行。 在線:1 char:1 + Add-SPProfileSyncConnection + ~~~~~~~~~~~~~~~~ .Offic ... eSyncConnection: SPCmdletAddProfileSyncConnection)[Add-SPProfileSyncConnection],參數 xception + FullyQualifiedErrorId:Microsoft.Office.Server.UserProfiles.PowerShell。 SPCmdletAddProfileSyncConnection
for -ConnectionSynchronizationOU我給了正確的參數?你能幫助我嗎?