如何避免将Login.microsoft.com重定向到live.com登录Azure活动目录 [英] How to avoid redirect login.microsoft.com to live.com sign in azure active dirctory

查看:85
本文介绍了如何避免将Login.microsoft.com重定向到live.com登录Azure活动目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的情况是:

我们有一个使用Microsoft azure AD验证用户身份的应用程序. 他们都只使用组织 帐户.

we have an application use Microsoft azure AD to authenticate our users. all of them use only organizational account.

问题:

登录请求后,几秒钟后,我们进入登录页面( login.microsoft.com ) 我们还自动将其重定向到 live.com ...

After the login request, we arrive into login page(login.microsoft.com), after few seconds we also redirected automaticaly into live.com...

我们如何强制只使用组织帐户,而不强制使用Microsoft Live帐户,或者如何避免重定向到live.com ...

how we can force to use only organizational account,but not microsoft live account or how we can avoid to redirect to live.com...

推荐答案

为了将登录名限制为仅基于Azure Active Directory的组织帐户,您可以将以下内容作为查询参数传递:

In order to restrict logins to only Azure Active Directory based organizational accounts you can pass the following as a query parameter:

msafed = 0

msafed=0

如果您使用的是ADAL,则可以使用extraQueryParameters参数传递此参数.

If you are using ADAL you can pass this using the extraQueryParameters argument.

这篇关于如何避免将Login.microsoft.com重定向到live.com登录Azure活动目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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