Jus*_*tin 13 wso2 azure-active-directory multi-factor-authentication microsoft-graph-api
启用 MFA 后连接 Microsoft Azure AD 时,我遇到如下错误。在此之前它已连接。今天登录时,要求我在手机(Microsoft Authenticator APP)中启用此安全功能。除非添加此功能,否则我无法访问 Microsoft 365 中的 MS Outlook。
我正在使用WSO2 Outlook Connector与 Microsoft Graph API 建立连接
错误:
"error":"interaction_required","error_description":"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000002-0000-0ff1-ce00-000000000000
Run Code Online (Sandbox Code Playgroud)
可能的解决方案:
请改用交互式流程。
如果您使用交互式流程但仍然收到此错误,请确保 openid 是交互式登录期间的范围之一。您可能会在交互式登录并尝试将授权代码交换为访问令牌后收到错误...
https://login.microsoftonline.com/contoso.onmicrosoft.com/oauth2/authorize
?client_id=########-####-####-####-############
&response_type=code
&scope=openid groups.read.all
&nonce=1234
&redirect_uri=https://app.contoso.com
Run Code Online (Sandbox Code Playgroud)
请注意上面请求中的“ scope=openid groups.read.all”。
将客户端应用程序添加到条件访问策略的例外列表
将用户添加到条件访问策略的例外列表中
如果不使用条件访问策略并且直接为用户启用 MFA,那么作为最后的手段,如果上述解决方案(特别是解决方案 #1 和 #2)不适合您,请为用户禁用 MFA。
| 归档时间: |
|
| 查看次数: |
29126 次 |
| 最近记录: |