SharePoint 2013-使用Invoke-webrequest通过ADFS身份验证为SharePoint网站创建热身脚本 [英] SharePoint 2013 - Create Warm Up Script for SharePoint site with ADFS authentication using Invoke-webrequest

查看:80
本文介绍了SharePoint 2013-使用Invoke-webrequest通过ADFS身份验证为SharePoint网站创建热身脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SharePoint environment is recently configured with ADFS for single sign on & we need to create Warm Up script using Invoke-webrequest method in powershell.

我必须传递cookie进行身份验证,并管理该会话中的所有cookie并通过SharePoint网站进行身份验证

I have to pass cookies for authentication and with that manage all cookies in that session and get authenticated to the SharePoint site

如何处理这些身份验证

How to handle these authentication

1)../trust/authenticate.aspx?ReturnURl = .../15/authenticate.aspx

1) ../trust/authenticate.aspx?ReturnURl =.../15/authenticate.aspx

2)federation/login.cgi& .../auth.cgi

2) federation/login.cgi & .../auth.cgi

3)sharepoint/sites/default.aspx

3) sharepoint/sites/default.aspx

在此先感谢!!

Thanks in Advance!!!

Vijaivel

推荐答案

以下文章供您参考:

调用ADFSSecu rityTokenReques t

https://gallery.technet.microsoft.com/scriptcenter/Invoke-ADFSSecurityTokenReq-09e9c90c

使用PowerShell请求ADFS安全令牌

https://blogs.msdn. microsoft.com/besidethepoint/2012/10/17/request-adfs-security-token-with-powershell/

以编程方式使用具有基于声明的身份验证和ADFS的Web服务

https: //blog.portiva.nl/2014/12/04/以编程方式使用基于声明的身份验证消费网络服务/

最好的问候,

Dennis

Dennis


这篇关于SharePoint 2013-使用Invoke-webrequest通过ADFS身份验证为SharePoint网站创建热身脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆