先決條件
- 開啟 Azure Portal 並完成登入驗證。在左側窗格中選取 Azure Active Directory。
- 在右側窗格中選取 App registrations,然後按一下 New registration。

- 填寫必要欄位:
- a. 指定名稱。
- b. 選取 Accounts in this organizational directory only (ABBYY only - Single tenant)。
- c. 為每個應能使用此帳戶進行驗證的 Vantage URL 指定一個 URI:
https://<your-vantage-url>/auth2/signin-oidc

- 按一下 Register。
設定
- 在應用程式的 Overview 頁面中,記下 Application ID URI 和 Directory (tenant) ID 的值,然後按一下 Redirect URIs 的值。

- 選取 Access tokens 和 ID tokens,然後按一下 Save。

後續步驟
- 步驟 1 中取得的 Application (Client) Id。
- 以下格式的 Azure Active Directory URL:
https://login.microsoftonline.com/<Directory (tenant) ID>。
