====== Enable Office 365 Two Factor Authentication ======
===== Reference =====
* https://www.microsoft.com/zh-cn/account/authenticator
* https://support.microsoft.com/zh-cn/office/%E5%B0%86-microsoft-%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81%E4%B8%8E-microsoft-365-%E9%85%8D%E5%90%88%E4%BD%BF%E7%94%A8-1412611f-ad8d-43ab-807c-7965e5155411#ID0EAAEAAA=_%E6%AD%A5%E9%AA%A4_1
* [[https://jdhao.github.io/2019/05/04/mi9_google_play_configure/|MiUI OS install GMS]]
===== Step by Step =====
* Download and install 'Microsoft Authenticator' on your mobile phone at https://www.microsoft.com/zh-cn/account/authenticator
* Login your Office 365
* click [View Account] on top-right
* choose [Security Info] on the left menu bar
* there is a list of your authentication methods
* check if 'Microsoft Authenticator' is listed, if not, click [Add method]
{{:course:office_365:enable_two_factor_authentication:screenshot_2020-09-19_at_7.49.57_pm.png?400|}}
* choose 'Authenticator app'
{{:course:office_365:enable_two_factor_authentication:screenshot_2020-09-19_at_7.46.58_pm.png?400|}}
* click next a few times until you see the QR code
* scan with the microsoft authenitcator app and then click next
* it will then ask you to 'approve' it on your mobile phone
{{:course:office_365:enable_two_factor_authentication:screenshot_2020-09-19_at_7.48.34_pm.png?400|}}
* check your mobile phone and approve it
{{:course:office_365:enable_two_factor_authentication:screenshot_2020-09-19_at_7.48.58_pm.png?400|}}
* there should be 'microsoft authenticator' in the list
{{:course:office_365:enable_two_factor_authentication:screenshot_2020-09-19_at_7.49.57_pm.png?400|}}
* Click the [change] button to change the 'default sign-in method' to 'Microsoft authenticator'
{{:course:office_365:enable_two_factor_authentication:screenshot_2020-09-19_at_7.50.51_pm.png?400|}}
* Then try logout and login again, after you enter the password, it should ask you to approve it on your mobile phone
===== Troubleshooting =====
如何使用microsoft authenitcator app?
* 从具有GMS(Google mobile service)的手机或者iOS应用商店中下载microsoft authenitcator app并使用“工作或学校账户”选项扫描QR code。
如何为没有GMS的Android手机安装GMS?
* 从系统应用商店或“豌豆荚”App下载GMS安装器App如:“谷歌安装器”、“谷歌框架安装器”等App。
* 安装GMS并重新启动手机。
* 打开VPN并确保全局的App可访问外网。
* 打开Google play并下载microsoft authenitcator app即可。
打开Google play后卡在“核对信息”界面超过五分钟怎么办?
* 进入“设置”-“应用程序管理”找到GMS相关软件并清除缓存、数据等。
* 重启手机并打开VPN确保全局的App可访问外网。
* 打开Google play并下载microsoft authenitcator app。