通过 Dynamics 365 Sales 在 HAP 工作流中查询、新增、更新和删除销售客户(Account)、联系人、潜在客户和商机记录。适用于同步 CRM 客户资料、将业务线索写入销售系统,以及在工作流中跟进商机。
预置 API
对接说明
Dynamics 365 Sales is Microsoft's AI-powered CRM for sales teams, helping organizations manage leads, opportunities, forecasts, customer interactions, and sales productivity across Dynamics 365 and Microsoft 365.
Official Website:https://www.microsoft.com/en-us/dynamics-365/products/sales
API Documents:https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/about?view=dataverse-latest
Web API Documents:https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/overview
1. In the Microsoft Entra admin center, go to Entra ID > App registrations, select New registration, and create an app registration for the Dynamics 365 Sales integration.

2. After registration, open the app Overview page and copy the Application (client) ID and Directory (tenant) ID.

3. Open Certificates & secrets, create a new client secret, and copy the client secret value before leaving the page.

4. Add the redirect URI. Copy the authorization callback URL from this connection and paste it here

5. API permission

6. In the Power Platform admin center, open the target environment, then go to Settings > Users + permissions > Application users to create an application user for the registered app and assign the required security role.

7. Open the target Power Apps environment's Developer resources page and copy the Dataverse Web API endpoint or organization URL.

Finally, fill in the corresponding parameters in the connection settings with the parameter information required to call the API.