outlook-web-16.01.js:13 Uncaught TypeError: Cannot read property 'Version' of null
at Object.callback (outlook-web-16.01.js:formatted:4686)
at rt (outlook-web-16.01.js:formatted:4272)
这是我尝试使用时得到的结果
Office.context.auth.getAccessTokenAsync(function (result) {
覆盖里面的所有内容之后<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
问题已经解决了。
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
...
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
...
<WebApplicationInfo>
<Id>9b096de7-56af-4b5c-bab5-360fcdf1b2e2</Id>
<Resource>api://localhost:44349/9b096de7-56af-4b5c-bab5-360fcdf1b2e2</Resource>
<Scopes>
<Scope>user.read</Scope>
<Scope>files.read</Scope>
<Scope>profile</Scope>
</Scopes>
</WebApplicationInfo>
</VersionOverrides>
</VersionOverrides>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)