擅长:python、mysql、java
<p>此处不支持客户端凭据流。Dynamics 365 BC支持的身份验证方法仅包括以下两个基于官方文档的选项:</p>
<ul>
<li>基础认证</li>
<li>AAD认证</li>
</ul>
<p>如果希望使用不需要用户交互的方法调用D365 BC API,则应选择<a href="https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-develop-connect-apps#setting-up-basic-authentication" rel="nofollow noreferrer">Basis Authentication</a></p>
<p>具体步骤如下:</p>
<ol>
<li>要设置基本身份验证,请登录租户,然后在
搜索字段,输入用户,然后选择相关链接</李>
<li>选择要添加访问权限的用户,并在“用户卡”页面上,在
Web服务访问密钥字段,生成密钥</李>
<li>复制生成的密钥并将其用作用户名的密码</李>
</ol>
<p>然后你可以引用<a href="https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-develop-connect-apps#exploring-the-apis-with-postman-and-basic-authentication" rel="nofollow noreferrer">Exploring the APIs with Postman and basic authentication</a></p>