使用Azure AD注销问题SharePoint 2010 SSO? [英] Sign out problem SharePoint 2010 SSO using Azure AD?

查看:92
本文介绍了使用Azure AD注销问题SharePoint 2010 SSO?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我认为这个问题非常有名,并且有多个解决方案可用于注销,但都需要自定义开发。


问题:


我在Azure AD中使用SAML启用了SSO,但是当我尝试注销时,它会重定向到主页。我必须将此重定向到登录页面。  


我尝试过此脚本但无法设置此脚本,因为SharePoint 2010没有ProviderSignOutUri设置选项:

  $ sts = Get-SPTrustedIdentityTokenIssuer AzureAD 
$ sts.ProviderSignOutUri =
$ sts.Update()


您推荐的任何解决方案都没有自定义代码?


谢谢


Sabeeh




Microsoft合作伙伴公司的SharePoint开发人员/顾问

解决方案

嗨Sa bee,


作为一种解决方法,您可以尝试在IIS中创建重定向规则。


1.安装"URL Rewrite"模块。


https://www.iis.net/downloads/microsoft / url-rewrite


2.双击 "网址重写"并添加空白规则。


3.Requested URL :匹配模式     使用:通配符   模式:* _ layouts / SignOut.aspx


操作类型:重定向   重定向网址:输入您的登录页面网址   重定向类型:永久(301)



4.Do iisreset。


最好的问候,


Michael Han



Hi,

i think this issue very known and have multiple solutions available for signout but all requires custom development.

Problem:

I have enabled SSO using SAML with Azure AD but when i try to signout it redirects to home page. I have to redirect this to signin page.  

I have tried this script but unable to set this because SharePoint 2010 doesn't have ProviderSignOutUri set option:

$sts = Get-SPTrustedIdentityTokenIssuer AzureAD
$sts.ProviderSignOutUri = 
$sts.Update()

Any solution you recommend without custom code?

Thanks

Sabeeh


SharePoint Developer/Consultant at Microsoft Partner Firm

解决方案

Hi Sabee,

As a workaround, you could try to create a redirect rule in the IIS.

1.Install the the "URL Rewrite" module.

https://www.iis.net/downloads/microsoft/url-rewrite

2.Double click the "URL Rewrite" and add a blank rule.

3.Requested URL: Matches the Pattern     Using: Wildcards    Pattern:*_layouts/SignOut.aspx

Action Type: Redirect    Redirect URL: type your signin page url   Redirect Type: Permanent (301)

4.Do iisreset.

Best Regards,

Michael Han


这篇关于使用Azure AD注销问题SharePoint 2010 SSO?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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