2017-10-27
重置 Outlook 的设置

作为间歇性强迫症患者,一直无法忍受我的 Outlook 软件里有一个“RSS Feeds” 目录还有一个“RSS Feeds1”目录,后者不知道是怎么产生的,翻遍了所有 Outlook 设置也没有找到地方能够删除那个多余的目录,直到有一天又忍受不了,开始了无尽 Google 搜索,终于让我搜到了解决方法:重置 Outlook! 在 Windows 系统下找到 Outlook.exe,打开一个命令行,然后以一个参数运行 Outlook:Outlook.exe /resetfoldernames。搞定!Windows 下的 Outlook 没问题了,然后Mac 下的 Outlook也同步解决问题了。哈哈~

阅读此文

2017-03-11
找到 Office 365 的 Tenant ID

做一个公司内部用的小系统,希望使用者可以直接使用他们自己的 Office 365 帐号登录(感谢公司使用 Office 365)。在设置OpenID Connect 的时候,需要用到我们公司 Office 365 的 Tenant ID,怎么才能得到呢?我并不是公司内 Office 365 的管理员。所以最好通过其它途径获得。而这个官方文档里说明了我们可以通过 Powershell 来得到。

Use Windows PowerShell

You can use Windows PowerShell to find the tenant ID. You’ll need the Microsoft Azure PowerShell module.

Open a Microsoft Azure PowerShell command window and run the following script, entering your Office 365 credentials when prompted.

Login-AzureRmAccount

Your tenant ID is listed in the output.

阅读此文