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)
This is what I get when I tried to use
Office.context.auth.getAccessTokenAsync(function (result) {
After overriding everything inside <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
problem has solved.
<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>