且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Azure AD注销问题SharePoint 2010 SSO?

更新时间:2023-02-14 22:52:56

嗨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