Get ADFS Token in Powershell

前端 未结 3 1575
孤独总比滥情好
孤独总比滥情好 2021-02-19 05:30

We have an ADFS 2.0 Environment that is used to federate our Active Directory domain with Office 365.

Recently we had an issue where the cluster stopped responding whic

3条回答
  •  情书的邮戳
    2021-02-19 06:09

    Essentially, you use the WSTrustChannelFactory, create a channel, and pass it a RequestSecurityToken.

    Leandro has a nice, concise sample

    You'll need to install Windows Identity Foundation (WIF) if you aren't using .NET 4.5.

提交回复
热议问题