我正在尝试让新的SSO functionality在Outlook加载项中工作,但getAccessTokenAsync
会返回以下错误:
Code: 5001
Message: An internal error has occurred.
Name: Internal Error
清单如下:
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
...
<WebApplicationInfo>
<Id>{App-ID}</Id>
<Resource>api://myDomain.com/OutlookAddIn/Home.html/{App-ID}<Resource>
<Scopes>
<Scope>openid</Scope>
<Scope>offline_access</Scope>
<Scope>files.read.all</Scope>
</Scopes>
</WebApplicationInfo>
</VersionOverrides>
我目前正在使用Office版本1708.任何想法?它甚至可以用于Outlook吗?
PowerPoint示例(Office-Add-in-ASPNET-SSO)正在为我工作。