码迷,mamicode.com
首页 > Web开发 > 详细

ADFS 2016 – Cannot add/update Relying Parties from the GUI from metadata files “Method not found”

时间:2019-01-19 21:09:40      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:com   rom   console   updating   oct   OLE   cannot   release   mes   


UPDATE: The following update is fixing this issue:

  • Cumulative Update for Windows 10 Version 1607 and Windows Server 2016: December 9, 2016 https://support.microsoft.com/en-us/kb/3201845

If you are currently using the October release of Windows Server 2016 (build: 10.0.14393 N/A Build 14393) you might experience a weird error message when you try to add a relying party trust or update a relying party trust with the metadata files. Whether it is from an HTTPs source or even a local XML files that you previously saved, you have the following message:

技术分享图片

It seems that adding or updating a relying party from the console currently does not work as expected. If you don‘t know what version of Windows you are running, you can run the command "systeminfo" in command prompt and look at the build line.

But no worry, you can still do the job thanks to our good old friend PowerShell.

Adding a relying party trust from an online metadata file:

1
Add-AdfsRelyingPartyTrust -Name "My App" -MetadataUrl "https://web.piaudonn.com/app/federationmetadata/2007-06/federationmetadata.xml"

Adding a relying party trust from a metadata saved on the your ADFS server:

1
Add-AdfsRelyingPartyTrust -Name "My App" -MetadataFile "C:\Temp\FederationMetadata.xml"

Updating the relying party trust from the metadata file already set on the properties of the trust:

1
Update-AdfsRelyingPartyTrust -TargetName "My App"

This will probably be fixed very soon!

 原网址:https://blogs.technet.microsoft.com/pie/2016/10/23/adfs-2016-cannot-addupdate-relying-party-from-the-gui-from-metadata-files/

ADFS 2016 – Cannot add/update Relying Parties from the GUI from metadata files “Method not found”

标签:com   rom   console   updating   oct   OLE   cannot   release   mes   

原文地址:https://www.cnblogs.com/hellohongfu/p/10293037.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!