【发布时间】:2020-08-11 03:23:16
【问题描述】:
我正在尝试向 OneDrive 执行文件传输自动化。为此,我需要从 Microsoft_AAD_RegisteredApps 生成访问令牌和刷新令牌。但是,我成功完成了前面的所有步骤。
以下是我的 POST 请求
POST /common/oauth2/v2.0/token HTTP/1.1
Host: login.microsoftonline.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 119
grant_type=authorization_code&client_id=XXXXXXXXXXXXXXXXXXXXX&code=XXXXXXXXXXXXXXXX
```.
client_id -> Client ID generated from the APP
code -> Code generated by the below url
Unfortunately I'm getting 404 always as response. May I know what is missing my code or I miss any certification or license. Anyway please help me to find out the issue
【问题讨论】:
标签: azure-active-directory onedrive