SharePoint混合-分类复制到在线 [英] SharePoint Hybrid - Taxonomy copy to online
问题描述
你好
我正在尝试将分类法组从SharePoint2013本地复制到SharePoint Online.我使用SID(农场管理员帐户)登录到SharePoint2013本地服务器,并且当以下命令提示输入ID时,我给出的登录ID是SharePoint 在线管理员.
I'm trying to copy the taxonomy group from SharePoint2013 on-prem to SharePoint online. I'm logging in to SharePoint2013 on-prem server using SID (Farm admin account) and when the below command prompts for the ID, I'm giving my login ID which is SharePoint admin on online.
Copy-SPTaxonomyGroups -LocalTermStoreName托管元数据服务应用程序" -LocalSiteUrl"http://xyz" -RemoteSiteUrl"https://companyname.sharepoint.com" -GroupNames测试"
Copy-SPTaxonomyGroups -LocalTermStoreName "Managed Metadata Service Application " -LocalSiteUrl "http://xyz" -RemoteSiteUrl "https://companyname.sharepoint.com" -GroupNames "test"
我在例外情况下奔跑.
分类法ID映射:请求(POST)时发生异常:https://login.microsoftonline.com/companyname.com/oauth2/token System.Net.WebException:远程服务器返回错误:(400)错误的请求.
位于System.Net.HttpWebRequest.GetResponse()
在Microsoft.SharePoint.Taxonomy.Internal.Hybrid.TaxonomyUserPrincipalNameMapper中.<> c__DisplayClass13.< Post> b__11()
at Microsoft.SharePoint.Taxonomy.Internal.Hybrid.TaxonomyUserPrincipalNameMapper.RunWithRetries [T](Int32 maxAttempts,操作代码ToRunWithRetries,Int32 sleepInterval)
at Microsoft.SharePoint.Taxonomy.Internal.Hybrid.TaxonomyUserPrincipalNameMapper.Post(Uri uri,Action`1 requestHandler,字符串数据)StackTrace:
at Microsoft.Office.Server.Native.dll :(偏移量= 21F8D)
Taxonomy id mapping: exception while request(POST): https://login.microsoftonline.com/companyname.com/oauth2/token System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.SharePoint.Taxonomy.Internal.Hybrid.TaxonomyUserPrincipalNameMapper.<>c__DisplayClass13.<Post>b__11()
at Microsoft.SharePoint.Taxonomy.Internal.Hybrid.TaxonomyUserPrincipalNameMapper.RunWithRetries[T](Int32 maxAttempts, Action codeToRunWithRetries, Int32 sleepInterval)
at Microsoft.SharePoint.Taxonomy.Internal.Hybrid.TaxonomyUserPrincipalNameMapper.Post(Uri uri, Action`1 requestHandler, String data) StackTrace:
at Microsoft.Office.Server.Native.dll: (sig=9afccfd8-248d-4fb9-a01a-c8bacd6f7473|2|microsoft.office.server.native.pdb, offset=135DA)
at Microsoft.Office.Server.Native.dll: (offset=21F8D)
请帮助.
推荐答案
混合选择器能否成功运行?
Was the Hybrid Picker successful in running?
这篇关于SharePoint混合-分类复制到在线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!